summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Stark <gnstark@salutedevices.com>2025-10-20 12:20:25 +0300
committerDmitry Rokosov <rockosov@rulkc.org>2026-08-13 14:41:34 +0300
commit3c7b8d6679d74173efc719a7a1d4765fcdce8351 (patch)
tree67c7384fbaad8a2e35ac3a020a42786b8a6d915b
parent61ed1ead47b9006b450585ceefb0de860a8f24f6 (diff)
downloadlinux-3c7b8d6679d74173efc719a7a1d4765fcdce8351.tar.gz
linux-3c7b8d6679d74173efc719a7a1d4765fcdce8351.zip
dt-bindings: leds: aw200xx: add properties for framebuffer
Signed-off-by: George Stark <gnstark@salutedevices.com> Signed-off-by: Dmitry Rokosov <rockosov@rulkc.org>
-rw-r--r--Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml36
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml
index 91d60973dcc4..b731ef5953ef 100644
--- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml
+++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml
@@ -47,6 +47,35 @@ properties:
interrupts:
maxItems: 1
+ fb-refresh-rate:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ framebuffer refresh rate, Hz
+
+ fb-backlight:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ framebuffer backlight brightness
+
+ fb-led-max-microamp:
+ description:
+ led-max-microamp property for every LED
+
+ fb-height:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ framebuffer logical height in pixels
+
+ fb-width:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ framebuffer logical width in pixels
+
+ fb-map:
+ $ref: /schemas/types.yaml#/definitions/uint8-array
+ description:
+ LED number for every pixel of framebuffer
+
patternProperties:
"^led@[0-9a-f]+$":
type: object
@@ -155,6 +184,13 @@ examples:
enable-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
interrupt-parent = <&gpio_intc>;
interrupts = <13 IRQ_TYPE_LEVEL_LOW>;
+ fb-height = <3>;
+ fb-width = <12>;
+ fb-refresh-rate = <60>;
+ fb-backlight = <255>;
+ fb-map = /bits/ 8 <0 1 2 3 4 5 6 7 8 9 10 11
+ 12 13 14 15 16 17 18 19 20 21 22 23
+ 24 25 26 27 28 29 30 31 32 33 34 35>;
led@0 {
reg = <0x0>;