dt-bindings: backlight: Add Kinetic KTD259 bindings
Subsystems (5)
PATCH 1/2 dt-bindings: backlight: Add Kinetic KTD259 bindings
The KTD259 is just a newer version of the KTD253 and works all the same.
--- .../bindings/leds/backlight/kinetic,ktd253.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/leds/backlight/kinetic,ktd253.yaml +6 -3
@@ -4,13 +4,13 @@ $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd253.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Kinetic Technologies KTD253 one-wire backlight +title: Kinetic Technologies KTD253 and KTD259 one-wire backlight maintainers: - Linus Walleij <[email protected]> description: | - The Kinetic Technologies KTD253 is a white LED backlight that is + The Kinetic Technologies KTD253 and KTD259 are white LED backlights controlled by a single GPIO line. If you just turn on the backlight it goes to maximum backlight then you can set the level of backlight using pulses on the enable wire. This is sometimes referred to as
@@ -21,7 +21,10 @@ allOf: properties: compatible: - const: kinetic,ktd253 + items: + - enum: + - kinetic,ktd253 + - kinetic,ktd259 enable-gpios: description: GPIO to use to enable/disable and dim the backlight.
Signature · 6 lines
2.29.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 2/2 backlight: ktd253: Support KTD259
The KTD259 works just like KTD253 so add this compatible to the driver.
--- drivers/video/backlight/ktd253-backlight.c | 1 + 1 file changed, 1 insertion(+)
drivers/video/backlight/ktd253-backlight.c +1 -0
@@ -173,6 +173,7 @@ static int ktd253_backlight_probe(struct platform_device *pdev)static const struct of_device_id ktd253_backlight_of_match[] = { { .compatible ="kinetic,ktd253" }, + { .compatible ="kinetic,ktd259" }, {/* sentinel */ } };MODULE_DEVICE_TABLE (of, ktd253_backlight_of_match);
Signature · 6 lines
2.29.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 2/2] backlight: ktd253: Support KTD259
Quoted 4 lines · Linus Walleij
The KTD259 works just like KTD253 so add this compatible to the driver.
Signed-off-by Linus Walleij <[email protected]>
Oh no... there's more of them ;-) .
Daniel.
Quoted 19 lines
--- drivers/video/backlight/ktd253-backlight.c | 1 + 1 file changed, 1 insertion(+)drivers/video/backlight/ktd253-backlight.c +1
-0@@ -173,6 +173,7 @@ static int ktd253_backlight_probe(struct platform_device *pdev)static const struct of_device_id ktd253_backlight_of_match[] = { { .compatible ="kinetic,ktd253" }, + { .compatible ="kinetic,ktd259" }, {/* sentinel */ } };MODULE_DEVICE_TABLE (of, ktd253_backlight_of_match);Signature · 1 line
2.29.2
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Lee Jones
AppliedRe: [PATCH 2/2] backlight: ktd253: Support KTD259
In reply to Linus WalleijQuoted 7 lines · Linus Walleij
The KTD259 works just like KTD253 so add this compatible to the driver.
Signed-off-by Linus Walleij <[email protected]>--- drivers/video/backlight/ktd253-backlight.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Signature · 8 lines
Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 4 lines · Linus Walleij
The KTD259 is just a newer version of the KTD253 and works all the same.
Signed-off-by Linus Walleij <[email protected]>
(For Lee) Acked-by: Daniel Thompson <[email protected]>
Daniel.
Quoted 39 lines
--- .../bindings/leds/backlight/kinetic,ktd253.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)Documentation/devicetree/bindings/leds/backlight/kinetic,ktd253.yaml +6
-3@@ -4,13 +4,13 @@ $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd253.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Kinetic Technologies KTD253 one-wire backlight +title: Kinetic Technologies KTD253 and KTD259 one-wire backlight maintainers: - Linus Walleij <[email protected]> description: | - The Kinetic Technologies KTD253 is a white LED backlight that is + The Kinetic Technologies KTD253 and KTD259 are white LED backlights controlled by a single GPIO line. If you just turn on the backlight it goes to maximum backlight then you can set the level of backlight using pulses on the enable wire. This is sometimes referred to as@@ -21,7 +21,10 @@ allOf: properties: compatible: - const: kinetic,ktd253 + items: + - enum: + - kinetic,ktd253 + - kinetic,ktd259 enable-gpios: description: GPIO to use to enable/disable and dim the backlight.Signature · 1 line
2.29.2
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Lee Jones
AppliedQuoted 7 lines · Linus Walleij
The KTD259 is just a newer version of the KTD253 and works all the same.
Signed-off-by Linus Walleij <[email protected]>--- .../bindings/leds/backlight/kinetic,ktd253.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
Applied, thanks.
Signature · 8 lines
Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel