]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: apple: t8010: Add backlight nodes
authorNick Chan <towinchenmi@gmail.com>
Fri, 28 Feb 2025 04:32:15 +0000 (12:32 +0800)
committerSven Peter <sven@svenpeter.dev>
Thu, 6 Mar 2025 19:54:28 +0000 (20:54 +0100)
Add DWI backlight controller nodes for Apple A10 SoC, and enable it for:

- iPhone 7
- iPhone 7 Plus
- iPod touch 7
- iPad 6
- iPad 7

Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Link: https://lore.kernel.org/r/20250228-dwi-dt-v2-4-69e450bc4bfb@gmail.com
Signed-off-by: Sven Peter <sven@svenpeter.dev>
arch/arm64/boot/dts/apple/t8010-common.dtsi
arch/arm64/boot/dts/apple/t8010.dtsi

index 6613fb57c92fffd41c34a61a78e7bb6b1888a5ea..44dc968638b13814baf94e782f2267191ce267f9 100644 (file)
        };
 };
 
+&dwi_bl {
+       status = "okay";
+};
+
 &serial0 {
        status = "okay";
 };
index b355d443ee476e7c98b352470e3b1b5d0fae7652..17e294bd7c44c7961cc3ba0ec5f4178840d5b9c6 100644 (file)
                        power-domains = <&ps_aic>;
                };
 
+               dwi_bl: backlight@20e200080 {
+                       compatible = "apple,t8010-dwi-bl", "apple,dwi-bl";
+                       reg = <0x2 0x0e200080 0x0 0x8>;
+                       power-domains = <&ps_dwi>;
+                       status = "disabled";
+               };
+
                pinctrl_ap: pinctrl@20f100000 {
                        compatible = "apple,t8010-pinctrl", "apple,pinctrl";
                        reg = <0x2 0x0f100000 0x0 0x100000>;