On 06/16/2016 03:23 PM, Laxman Dewangan wrote:
quoted hunk ↗ jump to hunk
Maxim Max77620 has one 32KHz clock output and the clock HW
IP used on this PMIC is same as what it is there in the MAX77686.
Add clock driver support for MAX77620 on the MAX77686 driver.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
CC: Krzysztof Kozlowski <redacted>
CC: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Krzysztof Kozlowski <redacted>
---
Changes from V1:
- Updated based on changes done in first patch.
---
drivers/clk/Kconfig | 7 ++++---
drivers/clk/clk-max77686.c | 18 ++++++++++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 6afad74..d75f4c5 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -32,10 +32,11 @@ config COMMON_CLK_WM831X
source "drivers/clk/versatile/Kconfig"
config COMMON_CLK_MAX77686
- tristate "Clock driver for Maxim 77686/77802 MFD"
- depends on MFD_MAX77686
+ tristate "Clock driver for Maxim 77686/77802/MAX77620 MFD"
You missed Javier's comment here. Just
"Maxim 77686/77802/77620"
+ depends on MFD_MAX77686 || MFD_MAX77620
---help---
- This driver supports Maxim 77686/77802 crystal oscillator clock.
+ This driver supports Maxim 77686/77802/MAX77620 crystal oscillator
Ditto
Beside that:
Reviewed-by: Krzysztof Kozlowski <redacted>
Best regards,
Krzysztof