Previously the clock support for only implemented for TWL6032 so add it also for the TWL6030. There are devices out there where especially WLAN only works if these clocks are enabled by some patched U-Boot. This allows to explicitly specify the clock requirements. Changes in V5: - fix unprepare 6032 vs 30 mismatch Changes in V4: - cleanup if (TWL6032_SUBCLASS) Changes in V3: - use type enum in driver_data and twl_clock_info - revert back to store device instead of platform_device Changes in V2: - cleanup some defines - no separate ops for 6030 - remove is_prepared() - update Kconfig Andreas Kemnade (3): mfd: twl-core: Add a clock subdevice for the TWL6030 clk: twl: remove is_prepared clk: twl: add TWL6030 support drivers/clk/Kconfig | 2 +- drivers/clk/clk-twl.c | 69 ++++++++++++++++++++++++++---------------- drivers/mfd/twl-core.c | 26 +++++++++++----- 3 files changed, 62 insertions(+), 35 deletions(-) -- 2.39.5