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 <[email protected]> Cc: Wei Xu <[email protected]> Cc: Daniel Lezcano <[email protected]> Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Riku Voipio <[email protected]> Reviewed-by: Ulf Hansson <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 7928b2c commit 3a49afb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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)