From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank.Li@freescale.com (Frank.Li at freescale.com) Date: Wed, 13 May 2015 00:50:36 +0800 Subject: [PATCH 1/3] document: devicetree: input: imx: i.mx snvs power device tree bindings Message-ID: <1431449438-19460-1-git-send-email-Frank.Li@freescale.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Frank Li The snvs-pwrkey is designed to enable POWER key function which controlled by SNVS ONOFF. the driver can report the status of POWER key and wakeup system if pressed after system suspend. Signed-off-by: Frank Li Signed-off-by: Robin Gong --- .../devicetree/bindings/input/snvs-pwrkey.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/snvs-pwrkey.txt diff --git a/Documentation/devicetree/bindings/input/snvs-pwrkey.txt b/Documentation/devicetree/bindings/input/snvs-pwrkey.txt new file mode 100644 index 0000000..8f0826f --- /dev/null +++ b/Documentation/devicetree/bindings/input/snvs-pwrkey.txt @@ -0,0 +1,26 @@ +* Freescale i.MX SNVS powerkey device tree bindings + +The snvs-pwrkey is designed to enable POWER key function which controlled +by SNVS ONOFF, the driver can report the status of POWER key and wakeup +system if pressed after system suspend. + +Required SoC Specific Properties: +- compatible: Should be "fsl,imx6sx-snvs-pwrkey". + +- reg: Physical base address of the SNVS and length of memory mapped + region. + +- interrupts: The SNVS interrupt number to the CPU(s). + +- fsl,keycode: Keycode to emit, KEY_POWER by default. + +- fsl,wakeup: Button can wake-up the system + +Example: +snvs-pwrkey at 0x020cc000 { + compatible = "fsl,imx6sx-snvs-pwrkey"; + reg = <0x020cc000 0x4000>; + interrupts = <0 4 0x4>; + fsl,keycode = <116>; /* KEY_POWER */ + fsl,wakeup; +}; -- 1.9.1