Commit 924a8c6e authored by Stephen Boyd's avatar Stephen Boyd

Merge tag 'sunxi-clk-for-5.4-1' of...

Merge tag 'sunxi-clk-for-5.4-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into clk-allwinner

Pull Allwinner clock changes from Maxime Ripard:

A few patches to enable the V3 SoC and fix the i2s clock for the H6.

* tag 'sunxi-clk-for-5.4-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  clk: sunxi-ng: h6: Allow I2S to change parent rate
  clk: sunxi-ng: v3s: add Allwinner V3 support
  clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
  dt-bindings: clk: sunxi-ccu: add compatible string for V3 CCU
  clk: sunxi-ng: v3s: add the missing PLL_DDR1
parents 5f9e832c 65818ad0
...@@ -31,6 +31,7 @@ properties: ...@@ -31,6 +31,7 @@ properties:
- allwinner,sun8i-h3-ccu - allwinner,sun8i-h3-ccu
- allwinner,sun8i-h3-r-ccu - allwinner,sun8i-h3-r-ccu
- allwinner,sun8i-r40-ccu - allwinner,sun8i-r40-ccu
- allwinner,sun8i-v3-ccu
- allwinner,sun8i-v3s-ccu - allwinner,sun8i-v3s-ccu
- allwinner,sun9i-a80-ccu - allwinner,sun9i-a80-ccu
- allwinner,sun50i-a64-ccu - allwinner,sun50i-a64-ccu
......
...@@ -505,7 +505,7 @@ static struct ccu_div i2s3_clk = { ...@@ -505,7 +505,7 @@ static struct ccu_div i2s3_clk = {
.hw.init = CLK_HW_INIT_PARENTS("i2s3", .hw.init = CLK_HW_INIT_PARENTS("i2s3",
audio_parents, audio_parents,
&ccu_div_ops, &ccu_div_ops,
0), CLK_SET_RATE_PARENT),
}, },
}; };
...@@ -518,7 +518,7 @@ static struct ccu_div i2s0_clk = { ...@@ -518,7 +518,7 @@ static struct ccu_div i2s0_clk = {
.hw.init = CLK_HW_INIT_PARENTS("i2s0", .hw.init = CLK_HW_INIT_PARENTS("i2s0",
audio_parents, audio_parents,
&ccu_div_ops, &ccu_div_ops,
0), CLK_SET_RATE_PARENT),
}, },
}; };
...@@ -531,7 +531,7 @@ static struct ccu_div i2s1_clk = { ...@@ -531,7 +531,7 @@ static struct ccu_div i2s1_clk = {
.hw.init = CLK_HW_INIT_PARENTS("i2s1", .hw.init = CLK_HW_INIT_PARENTS("i2s1",
audio_parents, audio_parents,
&ccu_div_ops, &ccu_div_ops,
0), CLK_SET_RATE_PARENT),
}, },
}; };
...@@ -544,7 +544,7 @@ static struct ccu_div i2s2_clk = { ...@@ -544,7 +544,7 @@ static struct ccu_div i2s2_clk = {
.hw.init = CLK_HW_INIT_PARENTS("i2s2", .hw.init = CLK_HW_INIT_PARENTS("i2s2",
audio_parents, audio_parents,
&ccu_div_ops, &ccu_div_ops,
0), CLK_SET_RATE_PARENT),
}, },
}; };
......
This diff is collapsed.
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#define CLK_PLL_AUDIO_8X 5 #define CLK_PLL_AUDIO_8X 5
#define CLK_PLL_VIDEO 6 #define CLK_PLL_VIDEO 6
#define CLK_PLL_VE 7 #define CLK_PLL_VE 7
#define CLK_PLL_DDR 8 #define CLK_PLL_DDR0 8
#define CLK_PLL_PERIPH0 9 #define CLK_PLL_PERIPH0 9
#define CLK_PLL_PERIPH0_2X 10 #define CLK_PLL_PERIPH0_2X 10
#define CLK_PLL_ISP 11 #define CLK_PLL_ISP 11
...@@ -49,6 +49,8 @@ ...@@ -49,6 +49,8 @@
/* And the GPU module clock is exported */ /* And the GPU module clock is exported */
#define CLK_NUMBER (CLK_MIPI_CSI + 1) #define CLK_PLL_DDR1 74
#define CLK_NUMBER (CLK_I2S0 + 1)
#endif /* _CCU_SUN8I_H3_H_ */ #endif /* _CCU_SUN8I_H3_H_ */
...@@ -104,4 +104,8 @@ ...@@ -104,4 +104,8 @@
#define CLK_MIPI_CSI 73 #define CLK_MIPI_CSI 73
/* Clocks not available on V3s */
#define CLK_BUS_I2S0 75
#define CLK_I2S0 76
#endif /* _DT_BINDINGS_CLK_SUN8I_V3S_H_ */ #endif /* _DT_BINDINGS_CLK_SUN8I_V3S_H_ */
...@@ -75,4 +75,7 @@ ...@@ -75,4 +75,7 @@
#define RST_BUS_UART1 50 #define RST_BUS_UART1 50
#define RST_BUS_UART2 51 #define RST_BUS_UART2 51
/* Reset lines not available on V3s */
#define RST_BUS_I2S0 52
#endif /* _DT_BINDINGS_RST_SUN8I_H3_H_ */ #endif /* _DT_BINDINGS_RST_SUN8I_H3_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment