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

- iPhone 8
- iPhone 8 Plus

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

index b6505b5185bdd728a7416efaa3dd53d1c6a5fab9..0300ee1a2ffb7d2bd0558f6cb6f86514f4b433a4 100644 (file)
@@ -11,3 +11,7 @@
 / {
        chassis-type = "handset";
 };
+
+&dwi_bl {
+       status = "okay";
+};
index b68647bebd20782ba7a125e670b3264c184b62cd..4d54afcecd50b50ed1fd386ccfc46c373e190e6b 100644 (file)
                        reg = <0x2 0x32000000 0 0x8c000>;
                };
 
+               dwi_bl: backlight@232200080 {
+                       compatible = "apple,t8015-dwi-bl", "apple,dwi-bl";
+                       reg = <0x2 0x32200080 0x0 0x8>;
+                       power-domains = <&ps_dwi>;
+                       status = "disabled";
+               };
+
                pinctrl_ap: pinctrl@233100000 {
                        compatible = "apple,t8015-pinctrl", "apple,pinctrl";
                        reg = <0x2 0x33100000 0x0 0x1000>;