[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190722154538.5314-2-david@lechnology.com>
Date: Mon, 22 Jul 2019 10:45:35 -0500
From: David Lechner <david@...hnology.com>
To: linux-iio@...r.kernel.org, linux-omap@...r.kernel.org,
devicetree@...r.kernel.org
Cc: David Lechner <david@...hnology.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
BenoƮt Cousson <bcousson@...libre.com>,
Tony Lindgren <tony@...mide.com>,
William Breathitt Gray <vilhelm.gray@...il.com>,
Thierry Reding <thierry.reding@...il.com>,
linux-kernel@...r.kernel.org, linux-pwm@...r.kernel.org
Subject: [PATCH 1/4] dt-bindings: counter: new bindings for TI eQEP
This documents device tree binding for the Texas Instruments Enhanced
Quadrature Encoder Pulse (eQEP) Module found in various TI SoCs.
Signed-off-by: David Lechner <david@...hnology.com>
---
.../devicetree/bindings/counter/ti-eqep.txt | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bindings/counter/ti-eqep.txt
diff --git a/Documentation/devicetree/bindings/counter/ti-eqep.txt b/Documentation/devicetree/bindings/counter/ti-eqep.txt
new file mode 100644
index 000000000000..fbcebc2c2cc2
--- /dev/null
+++ b/Documentation/devicetree/bindings/counter/ti-eqep.txt
@@ -0,0 +1,18 @@
+Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module
+
+Required properties:
+- compatible: Must be "ti,am3352-eqep".
+- reg: Physical base address and size of the registers map.
+- clocks: Handle to the PWM's functional clock.
+- clock-names: Must be "fck".
+- interrupts: Handle to the eQEP event interrupt
+
+Example:
+
+ eqep0: eqep@180 {
+ compatible = "ti,am3352-eqep";
+ reg = <0x180 0x80>;
+ clocks = <&l4ls_gclk>;
+ clock-names = "fck";
+ interrupts = <79>;
+ };
--
2.17.1
Powered by blists - more mailing lists