From: Marek BehĂșn Date: Mon, 11 Nov 2024 10:03:49 +0000 (+0100) Subject: dt-bindings: leds: cznic,turris-omnia-leds: Allow interrupts property X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2b73a24f327070390f1a17570fcab35b61a92c24;p=users%2Fdwmw2%2Flinux.git dt-bindings: leds: cznic,turris-omnia-leds: Allow interrupts property Extend the cznic,turris-omnia-leds binding with interrupts property, specifying the global LED brightness changed by button press interrupt. Signed-off-by: Marek BehĂșn Acked-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20241111100355.6978-6-kabel@kernel.org Signed-off-by: Lee Jones --- diff --git a/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml b/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml index 34ef5215c1509..f52f6304c79e5 100644 --- a/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml +++ b/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml @@ -23,6 +23,12 @@ properties: description: I2C slave address of the microcontroller. maxItems: 1 + interrupts: + description: + Specifier for the global LED brightness changed by front button press + interrupt. + maxItems: 1 + "#address-cells": const: 1 @@ -56,6 +62,7 @@ additionalProperties: false examples: - | + #include #include i2c { @@ -65,6 +72,7 @@ examples: led-controller@2b { compatible = "cznic,turris-omnia-leds"; reg = <0x2b>; + interrupts-extended = <&mcu 11 IRQ_TYPE_NONE>; #address-cells = <1>; #size-cells = <0>;