[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191021030158.32464-1-ikjn@chromium.org>
Date: Mon, 21 Oct 2019 11:01:59 +0800
From: Ikjoon Jang <ikjn@...omium.org>
To: linux-input@...r.kernel.org, devicetree@...r.kernel.org
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
linux-kernel@...r.kernel.org,
Nicolas Boitchat <drinkcat@...omium.org>,
Ikjoon Jang <ikjn@...omium.org>
Subject: [PATCH v2 1/2] dt-bindings: input: Add DT bindings for Whiskers switch
Add the DT binding document for Hammer's TABLET_MODE switch.
Signed-off-by: Ikjoon Jang <ikjn@...omium.org>
---
.../devicetree/bindings/input/cros-cbas.yaml | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/cros-cbas.yaml
diff --git a/Documentation/devicetree/bindings/input/cros-cbas.yaml b/Documentation/devicetree/bindings/input/cros-cbas.yaml
new file mode 100644
index 000000000000..6a746c4cb266
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/cros-cbas.yaml
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/cros-cbas.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ChromeOS Hammer's Base Attached Switch
+
+maintainers:
+ - Dmitry Torokhov <dmitry.torokhov@...il.com>
+
+description:
+ On some ChromeOS devices with a foldable variant of Hammer base, SW_TABLET_MODE
+ event should be generated with proper consideration of current device state.
+ This device senses "base attached" signal from EC (Embedded Controller)
+ and generates SW_TABLET_MODE event when Hammer is not attached.
+ The node for this device must be under a cros-ec node like google,cros-ec-spi
+ or google,cros-ec-i2c.
+
+properties:
+ compatible:
+ const: google,cros-cbas
+
+required:
+ - compatible
--
2.23.0.866.gb869b98d4c-goog
Powered by blists - more mailing lists