diff mbox

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

Message ID 1414759126-4608-1-git-send-email-a.kesavan@samsung.com
State Accepted
Headers show

Commit Message

Abhilash Kesavan Oct. 31, 2014, 12:38 p.m. UTC
To re-use the existing PWM driver for arm64 based exynos7 SoC,
make the driver depend on ARCH_EXYNOS along with PLAT_SAMSUNG.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
---
 drivers/pwm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Abhilash Kesavan Nov. 14, 2014, 2:08 p.m. UTC | #1
Hi Thierry,

On Fri, Oct 31, 2014 at 6:08 PM, Abhilash Kesavan <a.kesavan@samsung.com> wrote:
> To re-use the existing PWM driver for arm64 based exynos7 SoC,
> make the driver depend on ARCH_EXYNOS along with PLAT_SAMSUNG.
>
> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
> ---
>  drivers/pwm/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index ef2dd2e..e82ab69 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -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
>
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-pwm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thierry Reding Nov. 17, 2014, 11:25 a.m. UTC | #2
On Fri, Oct 31, 2014 at 06:08:46PM +0530, Abhilash Kesavan wrote:
> To re-use the existing PWM driver for arm64 based exynos7 SoC,
> make the driver depend on ARCH_EXYNOS along with PLAT_SAMSUNG.
> 
> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
> ---
>  drivers/pwm/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied (with minor spelling fixups), thanks.

Thierry
diff mbox

Patch

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index ef2dd2e..e82ab69 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -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.