dt-bindings: leds: backlight: ktz8866: Add reg property and update example
Jianhua Lu
maintainerPATCH 1/1 dt-bindings: leds: backlight: ktz8866: Add reg property and update example
The kinetic,ktz8866 is a I2C driver, so add the missing reg property. And update example to make it clear.
Signed-off-by Jianhua Lu <[email protected]>
--- .../leds/backlight/kinetic,ktz8866.yaml | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-)
Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml +19 -10
@@ -21,6 +21,9 @@ properties: compatible: const: kinetic,ktz8866 + reg: + maxItems: 1 + vddpos-supply: description: positive boost supply regulator.
@@ -53,6 +56,7 @@ properties: required: - compatible + - reg - vddpos-supply - vddneg-supply - enable-gpios
@@ -63,14 +67,19 @@ examples: - | #include <dt-bindings/gpio/gpio.h> - backlight { - compatible = "kinetic,ktz8866"; - - vddpos-supply = <&bl_vddpos_5p5>; - vddneg-supply = <&bl_vddneg_5p5>; - enable-gpios = <&tlmm 139 GPIO_ACTIVE_HIGH>; - current-num-sinks = <5>; - kinetic,current-ramp-delay-ms = <128>; - kinetic,led-enable-ramp-delay-ms = <1>; - kinetic,enable-lcd-bias; + i2c { + #address-cells = <1>; + #size-cells = <0>; + + backlight@11 { + compatible = "kinetic,ktz8866"; + reg = <0x11>; + vddpos-supply = <&bl_vddpos_5p5>; + vddneg-supply = <&bl_vddneg_5p5>; + enable-gpios = <&tlmm 139 GPIO_ACTIVE_HIGH>; + current-num-sinks = <5>; + kinetic,current-ramp-delay-ms = <128>; + kinetic,led-enable-ramp-delay-ms = <1>; + kinetic,enable-lcd-bias; + }; };
Signature · 1 line
2.39.2
Quoted 5 lines · Jianhua Lu
The kinetic,ktz8866 is a I2C driver, so add the missing reg property. And update example to make it clear.
Signed-off-by Jianhua Lu <[email protected]>---
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Quoted 4 lines · Jianhua Lu
The kinetic,ktz8866 is a I2C driver, so add the missing reg property. And update example to make it clear.
Signed-off-by Jianhua Lu <[email protected]>
Reviewed-by Daniel Thompson <[email protected]>
Quoted 7 lines · Jianhua Lu
The kinetic,ktz8866 is a I2C driver, so add the missing reg property. And update example to make it clear.
Signed-off-by Jianhua Lu <[email protected]>--- .../leds/backlight/kinetic,ktz8866.yaml | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-)
Applied, thanks
Signature · 1 line
Lee Jones [李琼斯]