[PATCH 3/4] ARM: dts: imx: Add backlight for Kobo Clara 2e

Andreas Kemnade andreas at kemnade.info
Mon Nov 30 11:08:09 PST 2026


Describe the backlights for Kobo Clara 2e. The device has two backlights
with different color temperature.

Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
 .../dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi   | 34 ++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi
index 6f2deb366e029..6b60c94e21579 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6sll-kobo-clara2e-common.dtsi
@@ -53,6 +53,14 @@ memory at 80000000 {
 		reg = <0x80000000 0x20000000>;
 	};
 
+	reg_bl: regulator-backlight {
+		compatible = "regulator-fixed";
+		regulator-name = "bl_power";
+		gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>;
+		startup-delay-us = <20000>;
+		enable-active-high;
+	};
+
 	reg_wifi: regulator-wifi {
 		compatible = "regulator-fixed";
 		regulator-name = "SD3_SPWR";
@@ -80,7 +88,18 @@ &i2c1 {
 	clock-frequency = <100000>;
 	status = "okay";
 
-	/* backlight aw99703 at 0x36 */
+	backlight at 36 {
+		compatible = "awinic,aw99703";
+		reg = <0x36>;
+		vin-supply = <&reg_bl>;
+		enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
+		label = "cold";
+
+		awinic,ovp-microvolt = <24000000>;
+		awinic,ocp-microamp = <900000>;
+		awinic,channel-mask = <1>;
+		awinic,inductor-nanohenry = <10000>;
+	};
 };
 
 &i2c2 {
@@ -90,7 +109,18 @@ &i2c2 {
 	clock-frequency = <100000>;
 	status = "okay";
 
-	/* backlight aw99703 at 0x36 */
+	backlight at 36 {
+		compatible = "awinic,aw99703";
+		reg = <0x36>;
+		vin-supply = <&reg_bl>;
+		enable-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
+		label = "warm";
+
+		awinic,ovp-microvolt = <24000000>;
+		awinic,ocp-microamp = <900000>;
+		awinic,channel-mask = <1>;
+		awinic,inductor-nanohenry = <10000>;
+	};
 
 	touchscreen at 38 {
 		compatible = "focaltech,ft5426";

-- 
2.47.3




More information about the linux-arm-kernel mailing list