Describe the backlights for Kobo Clara 2e. The device has two backlights with different color temperature.
Signed-off-by: Andreas Kemnade <[email protected]> --- .../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@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@36 { + compatible = "awinic,aw99703"; + reg = <0x36>; + vin-supply = <®_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@36 { + compatible = "awinic,aw99703"; + reg = <0x36>; + vin-supply = <®_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@38 { compatible = "focaltech,ft5426"; -- 2.47.3
