From patchwork Fri Nov 8 13:28:45 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: 841924 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.subspace.kernel.org (Postfix) with ESMTPS id 90C961EF0A6; Fri, 8 Nov 2024 13:29:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731072581; cv=none; b=avnm+yEq/uIGUnbOM5Fe44LAAuccyssrNpJmyq55yQzJbw5EwPxUhzAevKrNxqKZdfqPCWFjto+FN0Ki2XzSeBsONEPIuKfU0XTlgoV4XfegPJrEjeqElfYrMcOd6zNX/W8XwfcOdXNpur8gWdEJtB6CO4W9FW85QGylFvyQb5o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731072581; c=relaxed/simple; bh=02cumqv7Pptd8Tkhcc6pofXSXkHGb+wYsFd9giydYr4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ifbepzR7CfaVeUWv5CYqgOVOvIS5USHrv49Qlt1HK18GmpUxVJl5JkmxRa39cv/Aw7x5Codef8TjOec8dvGwaupH2fUqBq13Y4j4KnYosZnnTeUDzB4GZfC4KHy1nZ7aQPGthmzDLwpDxqUdmdyEzJtQdTSZgn6Z08YMp7i+BpU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sWjwjNMf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sWjwjNMf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E70F7C4CED6; Fri, 8 Nov 2024 13:29:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1731072581; bh=02cumqv7Pptd8Tkhcc6pofXSXkHGb+wYsFd9giydYr4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sWjwjNMfM53MoeZUD0FiH+R/36amSOCKTUXOFuBZ+72Ycl8Cbfn61KEiKAujBXgoW E1VwEZnhqMzPRiIUsCKy8hZu4TCIqjKR03PQDB/lc9ozqgf+IDgkkRBgbRJG3Pm7La JiBPgUA3Q6MjJ2oVOaSJhL2BIfybZmCkUu2ziaaZGhLhzvc5Mt4eDGdpLIk5fiCaCp uUC8sNrpzs2ed5jJ36bQkPvtPJeZ72XpLuhBqQ66k4uQlEVyzKzAJdsA0aaEPqaAaP pPhgEYf0iXu7U/5cMZBYlsCzkQdd8ttcNViH2Ks8PwCCE8WdaSdXvi+E79lEQ1Y/SB +eDELQqLaLrzQ== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Lee Jones 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 , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, =?utf-8?q?M?= =?utf-8?q?arek_Beh=C3=BAn?= Subject: [PATCH leds v6 12/12] ARM: dts: turris-omnia: Add global LED brightness change interrupt Date: Fri, 8 Nov 2024 14:28:45 +0100 Message-ID: <20241108132845.31005-13-kabel@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241108132845.31005-1-kabel@kernel.org> References: <20241108132845.31005-1-kabel@kernel.org> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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";