Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] input: fsl,scu-key: Add compatible string fsl,imx8qm-sc-key
@ 2025-10-28 20:01 Frank Li
  2025-10-28 20:01 ` [PATCH 1/2] dt-bindings: " Frank Li
  2025-10-28 20:01 ` [PATCH 2/2] arm64: dts: imx8qm: add scu power key support Frank Li
  0 siblings, 2 replies; 5+ messages in thread
From: Frank Li @ 2025-10-28 20:01 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Dong Aisheng, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-input, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

bindings: add fsl,imx8qm-sc-key.
dts: add fsl,imx8qm-sc-key support.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (2):
      dt-bindings: input: fsl,scu-key: Add compatible string fsl,imx8qm-sc-key
      arm64: dts: imx8qm: add scu power key support

 Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 4 +++-
 arch/arm64/boot/dts/freescale/imx8qm.dtsi                | 7 +++++++
 2 files changed, 10 insertions(+), 1 deletion(-)
---
base-commit: f7d2388eeec24966fc4d5cf32d706f0514f29ac5
change-id: 20251028-b4_qm_scu_key-975f51c41752

Best regards,
--
Frank Li <Frank.Li@nxp.com>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] dt-bindings: input: fsl,scu-key: Add compatible string fsl,imx8qm-sc-key
  2025-10-28 20:01 [PATCH 0/2] input: fsl,scu-key: Add compatible string fsl,imx8qm-sc-key Frank Li
@ 2025-10-28 20:01 ` Frank Li
  2025-10-29  6:54   ` Krzysztof Kozlowski
  2026-01-05 20:03   ` Frank Li
  2025-10-28 20:01 ` [PATCH 2/2] arm64: dts: imx8qm: add scu power key support Frank Li
  1 sibling, 2 replies; 5+ messages in thread
From: Frank Li @ 2025-10-28 20:01 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Dong Aisheng, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-input, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

Add compatible string fsl,imx8qm-sc-key for i.MX8QM and fallback to
fsl,imx-sc-key.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/input/fsl,scu-key.yaml b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
index 29921aab9d9713c475654fd1e1e1ebe26a5e08d1..2566cffc252d7c426bcd94fa3c2dc90fbb664a9b 100644
--- a/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
+++ b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
@@ -18,7 +18,9 @@ allOf:
 properties:
   compatible:
     items:
-      - const: fsl,imx8qxp-sc-key
+      - enum:
+          - fsl,imx8qm-sc-key
+          - fsl,imx8qxp-sc-key
       - const: fsl,imx-sc-key
 
   linux,keycodes:

-- 
2.34.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] arm64: dts: imx8qm: add scu power key support
  2025-10-28 20:01 [PATCH 0/2] input: fsl,scu-key: Add compatible string fsl,imx8qm-sc-key Frank Li
  2025-10-28 20:01 ` [PATCH 1/2] dt-bindings: " Frank Li
@ 2025-10-28 20:01 ` Frank Li
  1 sibling, 0 replies; 5+ messages in thread
From: Frank Li @ 2025-10-28 20:01 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Dong Aisheng, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-input, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

Add scu power key node.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qm.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
index 5206ca82eaf642a32299147e9c1b45704075e2b2..2508a07832810831d019f81d47a8f7042a77d709 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi
@@ -7,6 +7,7 @@
 #include <dt-bindings/clock/imx8-lpcg.h>
 #include <dt-bindings/firmware/imx/rsrc.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/pinctrl/pads-imx8qm.h>
 #include <dt-bindings/thermal/thermal.h>
@@ -330,6 +331,12 @@ clk: clock-controller {
 			#clock-cells = <2>;
 		};
 
+		scu_key: keys {
+			compatible = "fsl,imx8qm-sc-key", "fsl,imx-sc-key";
+			linux,keycodes = <KEY_POWER>;
+			wakeup-source;
+		};
+
 		iomuxc: pinctrl {
 			compatible = "fsl,imx8qm-iomuxc";
 		};

-- 
2.34.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: input: fsl,scu-key: Add compatible string fsl,imx8qm-sc-key
  2025-10-28 20:01 ` [PATCH 1/2] dt-bindings: " Frank Li
@ 2025-10-29  6:54   ` Krzysztof Kozlowski
  2026-01-05 20:03   ` Frank Li
  1 sibling, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-29  6:54 UTC (permalink / raw)
  To: Frank Li
  Cc: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Dong Aisheng, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, linux-input, devicetree, linux-kernel, imx,
	linux-arm-kernel

On Tue, Oct 28, 2025 at 04:01:28PM -0400, Frank Li wrote:
> Add compatible string fsl,imx8qm-sc-key for i.MX8QM and fallback to
> fsl,imx-sc-key.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] dt-bindings: input: fsl,scu-key: Add compatible string fsl,imx8qm-sc-key
  2025-10-28 20:01 ` [PATCH 1/2] dt-bindings: " Frank Li
  2025-10-29  6:54   ` Krzysztof Kozlowski
@ 2026-01-05 20:03   ` Frank Li
  1 sibling, 0 replies; 5+ messages in thread
From: Frank Li @ 2026-01-05 20:03 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Dong Aisheng, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-input, devicetree, linux-kernel, imx, linux-arm-kernel

On Tue, Oct 28, 2025 at 04:01:28PM -0400, Frank Li wrote:
> Add compatible string fsl,imx8qm-sc-key for i.MX8QM and fallback to
> fsl,imx-sc-key.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---

Dmitry Torokhov:

	Could you take care this patch? Krzysztof Kozlowski already acked.

Frank

>  Documentation/devicetree/bindings/input/fsl,scu-key.yaml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/input/fsl,scu-key.yaml b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
> index 29921aab9d9713c475654fd1e1e1ebe26a5e08d1..2566cffc252d7c426bcd94fa3c2dc90fbb664a9b 100644
> --- a/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
> +++ b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml
> @@ -18,7 +18,9 @@ allOf:
>  properties:
>    compatible:
>      items:
> -      - const: fsl,imx8qxp-sc-key
> +      - enum:
> +          - fsl,imx8qm-sc-key
> +          - fsl,imx8qxp-sc-key
>        - const: fsl,imx-sc-key
>
>    linux,keycodes:
>
> --
> 2.34.1
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-05 20:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-28 20:01 [PATCH 0/2] input: fsl,scu-key: Add compatible string fsl,imx8qm-sc-key Frank Li
2025-10-28 20:01 ` [PATCH 1/2] dt-bindings: " Frank Li
2025-10-29  6:54   ` Krzysztof Kozlowski
2026-01-05 20:03   ` Frank Li
2025-10-28 20:01 ` [PATCH 2/2] arm64: dts: imx8qm: add scu power key support Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox