Skip to content

Commit 1517d90

Browse files
dlechJonathan Cameron
authored andcommitted
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@lechnology.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 7cabf92 commit 1517d90

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/counter/ti-eqep.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module
8+
9+
maintainers:
10+
- David Lechner <david@lechnology.com>
11+
12+
properties:
13+
compatible:
14+
const: ti,am3352-eqep
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
description: The eQEP event interrupt
21+
maxItems: 1
22+
23+
clocks:
24+
description: The clock that determines the SYSCLKOUT rate for the eQEP
25+
peripheral.
26+
maxItems: 1
27+
28+
clock-names:
29+
const: sysclkout
30+
31+
required:
32+
- compatible
33+
- reg
34+
- interrupts
35+
- clocks
36+
- clock-names
37+
38+
additionalProperties: false
39+
40+
examples:
41+
- |
42+
eqep0: counter@180 {
43+
compatible = "ti,am3352-eqep";
44+
reg = <0x180 0x80>;
45+
clocks = <&l4ls_gclk>;
46+
clock-names = "sysclkout";
47+
interrupts = <79>;
48+
};
49+
50+
...

0 commit comments

Comments
 (0)