diff mbox

[RESEND] dt-bindings: input: Add common keyboard document bindings

Message ID 1529648198-14231-1-git-send-email-chen.zhong@mediatek.com (mailing list archive)
State Accepted
Headers show

Commit Message

chen.zhong June 22, 2018, 6:16 a.m. UTC
This patch adds the device tree binding documentation for common
keyboard.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Chen Zhong <chen.zhong@mediatek.com>
---
 Documentation/devicetree/bindings/input/keys.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/keys.txt

Comments

chen.zhong June 22, 2018, 6:39 a.m. UTC | #1
Hi Dmitry,

The other patches in the series to add mediatek pmic keys support are
now available in 4.18-rc1, but this patch seems not being merged.

  git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
ib-mfd-input-rtc-v4.18

I have resend the patch, and rebase to 4.18-rc1.
Could you help to see if it is good enough to be merged into your tree?

Thank you.


On Fri, 2018-06-22 at 14:16 +0800, Chen Zhong wrote:
> This patch adds the device tree binding documentation for common
> keyboard.
> 
> Acked-by: Rob Herring <robh@kernel.org>
> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Signed-off-by: Chen Zhong <chen.zhong@mediatek.com>
> ---
>  Documentation/devicetree/bindings/input/keys.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/input/keys.txt
> 
> diff --git a/Documentation/devicetree/bindings/input/keys.txt b/Documentation/devicetree/bindings/input/keys.txt
> new file mode 100644
> index 0000000..a0ea7eb
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/keys.txt
> @@ -0,0 +1,8 @@
> +General Keys Properties:
> +
> +Optional properties for Keys:
> +- power-off-time-sec: Duration in seconds which the key should be kept
> + 	pressed for device to power off automatically. Device with key pressed
> + 	shutdown feature can specify this property.
> +- linux,keycodes: Specifies the numeric keycode values to be used for
> +	reporting key presses.
> \ No newline at end of file


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Dmitry Torokhov July 4, 2018, 3:25 p.m. UTC | #2
On Fri, Jun 22, 2018 at 02:39:55PM +0800, Chen Zhong wrote:
> Hi Dmitry,
> 
> The other patches in the series to add mediatek pmic keys support are
> now available in 4.18-rc1, but this patch seems not being merged.
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
> ib-mfd-input-rtc-v4.18
> 
> I have resend the patch, and rebase to 4.18-rc1.
> Could you help to see if it is good enough to be merged into your tree?

I thought Rob would pick it up, but since he hasn't I'll do it.

Thanks.
chen.zhong July 5, 2018, 1:27 a.m. UTC | #3
On Wed, 2018-07-04 at 15:25 +0000, Dmitry Torokhov wrote:
> On Fri, Jun 22, 2018 at 02:39:55PM +0800, Chen Zhong wrote:
> > Hi Dmitry,
> > 
> > The other patches in the series to add mediatek pmic keys support are
> > now available in 4.18-rc1, but this patch seems not being merged.
> > 
> >   git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
> > ib-mfd-input-rtc-v4.18
> > 
> > I have resend the patch, and rebase to 4.18-rc1.
> > Could you help to see if it is good enough to be merged into your tree?
> 
> I thought Rob would pick it up, but since he hasn't I'll do it.
> 
> Thanks.
> 

That would be great helpful.
Thank you.

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/input/keys.txt b/Documentation/devicetree/bindings/input/keys.txt
new file mode 100644
index 0000000..a0ea7eb
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/keys.txt
@@ -0,0 +1,8 @@ 
+General Keys Properties:
+
+Optional properties for Keys:
+- power-off-time-sec: Duration in seconds which the key should be kept
+ 	pressed for device to power off automatically. Device with key pressed
+ 	shutdown feature can specify this property.
+- linux,keycodes: Specifies the numeric keycode values to be used for
+	reporting key presses.
\ No newline at end of file