linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND V5 1/5] dt-bindings: fsl: scu: add scu key binding
@ 2019-09-17  3:12 Anson Huang
  2019-09-17  3:12 ` [PATCH RESEND V5 2/5] input: keyboard: imx_sc: Add i.MX system controller key support Anson Huang
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Anson Huang @ 2019-09-17  3:12 UTC (permalink / raw)
  To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
	catalin.marinas, will, dmitry.torokhov, aisheng.dong,
	ulf.hansson, fugang.duan, peng.fan, leonard.crestez,
	daniel.baluta, olof, mripard, arnd, jagan, dinguyen,
	bjorn.andersson, marcin.juszkiewicz, andriy.shevchenko,
	yuehaibing, cw00.choi, enric.balletbo, m.felsch, ping.bai,
	ronald, stefan, devicetree, linux-kernel, linux-arm-kernel,
	linux-input
  Cc: Linux-imx

NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as
system controller, the system controller is in charge of system
power, clock and scu key event etc. management, Linux kernel has
to communicate with system controller via MU (message unit) IPC
to get scu key event, add binding doc for i.MX system controller
key driver.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
No changes.
---
 .../devicetree/bindings/arm/freescale/fsl,scu.txt          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
index c149fad..5eab7d0 100644
--- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
+++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
@@ -157,6 +157,15 @@ Required properties:
 Optional properties:
 - timeout-sec: contains the watchdog timeout in seconds.
 
+SCU key bindings based on SCU Message Protocol
+------------------------------------------------------------
+
+Required properties:
+- compatible: should be:
+              "fsl,imx8qxp-sc-key"
+              followed by "fsl,imx-sc-key";
+- linux,keycodes: See Documentation/devicetree/bindings/input/keys.txt
+
 Example (imx8qxp):
 -------------
 aliases {
@@ -220,6 +229,11 @@ firmware {
 			compatible = "fsl,imx8qxp-sc-rtc";
 		};
 
+		scu_key: scu-key {
+			compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
+			linux,keycode = <KEY_POWER>;
+		};
+
 		watchdog {
 			compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt";
 			timeout-sec = <60>;
-- 
2.7.4


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

end of thread, other threads:[~2019-09-17 14:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-17  3:12 [PATCH RESEND V5 1/5] dt-bindings: fsl: scu: add scu key binding Anson Huang
2019-09-17  3:12 ` [PATCH RESEND V5 2/5] input: keyboard: imx_sc: Add i.MX system controller key support Anson Huang
2019-09-17  3:12 ` [PATCH RESEND V5 3/5] arm64: dts: imx8qxp: Add scu key node Anson Huang
2019-09-17  3:12 ` [PATCH RESEND V5 4/5] arm64: dts: imx8qxp-mek: Enable scu key Anson Huang
2019-09-17  3:12 ` [PATCH RESEND V5 5/5] arm64: defconfig: Enable CONFIG_KEYBOARD_IMX_SC_KEY as module Anson Huang
2019-09-17 14:37 ` [PATCH RESEND V5 1/5] dt-bindings: fsl: scu: add scu key binding Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).