]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: apple: s800-0-3: Add backlight nodes
authorNick Chan <towinchenmi@gmail.com>
Fri, 28 Feb 2025 04:32:14 +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 A9 SoC, and enable it for:

- iPhone 6
- iPhone 6s
- iPhone SE
- iPad 5

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

index 4276bd890e81b16f19b04e1716a55f32f9a371d9..cb42c5f2c1b6caed4ae04ca0b6173e23bbda47f0 100644 (file)
        };
 };
 
+&dwi_bl {
+       status = "okay";
+};
+
 &serial0 {
        status = "okay";
 };
index 2aec49f0da6467519aeb2561d00b14f46fe216fb..c0e9ae45627c8150bc0ddcdc1e6ab65d52fa7219 100644 (file)
                        power-domains = <&ps_aic>;
                };
 
+               dwi_bl: backlight@20e200080 {
+                       compatible = "apple,s8000-dwi-bl", "apple,dwi-bl";
+                       reg = <0x2 0x0e200080 0x0 0x8>;
+                       power-domains = <&ps_dwi>;
+                       status = "disabled";
+               };
+
                pinctrl_ap: pinctrl@20f100000 {
                        compatible = "apple,s8000-pinctrl", "apple,pinctrl";
                        reg = <0x2 0x0f100000 0x0 0x100000>;