@@ -50,6 +50,8 @@ static SUNXI_CCU_M(mixer1_div_a83_clk, "mixer1-div", "pll-de", 0x0c, 4, 4,
50
50
CLK_SET_RATE_PARENT );
51
51
static SUNXI_CCU_M (wb_div_a83_clk , "wb-div" , "pll-de" , 0x0c , 8 , 4 ,
52
52
CLK_SET_RATE_PARENT );
53
+ static SUNXI_CCU_M (rot_div_a83_clk , "rot-div" , "pll-de" , 0x0c , 0x0c , 4 ,
54
+ CLK_SET_RATE_PARENT );
53
55
54
56
static struct ccu_common * sun8i_a83t_de2_clks [] = {
55
57
& mixer0_clk .common ,
@@ -63,6 +65,10 @@ static struct ccu_common *sun8i_a83t_de2_clks[] = {
63
65
& mixer0_div_a83_clk .common ,
64
66
& mixer1_div_a83_clk .common ,
65
67
& wb_div_a83_clk .common ,
68
+
69
+ & bus_rot_clk .common ,
70
+ & rot_clk .common ,
71
+ & rot_div_a83_clk .common ,
66
72
};
67
73
68
74
static struct ccu_common * sun8i_h3_de2_clks [] = {
@@ -113,16 +119,19 @@ static struct clk_hw_onecell_data sun8i_a83t_de2_hw_clks = {
113
119
[CLK_MIXER0 ] = & mixer0_clk .common .hw ,
114
120
[CLK_MIXER1 ] = & mixer1_clk .common .hw ,
115
121
[CLK_WB ] = & wb_clk .common .hw ,
122
+ [CLK_ROT ] = & rot_clk .common .hw ,
116
123
117
124
[CLK_BUS_MIXER0 ] = & bus_mixer0_clk .common .hw ,
118
125
[CLK_BUS_MIXER1 ] = & bus_mixer1_clk .common .hw ,
119
126
[CLK_BUS_WB ] = & bus_wb_clk .common .hw ,
127
+ [CLK_BUS_ROT ] = & bus_rot_clk .common .hw ,
120
128
121
129
[CLK_MIXER0_DIV ] = & mixer0_div_a83_clk .common .hw ,
122
130
[CLK_MIXER1_DIV ] = & mixer1_div_a83_clk .common .hw ,
123
131
[CLK_WB_DIV ] = & wb_div_a83_clk .common .hw ,
132
+ [CLK_ROT_DIV ] = & rot_div_a83_clk .common .hw ,
124
133
},
125
- .num = CLK_NUMBER_WITHOUT_ROT ,
134
+ .num = CLK_NUMBER_WITH_ROT ,
126
135
};
127
136
128
137
static struct clk_hw_onecell_data sun8i_h3_de2_hw_clks = {
@@ -183,6 +192,7 @@ static struct ccu_reset_map sun8i_a83t_de2_resets[] = {
183
192
* exported here.
184
193
*/
185
194
[RST_WB ] = { 0x08 , BIT (2 ) },
195
+ [RST_ROT ] = { 0x08 , BIT (3 ) },
186
196
};
187
197
188
198
static struct ccu_reset_map sun8i_h3_de2_resets [] = {
0 commit comments