Skip to contentSkip to conversation

pwm: samsung: Allow samsung pwm driver to be enabled on Exynos7

PATCH In review Abhilash Kesavan 3 participants 3 messages Oct 31, 2014 – Nov 17, 2014 PWM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pwm: samsung: Allow samsung pwm driver to be enabled on Exynos7

To re-use the existing PWM driver for arm64 based exynos7 SoC, make the driver depend on ARCH_EXYNOS along with PLAT_SAMSUNG.

---
 drivers/pwm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pwm/Kconfig +1 -1
index ef2dd2e..e82ab69 100644
@@ -235,7 +235,7 @@ config PWM_ROCKCHIP
 
 config PWM_SAMSUNG
 	tristate "Samsung PWM support"
-	depends on PLAT_SAMSUNG
+	depends on PLAT_SAMSUNG || ARCH_EXYNOS
 	help
 	  Generic PWM framework driver for Samsung.
 
Signature · 1 line
1.7.9.5
#1 lore raw

Hi Thierry,

Quoted 13 lines · Abhilash Kesavan

To re-use the existing PWM driver for arm64 based exynos7 SoC, make the driver depend on ARCH_EXYNOS along with PLAT_SAMSUNG.

---
 drivers/pwm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pwm/Kconfig +0 -0
index ef2dd2e..e82ab69 100644

drivers/pwm/Kconfig config PWM_ROCKCHIP · line 240

Quoted 7 lines
drivers/pwm/Kconfig +1 -1
@@ -235,7 +235,7 @@ config PWM_ROCKCHIP
 
 config PWM_SAMSUNG
        tristate "Samsung PWM support"
-       depends on PLAT_SAMSUNG
+       depends on PLAT_SAMSUNG || ARCH_EXYNOS
        help
          Generic PWM framework driver for Samsung.

This is a minor change that makes it possible to re-use the samsung pwm driver on the new 64-bit exynos7 soc. Can you please review ?

Regards,
Abhilash

Quoted 4 lines
drivers/pwm/Kconfig +0 -1
--

1.7.9.5