arm64: dts: apple: Add DWI backlight dt nodes
Subsystems (2)
v2 cover arm64: dts: apple: Add DWI backlight dt nodes
Add device tree nodes for DWI backlight found on some Apple iPhones, iPads and iPod touches. Not all devices have this feature, as some devices instead have their backlights directly connected to the WLED output of a PMU or use self-emissive panels.
Devicetree bindings are in the driver series. Last version at:
https://lore.kernel.org/asahi/[email protected]/
---
Changes in v2:
- Fix typo s/iPad touch 7/iPod touch 7/ in commit message.
- Pad "reg" property with a leading zero when needed
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Nick Chan (5):
arm64: dts: apple: s5l8960x: Add backlight nodes
arm64: dts: apple: t7000: Add backlight nodes
arm64: dts: apple: s800-0-3: Add backlight nodes
arm64: dts: apple: t8010: Add backlight nodes
arm64: dts: apple: t8015: Add backlight nodes
arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 4 ++++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 7 +++++++ arch/arm64/boot/dts/apple/s800-0-3-common.dtsi | 4 ++++ arch/arm64/boot/dts/apple/s800-0-3.dtsi | 7 +++++++ arch/arm64/boot/dts/apple/t7000-handheld.dtsi | 4 ++++ arch/arm64/boot/dts/apple/t7000.dtsi | 7 +++++++ arch/arm64/boot/dts/apple/t8010-common.dtsi | 4 ++++ arch/arm64/boot/dts/apple/t8010.dtsi | 7 +++++++ arch/arm64/boot/dts/apple/t8015-8.dtsi | 4 ++++ arch/arm64/boot/dts/apple/t8015.dtsi | 7 +++++++ 10 files changed, 55 insertions(+)
---
base-commit: 5744902a35798e516def50348356f867a6c1f1c7
change-id: 20250220-dwi-dt-c9c7af33bd16
Best regards,
Signature · 1 line
Nick Chan <[email protected]>
PATCH v2 1/5 arm64: dts: apple: s5l8960x: Add backlight nodes
Add DWI backlight controller nodes for Apple A7 SoC, and enable it for iPhone 5s.
--- arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 4 ++++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 7 +++++++ 2 files changed, 11 insertions(+)
arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi +4 -0
@@ -51,6 +51,10 @@ switch-mute { }; }; +&dwi_bl { + status = "okay"; +}; + &framebuffer0 { power-domains = <&ps_disp0 &ps_mipi_dsi>; };
arch/arm64/boot/dts/apple/s5l8960x.dtsi +7 -0
@@ -100,6 +100,13 @@ aic: interrupt-controller@20e100000 { power-domains = <&ps_aic>; }; + dwi_bl: backlight@20e200010 { + compatible = "apple,s5l8960x-dwi-bl", "apple,dwi-bl"; + reg = <0x2 0x0e200010 0x0 0x8>; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + pinctrl: pinctrl@20e300000 { compatible = "apple,s5l8960x-pinctrl", "apple,pinctrl"; reg = <0x2 0x0e300000 0x0 0x100000>;
Signature · 1 line
2.48.1
PATCH v2 2/5 arm64: dts: apple: t7000: Add backlight nodes
In reply to Nick ChanAdd DWI backlight controller nodes for Apple A8 SoC, and enable it for:
- iPhone 6
- iPhone 6 Plus
- iPad mini 4
- iPod touch 6
--- arch/arm64/boot/dts/apple/t7000-handheld.dtsi | 4 ++++ arch/arm64/boot/dts/apple/t7000.dtsi | 7 +++++++ 2 files changed, 11 insertions(+)
arch/arm64/boot/dts/apple/t7000-handheld.dtsi +4 -0
@@ -22,6 +22,10 @@ framebuffer0: framebuffer@0 { }; }; +&dwi_bl { + status = "okay"; +}; + &serial0 { status = "okay"; };
arch/arm64/boot/dts/apple/t7000.dtsi +7 -0
@@ -155,6 +155,13 @@ aic: interrupt-controller@20e100000 { power-domains = <&ps_aic>; }; + dwi_bl: backlight@20e200010 { + compatible = "apple,t7000-dwi-bl", "apple,dwi-bl"; + reg = <0x2 0x0e200010 0x0 0x8>; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + pinctrl: pinctrl@20e300000 { compatible = "apple,t7000-pinctrl", "apple,pinctrl"; reg = <0x2 0x0e300000 0x0 0x100000>;
Signature · 1 line
2.48.1
PATCH v2 3/5 arm64: dts: apple: s800-0-3: Add backlight nodes
In reply to Nick ChanAdd DWI backlight controller nodes for Apple A9 SoC, and enable it for:
- iPhone 6
- iPhone 6s
- iPhone SE
- iPad 5
--- arch/arm64/boot/dts/apple/s800-0-3-common.dtsi | 4 ++++ arch/arm64/boot/dts/apple/s800-0-3.dtsi | 7 +++++++ 2 files changed, 11 insertions(+)
arch/arm64/boot/dts/apple/s800-0-3-common.dtsi +4 -0
@@ -43,6 +43,10 @@ reserved-memory { }; }; +&dwi_bl { + status = "okay"; +}; + &serial0 { status = "okay"; };
arch/arm64/boot/dts/apple/s800-0-3.dtsi +7 -0
@@ -91,6 +91,13 @@ aic: interrupt-controller@20e100000 { 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>;
Signature · 1 line
2.48.1