OSDN Git Service

counter: new TI eQEP driver
authorDavid Lechner <david@lechnology.com>
Sun, 1 Sep 2019 22:58:24 +0000 (17:58 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 17 Oct 2019 20:53:49 +0000 (21:53 +0100)
commitf213729f679619e70669c2b440886929595d26e5
treeec512c4684226a7f9d38683251ef55847ced2350
parent1517d90cfafe0f95fd7863d04e1596f7beb7dfa8
counter: new TI eQEP driver

This adds a new counter driver for the Texas Instruments Enhanced
Quadrature Encoder Pulse (eQEP) module.

Only very basic functionality is currently implemented - only enough to
be able to read the position. The actual device has many more features
which can be added to the driver on an as-needed basis.

It is not possible to read the QEPA/B signal values in hardware, so
that feature is omitted.

The TI_PWMSS kernel option is selected in Kconfig to enable the parent
bus, which is needed for power management.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/bus/Kconfig
drivers/counter/Kconfig
drivers/counter/Makefile
drivers/counter/ti-eqep.c [new file with mode: 0644]