]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pwm: tiehrpwm: Enable compilation for ARCH_K3
authorVignesh Raghavendra <vigneshr@ti.com>
Tue, 12 Mar 2019 09:16:29 +0000 (14:46 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 20 Mar 2019 11:33:51 +0000 (12:33 +0100)
K3 devices have the same EHRPWM IP as OMAP SoCs. Enable the driver to be
built for K3 devices. Also, drop reference to AM33xx in help text, as IP
is found on multiple TI SoCs.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/Kconfig

index 54f8238aac0dece5e2469c0ba02f5e7c7d1d49c0..c054bd1dba36c57dee9961b8fca2726cec5527a6 100644 (file)
@@ -467,10 +467,9 @@ config  PWM_TIECAP
 
 config  PWM_TIEHRPWM
        tristate "EHRPWM PWM support"
-       depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX
+       depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3
        help
-         PWM driver support for the EHRPWM controller found on AM33XX
-         TI SOC
+         PWM driver support for the EHRPWM controller found on TI SOCs
 
          To compile this driver as a module, choose M here: the module
          will be called pwm-tiehrpwm.