diff mbox series

[leds,v5,12/12] ARM: dts: turris-omnia: Add global LED brightness change interrupt

Message ID 20241104141924.18816-13-kabel@kernel.org (mailing list archive)
State Superseded
Headers show
Series Turris Omnia LED driver changes | expand

Commit Message

Marek Behún Nov. 4, 2024, 2:19 p.m. UTC
When global LED brightness is changed by pressing the front button on
Turris Omnia, the MCU can produce an interrupt to the CPU. Add the
description of this interrupt to the LED controller node.

Signed-off-by: Marek Behún <kabel@kernel.org>
---
 arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Gregory CLEMENT Nov. 4, 2024, 4:02 p.m. UTC | #1
Marek Behún <kabel@kernel.org> writes:

> When global LED brightness is changed by pressing the front button on
> Turris Omnia, the MCU can produce an interrupt to the CPU. Add the
> description of this interrupt to the LED controller node.
>
> Signed-off-by: Marek Behún <kabel@kernel.org>

As the binding had been acked, and this change won't produce any
regression I can already get it.

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts b/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
> index 43202890c959..83fe00abd652 100644
> --- a/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
> +++ b/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
> @@ -251,6 +251,7 @@ mcu: system-controller@2a {
>  			led-controller@2b {
>  				compatible = "cznic,turris-omnia-leds";
>  				reg = <0x2b>;
> +				interrupts-extended = <&mcu 11 IRQ_TYPE_NONE>;
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				status = "okay";
> -- 
> 2.45.2
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts b/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
index 43202890c959..83fe00abd652 100644
--- a/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
+++ b/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
@@ -251,6 +251,7 @@  mcu: system-controller@2a {
 			led-controller@2b {
 				compatible = "cznic,turris-omnia-leds";
 				reg = <0x2b>;
+				interrupts-extended = <&mcu 11 IRQ_TYPE_NONE>;
 				#address-cells = <1>;
 				#size-cells = <0>;
 				status = "okay";