]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: apple: s8001: Add DWI backlight for J98a, J99a
authorNick Chan <towinchenmi@gmail.com>
Tue, 30 Dec 2025 18:30:42 +0000 (02:30 +0800)
committerSven Peter <sven@kernel.org>
Thu, 8 Jan 2026 20:10:21 +0000 (21:10 +0100)
iPad Pro (12.9-inch) uses DWI backlight, while the 9.7-inch model does not.
Add DWI backlight node for s8001 and enable it for J98a and J99a.

Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Link: https://patch.msgid.link/20251231-b4-j98a-j99a-dwi-bl-v1-1-24793c2b99fc@gmail.com
Signed-off-by: Sven Peter <sven@kernel.org>
arch/arm64/boot/dts/apple/s8001-j98a-j99a.dtsi
arch/arm64/boot/dts/apple/s8001.dtsi

index e66a4c1c138fe82dcdd652d4d56a8f4583f660cb..67633c56a7238983517b36ba319a704424be07c5 100644 (file)
@@ -9,6 +9,10 @@
  * Copyright (c) 2024, Nick Chan <towinchenmi@gmail.com>
  */
 
+&dwi_bl {
+       status = "okay";
+};
+
 &ps_dcs4 {
        apple,always-on; /* LPDDR4 interface */
 };
index b5b00dca6ffa4caa1d504860693da001a8ced80e..209c7dd19b7c289096e22b3c86a825c53d19a78f 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>;