summaryrefslogtreecommitdiff
path: root/zephyr/dts
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2023-01-10 09:07:56 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-03 14:13:10 +0000
commit40fe88e208aa14be889adbb1457175908f5c7c60 (patch)
tree44825d916c01f25a45c93de275b63a31fdea0395 /zephyr/dts
parent922d4781f47ac62b8868ebe5d9f0945f66b1d8dc (diff)
downloadchrome-ec-40fe88e208aa14be889adbb1457175908f5c7c60.tar.gz
zephyr: enable elan touchpad driver
This CL enables the Elan touchpad driver and touchpad task on zephyr EC, with minimal changes to make the code compilable. BUG=b:269989432 TEST=Add a touchpad node on krabby and verify it buildable. BRANCH=none Change-Id: I4b723ed2230f54d3dc597cdc30605fcfa4d4e0a3 Signed-off-by: Ting Shen <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4149991 Tested-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'zephyr/dts')
-rw-r--r--zephyr/dts/bindings/touchpad/elan,ekth3000.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/touchpad/elan,ekth3000.yaml b/zephyr/dts/bindings/touchpad/elan,ekth3000.yaml
new file mode 100644
index 0000000000..531ae240b6
--- /dev/null
+++ b/zephyr/dts/bindings/touchpad/elan,ekth3000.yaml
@@ -0,0 +1,15 @@
+# Copyright 2023 The ChromiumOS Authors
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+description: Elan I2C touchpad
+
+compatible: "elan,ekth3000"
+
+include: i2c-device.yaml
+
+properties:
+ irq:
+ type: phandle
+ required: true
+ description: Interrupt from touchpad