public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/5] dt-bindings: input: adopt Linux gpio-keys binding constants
Date: Mon, 20 Apr 2020 20:27:33 +0100	[thread overview]
Message-ID: <20200420192736.962307-3-pbrobinson@gmail.com> (raw)
In-Reply-To: <20200420192736.962307-1-pbrobinson@gmail.com>

Sync the gpio-keys input bindings from linux 5.7-rc1.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 include/dt-bindings/input/gpio-keys.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 include/dt-bindings/input/gpio-keys.h

diff --git a/include/dt-bindings/input/gpio-keys.h b/include/dt-bindings/input/gpio-keys.h
new file mode 100644
index 0000000000..8962df79e7
--- /dev/null
+++ b/include/dt-bindings/input/gpio-keys.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * This header provides constants for gpio keys bindings.
+ */
+
+#ifndef _DT_BINDINGS_GPIO_KEYS_H
+#define _DT_BINDINGS_GPIO_KEYS_H
+
+#define EV_ACT_ANY		0x00	/* asserted or deasserted */
+#define EV_ACT_ASSERTED		0x01	/* asserted */
+#define EV_ACT_DEASSERTED	0x02	/* deasserted */
+
+#endif /* _DT_BINDINGS_GPIO_KEYS_H */
-- 
2.26.1

  parent reply	other threads:[~2020-04-20 19:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-20 19:27 Support for Pinebook Pro v2 Peter Robinson
2020-04-20 19:27 ` [PATCH 1/5] video: simple_panel: add boe,nv140fhmn49 display Peter Robinson
2020-04-21  1:10   ` Vagrant Cascadian
2020-04-21 16:34     ` Arnaud Patard
2020-04-26 21:11   ` Anatolij Gustschin
2020-04-20 19:27 ` Peter Robinson [this message]
2020-04-20 19:27 ` [PATCH 3/5] dt-bindings: leds: adopt Linux leds common binding constants Peter Robinson
2020-04-21 17:37   ` Simon Glass
2020-04-22 13:42   ` Arnaud Patard
2020-04-20 19:27 ` [PATCH 4/5] arm: dts: rockchip: Add initial DT for Pinebook Pro Peter Robinson
2020-04-28 14:02   ` Kever Yang
2020-04-20 19:27 ` [PATCH 5/5] Add initial support for the Pinebook Pro laptop from Pine64 Peter Robinson
2020-04-21  1:06   ` Vagrant Cascadian
2020-04-22 13:49   ` Arnaud Patard
2020-04-28  9:51   ` Kever Yang
2020-04-20 22:49 ` Support for Pinebook Pro v2 Vagrant Cascadian
2020-04-20 23:01   ` Peter Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200420192736.962307-3-pbrobinson@gmail.com \
    --to=pbrobinson@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox