Skip to content

Commit 591cf79

Browse files
asdfugilsvenpeter42
authored andcommitted
arm64: dts: apple: s8001: Add DWI backlight for J98a, J99a
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>
1 parent faf317d commit 591cf79

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

arch/arm64/boot/dts/apple/s8001-j98a-j99a.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
* Copyright (c) 2024, Nick Chan <towinchenmi@gmail.com>
1010
*/
1111

12+
&dwi_bl {
13+
status = "okay";
14+
};
15+
1216
&ps_dcs4 {
1317
apple,always-on; /* LPDDR4 interface */
1418
};

arch/arm64/boot/dts/apple/s8001.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,13 @@
209209
power-domains = <&ps_aic>;
210210
};
211211

212+
dwi_bl: backlight@20e200080 {
213+
compatible = "apple,s8000-dwi-bl", "apple,dwi-bl";
214+
reg = <0x2 0x0e200080 0x0 0x8>;
215+
power-domains = <&ps_dwi>;
216+
status = "disabled";
217+
};
218+
212219
pinctrl_ap: pinctrl@20f100000 {
213220
compatible = "apple,s8000-pinctrl", "apple,pinctrl";
214221
reg = <0x2 0x0f100000 0x0 0x100000>;

0 commit comments

Comments
 (0)