diff options
author | Robin Gong <b38343@freescale.com> | 2014-04-02 16:55:31 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-01-15 21:18:21 -0600 |
commit | d2a81b5b30d422316c5b7ce340b242cf4f575116 (patch) | |
tree | eceb551beb2dbc055bfc55756ba904de79fdf69c /Documentation | |
parent | 5af5fcebad54093d986bd8cd92109e0ba3d14635 (diff) |
ENGR00306653-2 input: keyboad: snvs_pwrkey: add snvs power key driver
add snvs power key driver since ic team has fix some issues of SNVS on i.mx6sx
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit 3d259d1673fe9d14251f65871b77f80b0d779a22)
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/input/snvs-pwrkey.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/snvs-pwrkey.txt b/Documentation/devicetree/bindings/input/snvs-pwrkey.txt new file mode 100644 index 000000000000..8f0826f5817f --- /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@0x020cc000 { + compatible = "fsl,imx6sx-snvs-pwrkey"; + reg = <0x020cc000 0x4000>; + interrupts = <0 4 0x4>; + fsl,keycode = <116>; /* KEY_POWER */ + fsl,wakeup; +}; |