HSDK and HSDK-4xD clock trees are slightly different. commit 1dfb2ec0d7fb ("ARC: HSDK: CGU: add support for timer clock") introduce regression for HSDK board cause crash when setting tunnel clock.
Fix that and do required code cleanup. Eugeniy Paltsev (8): CLK: ARC: HSDK: avoid code duplication CLK: ARC: HSDK: drop unused offset CLK: ARC: HSDK: use appropriate config data types CLK: ARC: HSDK: driver cleanup CLK: ARC: HSDK: prepare for multiple clock maps support CLK: ARC: HSDK: make set_clock optional CLK: ARC: HSDK: define clock map with DT binding constants CLK: ARC: HSDK: add separate clock map for HSDK-4xD drivers/clk/Kconfig | 7 +- drivers/clk/clk-hsdk-cgu.c | 355 +++++++++++++++++++++---------------- 2 files changed, 202 insertions(+), 160 deletions(-) -- 2.21.3