linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pwm: tipwmss: enable on TI DRA7x and AM437x
@ 2015-09-08 15:14 Sekhar Nori
  2015-10-05 15:20 ` Thierry Reding
  0 siblings, 1 reply; 3+ messages in thread
From: Sekhar Nori @ 2015-09-08 15:14 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-pwm, Linux OMAP Mailing List, Vignesh R

From: Vignesh R <vigneshr@ti.com>

TIPWMSS is present on TI's DRA7x and
AM437x SoCs. Enable its usage.

Instead of adding each SoC individually,
use the more generic ARCH_OMAP2PLUS
instead.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 drivers/pwm/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index b1541f40fd8d..c446f367f18a 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -319,7 +319,7 @@ config PWM_TEGRA
 
 config  PWM_TIECAP
 	tristate "ECAP PWM support"
-	depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
+	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX
 	help
 	  PWM driver support for the ECAP APWM controller found on AM33XX
 	  TI SOC
@@ -329,7 +329,7 @@ config  PWM_TIECAP
 
 config  PWM_TIEHRPWM
 	tristate "EHRPWM PWM support"
-	depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
+	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX
 	help
 	  PWM driver support for the EHRPWM controller found on AM33XX
 	  TI SOC
@@ -339,7 +339,7 @@ config  PWM_TIEHRPWM
 
 config  PWM_TIPWMSS
 	bool
-	default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM)
+	default y if (ARCH_OMAP2PLUS) && (PWM_TIECAP || PWM_TIEHRPWM)
 	help
 	  PWM Subsystem driver support for AM33xx SOC.
 
-- 
2.4.4.408.g16da57c

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] pwm: tipwmss: enable on TI DRA7x and AM437x
  2015-09-08 15:14 [PATCH] pwm: tipwmss: enable on TI DRA7x and AM437x Sekhar Nori
@ 2015-10-05 15:20 ` Thierry Reding
  2015-10-06  6:02   ` Sekhar Nori
  0 siblings, 1 reply; 3+ messages in thread
From: Thierry Reding @ 2015-10-05 15:20 UTC (permalink / raw)
  To: Sekhar Nori; +Cc: linux-pwm, Linux OMAP Mailing List, Vignesh R

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

On Tue, Sep 08, 2015 at 08:44:05PM +0530, Sekhar Nori wrote:
> From: Vignesh R <vigneshr@ti.com>
> 
> TIPWMSS is present on TI's DRA7x and
> AM437x SoCs. Enable its usage.
> 
> Instead of adding each SoC individually,
> use the more generic ARCH_OMAP2PLUS
> instead.
> 
> Signed-off-by: Vignesh R <vigneshr@ti.com>
> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
> ---
>  drivers/pwm/Kconfig | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks. In the future, try to make use of the 78 columns. There
is no need to make lines as short as you did.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] pwm: tipwmss: enable on TI DRA7x and AM437x
  2015-10-05 15:20 ` Thierry Reding
@ 2015-10-06  6:02   ` Sekhar Nori
  0 siblings, 0 replies; 3+ messages in thread
From: Sekhar Nori @ 2015-10-06  6:02 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-pwm, Linux OMAP Mailing List, Vignesh R

On Monday 05 October 2015 08:50 PM, Thierry Reding wrote:
> On Tue, Sep 08, 2015 at 08:44:05PM +0530, Sekhar Nori wrote:
>> From: Vignesh R <vigneshr@ti.com>
>>
>> TIPWMSS is present on TI's DRA7x and
>> AM437x SoCs. Enable its usage.
>>
>> Instead of adding each SoC individually,
>> use the more generic ARCH_OMAP2PLUS
>> instead.
>>
>> Signed-off-by: Vignesh R <vigneshr@ti.com>
>> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
>> ---
>>  drivers/pwm/Kconfig | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> Applied, thanks. In the future, try to make use of the 78 columns. There
> is no need to make lines as short as you did.

Alright.

Thanks,
Sekhar

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-06  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 15:14 [PATCH] pwm: tipwmss: enable on TI DRA7x and AM437x Sekhar Nori
2015-10-05 15:20 ` Thierry Reding
2015-10-06  6:02   ` Sekhar Nori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).