Re: [PATCH v9 13/27] pwm: jz4740: Use clocks from TCU driver

From: Paul Cercueil
Date: Sat Jan 05 2019 - 15:53:31 EST


Hi,

On Sat, Jan 5, 2019 at 4:45 PM, Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> wrote:
Hello,

On Thu, Dec 27, 2018 at 07:13:05PM +0100, Paul Cercueil wrote:
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 4ed003bc3d8d..0343f0c1238e 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -202,7 +202,8 @@ config PWM_IMX
config PWM_JZ4740
tristate "Ingenic JZ47xx PWM support"
depends on MACH_INGENIC
- select REGMAP
+ depends on COMMON_CLK
+ select INGENIC_TIMER

Did you drop REGMAP on purpose?

INGENIC_TIMER selects it, so it's still a dependency but indirectly.
Should I restore it?

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |