From patchwork Tue Oct 29 13:56:14 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: 839491 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 6296920695D; Tue, 29 Oct 2024 13:56:53 +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=1730210213; cv=none; b=EWCSHnxiN9jHcjZfnkcNZOEPOzEOVIqQSmXh38z2x9rgyns5GwRKGUa8tQfY3Kw7YWLAGMOnFFcV5I05gOY658ogWMZSLM4Fa2CJBzQUmwLNLdG+u58QaTp8NelbLn61bZhDB3cQeqUQpb36nrwfN2Qv6aFTZSwqoiRn6FTiDD0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730210213; c=relaxed/simple; bh=IL6ApZj/AEN4ogtSsw2hRDlMG6U3NVDiHfarNqZTetA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DycsjnTzyXLcuUZzbEpyKH7Ds25HaShkFBvKGlavPWCum7JVdnTdbl4i3uwScumoPYj1F5a/VX5Fk8h7rzi3qJNvEfZ4nm/mLako6dPlIS8HIr1Bo0jtCul5BiibPHJOAK1n1wfxmhbLxuqt8fTDLR7P0nvGORNYtQ3pfzvlJno= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dzoJrKMM; 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="dzoJrKMM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65F99C4CEEF; Tue, 29 Oct 2024 13:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730210213; bh=IL6ApZj/AEN4ogtSsw2hRDlMG6U3NVDiHfarNqZTetA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dzoJrKMMUZmNxW6oCOv8DyCPLOolrL4FWgTZXgFuhv2qyHLrNUSzGMe56qawboHBy Hv30HYsGtzrogM+C7y9PGyNbEnf0Sk6SMHQeUvetOXN7c8fMAFbKC6ggTpZKRs0NfB RT/jQ76paPOHZWicGPMzJxvTiHAfuH10RF2RmbGXv3POyEIci9A/Y4yJN15DjHhDCW tty05gd+e1R/bM9S0C/AFBl6+WgDqrQPPeIUeuEy3FKyuMrhL+VnRstvUcoOomer50 4+nh8V1XQEH6BHbv6Sl4s+NV538HS7BMLMHHmxpgtPj1NvA/JOqteI+dC3Yzbe3Jv2 F61POGOhdBefw== 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?= , Krzysztof Kozlowski Subject: [PATCH leds v4 05/12] dt-bindings: leds: cznic,turris-omnia-leds: Allow interrupts property Date: Tue, 29 Oct 2024 14:56:14 +0100 Message-ID: <20241029135621.12546-6-kabel@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241029135621.12546-1-kabel@kernel.org> References: <20241029135621.12546-1-kabel@kernel.org> Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 --- .../devicetree/bindings/leds/cznic,turris-omnia-leds.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml b/Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml index 34ef5215c150..f52f6304c79e 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>;