Home
last modified time | relevance | path

Searched +full:am3352 +full:- +full:eqep (Results 1 – 2 of 2) sorted by relevance

/linux-5.10/Documentation/devicetree/bindings/counter/
Dti-eqep.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/counter/ti-eqep.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module
10 - David Lechner <david@lechnology.com>
14 const: ti,am3352-eqep
20 description: The eQEP event interrupt
24 description: The clock that determines the SYSCLKOUT rate for the eQEP
28 clock-names:
[all …]
/linux-5.10/drivers/counter/
Dti-eqep.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Counter driver for Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP)
17 /* 32-bit registers */
28 /* 16-bit registers */
69 /* EQEP Inputs */
98 struct ti_eqep_cnt *priv = counter->priv; in ti_eqep_count_read()
101 regmap_read(priv->regmap32, QPOSCNT, &cnt); in ti_eqep_count_read()
110 struct ti_eqep_cnt *priv = counter->priv; in ti_eqep_count_write()
113 regmap_read(priv->regmap32, QPOSMAX, &max); in ti_eqep_count_write()
115 return -EINVAL; in ti_eqep_count_write()
[all …]