Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

David Lechner and committed by
Jonathan Cameron
1517d90c 7cabf925

+50
+50
Documentation/devicetree/bindings/counter/ti-eqep.yaml
··· 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 + ...