Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: clock: spacemit: introduce i2s pre-clock to fix i2s clock

Previously, the K1 clock driver did not include the parent clocks of
the I2S sysclk.

Introduce pre-clock to fix I2S clock.

Otherwise, the I2S clock may not work as expected.

This patch adds their definitions to allow proper registration
in the driver and usage in the device tree.

Fixes: 1b72c59db0add ("clk: spacemit: Add clock support for SpacemiT K1 SoC")
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Troy Mitchell and committed by
Stephen Boyd
8be1f299 8de790a3

+4
+4
include/dt-bindings/clock/spacemit,k1-syscon.h
··· 77 77 #define CLK_I2S_BCLK 30 78 78 #define CLK_APB 31 79 79 #define CLK_WDT_BUS 32 80 + #define CLK_I2S_153P6 33 81 + #define CLK_I2S_153P6_BASE 34 82 + #define CLK_I2S_SYSCLK_SRC 35 83 + #define CLK_I2S_BCLK_FACTOR 36 80 84 81 85 /* MPMU resets */ 82 86 #define RESET_WDT 0