aboutsummaryrefslogtreecommitdiff
path: root/dts/upstream/Bindings/input/gpio-mouse.txt
diff options
context:
space:
mode:
authorTom Rini2024-04-01 09:08:13 -0400
committerTom Rini2024-04-01 09:08:13 -0400
commitbc39e06778168a34bb4e0a34fbee4edbde4414d8 (patch)
tree1a62e02df7db59fcffe3c57c24cf577039a4d389 /dts/upstream/Bindings/input/gpio-mouse.txt
parent27795dd717dadc73091e1b4d6c50952b93aaa819 (diff)
parent93743d241c64bc1f7ecbf3262d1683176551e11f (diff)
Subtree merge tag 'v6.8-dts' of devicetree-rebasing repo [1] into dts/upstream
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/
Diffstat (limited to 'dts/upstream/Bindings/input/gpio-mouse.txt')
-rw-r--r--dts/upstream/Bindings/input/gpio-mouse.txt32
1 files changed, 0 insertions, 32 deletions
diff --git a/dts/upstream/Bindings/input/gpio-mouse.txt b/dts/upstream/Bindings/input/gpio-mouse.txt
deleted file mode 100644
index 519510a11af..00000000000
--- a/dts/upstream/Bindings/input/gpio-mouse.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Device-Tree bindings for GPIO attached mice
-
-This simply uses standard GPIO handles to define a simple mouse connected
-to 5-7 GPIO lines.
-
-Required properties:
- - compatible: must be "gpio-mouse"
- - scan-interval-ms: The scanning interval in milliseconds
- - up-gpios: GPIO line phandle to the line indicating "up"
- - down-gpios: GPIO line phandle to the line indicating "down"
- - left-gpios: GPIO line phandle to the line indicating "left"
- - right-gpios: GPIO line phandle to the line indicating "right"
-
-Optional properties:
- - button-left-gpios: GPIO line handle to the left mouse button
- - button-middle-gpios: GPIO line handle to the middle mouse button
- - button-right-gpios: GPIO line handle to the right mouse button
-Example:
-
-#include <dt-bindings/gpio/gpio.h>
-
-gpio-mouse {
- compatible = "gpio-mouse";
- scan-interval-ms = <50>;
- up-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
- down-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
- left-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
- right-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
- button-left-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
- button-middle-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
- button-right-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
-};