[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1570412509-7893-1-git-send-email-Anson.Huang@nxp.com>
Date: Mon, 7 Oct 2019 09:41:45 +0800
From: Anson Huang <Anson.Huang@....com>
To: robh+dt@...nel.org, mark.rutland@....com, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
catalin.marinas@....com, will@...nel.org,
dmitry.torokhov@...il.com, aisheng.dong@....com,
ulf.hansson@...aro.org, peng.fan@....com, fugang.duan@....com,
leonard.crestez@....com, daniel.baluta@....com, olof@...om.net,
mripard@...nel.org, bjorn.andersson@...aro.org,
jagan@...rulasolutions.com, dinguyen@...nel.org,
marcin.juszkiewicz@...aro.org, arnd@...db.de,
andriy.shevchenko@...ux.intel.com, stefan@...er.ch,
enric.balletbo@...labora.com, yuehaibing@...wei.com,
ping.bai@....com, m.felsch@...gutronix.de, ronald@...ovation.ch,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-input@...r.kernel.org
Cc: Linux-imx@....com
Subject: [PATCH V6 1/5] dt-bindings: fsl: scu: add scu key binding
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@....com>
Reviewed-by: Rob Herring <robh@...nel.org>
---
Changes since V5:
- use "linux,keycodes" instead of "linux,keycode" in example.
---
.../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..70c1a62 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,keycodes = <KEY_POWER>;
+ };
+
watchdog {
compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt";
timeout-sec = <60>;
--
2.7.4
Powered by blists - more mailing lists