]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: turris-omnia: Add global LED brightness change interrupt
authorMarek Behún <kabel@kernel.org>
Mon, 4 Nov 2024 14:19:24 +0000 (15:19 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 4 Nov 2024 16:00:41 +0000 (17:00 +0100)
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>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts

index 43202890c959590f43814d745c948830d4acbd7d..83fe00abd6523839db5ff2ff98656800c33fd789 100644 (file)
                        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";