File tree Expand file tree Collapse file tree
Documentation/devicetree/bindings/counter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ ...
Original file line number Diff line number Diff line change @@ -16215,6 +16215,12 @@ S: Maintained
1621516215F: drivers/media/platform/davinci/
1621616216F: include/media/davinci/
1621716217
16218+ TI ENHANCED QUADRATURE ENCODER PULSE (eQEP) DRIVER
16219+ R: David Lechner <david@lechnology.com>
16220+ L: linux-iio@vger.kernel.org
16221+ F: Documentation/devicetree/bindings/counter/ti-eqep.yaml
16222+ F: drivers/counter/ti-eqep.c
16223+
1621816224TI ETHERNET SWITCH DRIVER (CPSW)
1621916225R: Grygorii Strashko <grygorii.strashko@ti.com>
1622016226L: linux-omap@vger.kernel.org
Original file line number Diff line number Diff line change @@ -150,6 +150,15 @@ config TEGRA_GMI
150150 Driver for the Tegra Generic Memory Interface bus which can be used
151151 to attach devices such as NOR, UART, FPGA and more.
152152
153+ config TI_PWMSS
154+ bool
155+ default y if (ARCH_OMAP2PLUS) && (PWM_TIECAP || PWM_TIEHRPWM || TI_EQEP)
156+ help
157+ PWM Subsystem driver support for AM33xx SOC.
158+
159+ PWM submodules require PWM config space access from submodule
160+ drivers and require common parent driver support.
161+
153162config TI_SYSC
154163 bool "TI sysc interconnect target module driver"
155164 depends on ARCH_OMAP2PLUS
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ obj-$(CONFIG_SUNXI_RSB) += sunxi-rsb.o
2727obj-$(CONFIG_SIMPLE_PM_BUS) += simple-pm-bus.o
2828obj-$(CONFIG_TEGRA_ACONNECT) += tegra-aconnect.o
2929obj-$(CONFIG_TEGRA_GMI) += tegra-gmi.o
30+ obj-$(CONFIG_TI_PWMSS) += ti-pwmss.o
3031obj-$(CONFIG_TI_SYSC) += ti-sysc.o
3132obj-$(CONFIG_TS_NBUS) += ts-nbus.o
3233obj-$(CONFIG_UNIPHIER_SYSTEM_BUS) += uniphier-system-bus.o
File renamed without changes.
Original file line number Diff line number Diff line change @@ -49,6 +49,17 @@ config STM32_LPTIMER_CNT
4949 To compile this driver as a module, choose M here: the
5050 module will be called stm32-lptimer-cnt.
5151
52+ config TI_EQEP
53+ tristate "TI eQEP counter driver"
54+ depends on (SOC_AM33XX || COMPILE_TEST)
55+ select REGMAP_MMIO
56+ help
57+ Select this option to enable the Texas Instruments Enhanced Quadrature
58+ Encoder Pulse (eQEP) counter driver.
59+
60+ To compile this driver as a module, choose M here: the module will be
61+ called ti-eqep.
62+
5263config FTM_QUADDEC
5364 tristate "Flex Timer Module Quadrature decoder driver"
5465 depends on HAS_IOMEM && OF
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ obj-$(CONFIG_COUNTER) += counter.o
88obj-$(CONFIG_104_QUAD_8) += 104-quad-8.o
99obj-$(CONFIG_STM32_TIMER_CNT) += stm32-timer-cnt.o
1010obj-$(CONFIG_STM32_LPTIMER_CNT) += stm32-lptimer-cnt.o
11+ obj-$(CONFIG_TI_EQEP) += ti-eqep.o
1112obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
You can’t perform that action at this time.
0 commit comments