From patchwork Mon Sep 2 12:41:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 13787231 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3BC82CA0ED3 for ; Mon, 2 Sep 2024 12:41:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 2E912C4CEC6; Mon, 2 Sep 2024 12:41:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61B17C4CEC8; Mon, 2 Sep 2024 12:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725280896; bh=s3xJG6D/pwss0IUNp6uxa7NHr8odZ+slvD78tK31x2M=; h=From:To:List-Id:Cc:Subject:Date:In-Reply-To:References:From; b=ncGJVafgq3pAFr4frXFxnmwzS09xLKQfsQrJpDNwLKC1RPI+aD26idsLYqyaSYj0A D1wjMiXwiQ4jQFVkZDDIx5nJEpC0gtAlCFtWvbH10xV3Afu6Wh2bOjjJP7PKRIyCXG lef7Q2AHmKouj0UPFJLW0EEX403QvukTwpNd+AVyx7E7ysVpZ/kO2qRNGDQd5W+xeP YlUEsMIr+FxQ/XM7RsY9ClVAW2R7PYhMr5A+QWcSK8+iikFEahDrM36SQaEKHUIM5G FAOIzWWe+3Iu4vjKppxdk3DhPakl/dDp12+shp9K5ctNo9IAGVUREZD3g80Yj735FG lnAS1xFUIxLig== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Lee Jones List-Id: Cc: Pavel Machek , linux-leds@vger.kernel.org, Arnd Bergmann , soc@kernel.org, Gregory CLEMENT , arm@kernel.org, Andy Shevchenko , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Andrew Lunn , Sebastian Hesselbarth , =?utf-8?q?Marek_Be?= =?utf-8?q?h=C3=BAn?= Subject: [PATCH leds 8/8] ARM: dts: turris-omnia: Add global LED brightness change interrupt Date: Mon, 2 Sep 2024 14:41:04 +0200 Message-ID: <20240902124104.14297-9-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240902124104.14297-1-kabel@kernel.org> References: <20240902124104.14297-1-kabel@kernel.org> MIME-Version: 1.0 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 --- 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";