Skip to content

Commit 3a49afb

Browse files
Riku Voipiobebarino
authored andcommitted
clk: enable hi655x common clk automatically
Without COMMON_CLK_HI655X Wifi and bluetooth are non-functional on Hikey. As suggested by Arnd, enable the driver automatically when the parent driver is selected. With sensible defaults in place, we can leave other choices for EXPERT. Cc: John Stultz <john.stultz@linaro.org> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Suggested-by: Arnd Bergmann <arnd@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 7928b2c commit 3a49afb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎drivers/clk/Kconfig‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ config COMMON_CLK_RK808
5555
by control register.
5656

5757
config COMMON_CLK_HI655X
58-
tristate "Clock driver for Hi655x"
59-
depends on MFD_HI655X_PMIC || COMPILE_TEST
58+
tristate "Clock driver for Hi655x" if EXPERT
59+
depends on (MFD_HI655X_PMIC || COMPILE_TEST)
60+
depends on REGMAP
61+
default MFD_HI655X_PMIC
6062
---help---
6163
This driver supports the hi655x PMIC clock. This
6264
multi-function device has one fixed-rate oscillator, clocked

0 commit comments

Comments
 (0)