* [PATCH] pwm: pca9685: depends on I2C rather than REGMAP_I2C
@ 2013-12-17 3:51 Axel Lin
2013-12-17 9:15 ` Steffen Trumtrar
2013-12-17 9:33 ` Thierry Reding
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2013-12-17 3:51 UTC (permalink / raw)
To: Thierry Reding; +Cc: Steffen Trumtrar, linux-pwm
REGMAP_I2C is not a visible config option.
Thus make PWM_PCA9685 depend on I2c and then select REGMAP_I2C.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/pwm/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 77aef3b..7139e1d 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -122,7 +122,8 @@ config PWM_MXS
config PWM_PCA9685
tristate "NXP PCA9685 PWM driver"
- depends on OF && REGMAP_I2C
+ depends on OF && I2C
+ select REGMAP_I2C
help
Generic PWM framework driver for NXP PCA9685 LED controller.
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] pwm: pca9685: depends on I2C rather than REGMAP_I2C
2013-12-17 3:51 [PATCH] pwm: pca9685: depends on I2C rather than REGMAP_I2C Axel Lin
@ 2013-12-17 9:15 ` Steffen Trumtrar
2013-12-17 9:33 ` Thierry Reding
1 sibling, 0 replies; 3+ messages in thread
From: Steffen Trumtrar @ 2013-12-17 9:15 UTC (permalink / raw)
To: Axel Lin; +Cc: Thierry Reding, linux-pwm
On Tue, Dec 17, 2013 at 11:51:29AM +0800, Axel Lin wrote:
> REGMAP_I2C is not a visible config option.
> Thus make PWM_PCA9685 depend on I2c and then select REGMAP_I2C.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/pwm/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index 77aef3b..7139e1d 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -122,7 +122,8 @@ config PWM_MXS
>
> config PWM_PCA9685
> tristate "NXP PCA9685 PWM driver"
> - depends on OF && REGMAP_I2C
> + depends on OF && I2C
> + select REGMAP_I2C
> help
> Generic PWM framework driver for NXP PCA9685 LED controller.
>
Acked-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Thanks,
Steffen
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] pwm: pca9685: depends on I2C rather than REGMAP_I2C
2013-12-17 3:51 [PATCH] pwm: pca9685: depends on I2C rather than REGMAP_I2C Axel Lin
2013-12-17 9:15 ` Steffen Trumtrar
@ 2013-12-17 9:33 ` Thierry Reding
1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2013-12-17 9:33 UTC (permalink / raw)
To: Axel Lin; +Cc: Steffen Trumtrar, linux-pwm
[-- Attachment #1: Type: text/plain, Size: 346 bytes --]
On Tue, Dec 17, 2013 at 11:51:29AM +0800, Axel Lin wrote:
> REGMAP_I2C is not a visible config option.
> Thus make PWM_PCA9685 depend on I2c and then select REGMAP_I2C.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/pwm/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied, thanks.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-17 9:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 3:51 [PATCH] pwm: pca9685: depends on I2C rather than REGMAP_I2C Axel Lin
2013-12-17 9:15 ` Steffen Trumtrar
2013-12-17 9:33 ` Thierry Reding
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.