@@ -207,7 +207,7 @@ static struct clk_regmap meson8b_hdmi_pll_dco = {
207
207
.hw .init = & (struct clk_init_data ){
208
208
/* sometimes also called "HPLL" or "HPLL PLL" */
209
209
.name = "hdmi_pll_dco" ,
210
- .ops = & meson_clk_pll_ro_ops ,
210
+ .ops = & meson_clk_pll_ops ,
211
211
.parent_hws = (const struct clk_hw * []) {
212
212
& hdmi_pll_dco_in .hw
213
213
},
@@ -224,7 +224,7 @@ static struct clk_regmap meson8b_hdmi_pll_lvds_out = {
224
224
},
225
225
.hw .init = & (struct clk_init_data ){
226
226
.name = "hdmi_pll_lvds_out" ,
227
- .ops = & clk_regmap_divider_ro_ops ,
227
+ .ops = & clk_regmap_divider_ops ,
228
228
.parent_hws = (const struct clk_hw * []) {
229
229
& meson8b_hdmi_pll_dco .hw
230
230
},
@@ -242,7 +242,7 @@ static struct clk_regmap meson8b_hdmi_pll_hdmi_out = {
242
242
},
243
243
.hw .init = & (struct clk_init_data ){
244
244
.name = "hdmi_pll_hdmi_out" ,
245
- .ops = & clk_regmap_divider_ro_ops ,
245
+ .ops = & clk_regmap_divider_ops ,
246
246
.parent_hws = (const struct clk_hw * []) {
247
247
& meson8b_hdmi_pll_dco .hw
248
248
},
@@ -1104,7 +1104,7 @@ static struct clk_regmap meson8b_vid_pll_lvds_en = {
1104
1104
},
1105
1105
.hw .init = & (struct clk_init_data ){
1106
1106
.name = "vid_pll_lvds_en" ,
1107
- .ops = & clk_regmap_gate_ro_ops ,
1107
+ .ops = & clk_regmap_gate_ops ,
1108
1108
.parent_hws = (const struct clk_hw * []) {
1109
1109
& meson8b_hdmi_pll_lvds_out .hw
1110
1110
},
@@ -1121,7 +1121,7 @@ static struct clk_regmap meson8b_vid_pll_in_sel = {
1121
1121
},
1122
1122
.hw .init = & (struct clk_init_data ){
1123
1123
.name = "vid_pll_in_sel" ,
1124
- .ops = & clk_regmap_mux_ro_ops ,
1124
+ .ops = & clk_regmap_mux_ops ,
1125
1125
/*
1126
1126
* TODO: depending on the SoC there is also a second parent:
1127
1127
* Meson8: unknown
@@ -1143,7 +1143,7 @@ static struct clk_regmap meson8b_vid_pll_in_en = {
1143
1143
},
1144
1144
.hw .init = & (struct clk_init_data ){
1145
1145
.name = "vid_pll_in_en" ,
1146
- .ops = & clk_regmap_gate_ro_ops ,
1146
+ .ops = & clk_regmap_gate_ops ,
1147
1147
.parent_hws = (const struct clk_hw * []) {
1148
1148
& meson8b_vid_pll_in_sel .hw
1149
1149
},
@@ -1160,7 +1160,7 @@ static struct clk_regmap meson8b_vid_pll_pre_div = {
1160
1160
},
1161
1161
.hw .init = & (struct clk_init_data ){
1162
1162
.name = "vid_pll_pre_div" ,
1163
- .ops = & clk_regmap_divider_ro_ops ,
1163
+ .ops = & clk_regmap_divider_ops ,
1164
1164
.parent_hws = (const struct clk_hw * []) {
1165
1165
& meson8b_vid_pll_in_en .hw
1166
1166
},
@@ -1177,7 +1177,7 @@ static struct clk_regmap meson8b_vid_pll_post_div = {
1177
1177
},
1178
1178
.hw .init = & (struct clk_init_data ){
1179
1179
.name = "vid_pll_post_div" ,
1180
- .ops = & clk_regmap_divider_ro_ops ,
1180
+ .ops = & clk_regmap_divider_ops ,
1181
1181
.parent_hws = (const struct clk_hw * []) {
1182
1182
& meson8b_vid_pll_pre_div .hw
1183
1183
},
@@ -1194,7 +1194,7 @@ static struct clk_regmap meson8b_vid_pll = {
1194
1194
},
1195
1195
.hw .init = & (struct clk_init_data ){
1196
1196
.name = "vid_pll" ,
1197
- .ops = & clk_regmap_mux_ro_ops ,
1197
+ .ops = & clk_regmap_mux_ops ,
1198
1198
/* TODO: parent 0x2 is vid_pll_pre_div_mult7_div2 */
1199
1199
.parent_hws = (const struct clk_hw * []) {
1200
1200
& meson8b_vid_pll_pre_div .hw ,
@@ -1213,7 +1213,7 @@ static struct clk_regmap meson8b_vid_pll_final_div = {
1213
1213
},
1214
1214
.hw .init = & (struct clk_init_data ){
1215
1215
.name = "vid_pll_final_div" ,
1216
- .ops = & clk_regmap_divider_ro_ops ,
1216
+ .ops = & clk_regmap_divider_ops ,
1217
1217
.parent_hws = (const struct clk_hw * []) {
1218
1218
& meson8b_vid_pll .hw
1219
1219
},
@@ -1240,7 +1240,7 @@ static struct clk_regmap meson8b_vclk_in_sel = {
1240
1240
},
1241
1241
.hw .init = & (struct clk_init_data ){
1242
1242
.name = "vclk_in_sel" ,
1243
- .ops = & clk_regmap_mux_ro_ops ,
1243
+ .ops = & clk_regmap_mux_ops ,
1244
1244
.parent_hws = meson8b_vclk_mux_parent_hws ,
1245
1245
.num_parents = ARRAY_SIZE (meson8b_vclk_mux_parent_hws ),
1246
1246
.flags = CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT ,
@@ -1254,7 +1254,7 @@ static struct clk_regmap meson8b_vclk_in_en = {
1254
1254
},
1255
1255
.hw .init = & (struct clk_init_data ){
1256
1256
.name = "vclk_in_en" ,
1257
- .ops = & clk_regmap_gate_ro_ops ,
1257
+ .ops = & clk_regmap_gate_ops ,
1258
1258
.parent_hws = (const struct clk_hw * []) {
1259
1259
& meson8b_vclk_in_sel .hw
1260
1260
},
@@ -1270,7 +1270,7 @@ static struct clk_regmap meson8b_vclk_en = {
1270
1270
},
1271
1271
.hw .init = & (struct clk_init_data ){
1272
1272
.name = "vclk_en" ,
1273
- .ops = & clk_regmap_gate_ro_ops ,
1273
+ .ops = & clk_regmap_gate_ops ,
1274
1274
.parent_hws = (const struct clk_hw * []) {
1275
1275
& meson8b_vclk_in_en .hw
1276
1276
},
@@ -1286,7 +1286,7 @@ static struct clk_regmap meson8b_vclk_div1_gate = {
1286
1286
},
1287
1287
.hw .init = & (struct clk_init_data ){
1288
1288
.name = "vclk_div1_en" ,
1289
- .ops = & clk_regmap_gate_ro_ops ,
1289
+ .ops = & clk_regmap_gate_ops ,
1290
1290
.parent_hws = (const struct clk_hw * []) {
1291
1291
& meson8b_vclk_en .hw
1292
1292
},
@@ -1316,7 +1316,7 @@ static struct clk_regmap meson8b_vclk_div2_div_gate = {
1316
1316
},
1317
1317
.hw .init = & (struct clk_init_data ){
1318
1318
.name = "vclk_div2_en" ,
1319
- .ops = & clk_regmap_gate_ro_ops ,
1319
+ .ops = & clk_regmap_gate_ops ,
1320
1320
.parent_hws = (const struct clk_hw * []) {
1321
1321
& meson8b_vclk_div2_div .hw
1322
1322
},
@@ -1346,7 +1346,7 @@ static struct clk_regmap meson8b_vclk_div4_div_gate = {
1346
1346
},
1347
1347
.hw .init = & (struct clk_init_data ){
1348
1348
.name = "vclk_div4_en" ,
1349
- .ops = & clk_regmap_gate_ro_ops ,
1349
+ .ops = & clk_regmap_gate_ops ,
1350
1350
.parent_hws = (const struct clk_hw * []) {
1351
1351
& meson8b_vclk_div4_div .hw
1352
1352
},
@@ -1376,7 +1376,7 @@ static struct clk_regmap meson8b_vclk_div6_div_gate = {
1376
1376
},
1377
1377
.hw .init = & (struct clk_init_data ){
1378
1378
.name = "vclk_div6_en" ,
1379
- .ops = & clk_regmap_gate_ro_ops ,
1379
+ .ops = & clk_regmap_gate_ops ,
1380
1380
.parent_hws = (const struct clk_hw * []) {
1381
1381
& meson8b_vclk_div6_div .hw
1382
1382
},
@@ -1406,7 +1406,7 @@ static struct clk_regmap meson8b_vclk_div12_div_gate = {
1406
1406
},
1407
1407
.hw .init = & (struct clk_init_data ){
1408
1408
.name = "vclk_div12_en" ,
1409
- .ops = & clk_regmap_gate_ro_ops ,
1409
+ .ops = & clk_regmap_gate_ops ,
1410
1410
.parent_hws = (const struct clk_hw * []) {
1411
1411
& meson8b_vclk_div12_div .hw
1412
1412
},
@@ -1423,7 +1423,7 @@ static struct clk_regmap meson8b_vclk2_in_sel = {
1423
1423
},
1424
1424
.hw .init = & (struct clk_init_data ){
1425
1425
.name = "vclk2_in_sel" ,
1426
- .ops = & clk_regmap_mux_ro_ops ,
1426
+ .ops = & clk_regmap_mux_ops ,
1427
1427
.parent_hws = meson8b_vclk_mux_parent_hws ,
1428
1428
.num_parents = ARRAY_SIZE (meson8b_vclk_mux_parent_hws ),
1429
1429
.flags = CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT ,
@@ -1437,7 +1437,7 @@ static struct clk_regmap meson8b_vclk2_clk_in_en = {
1437
1437
},
1438
1438
.hw .init = & (struct clk_init_data ){
1439
1439
.name = "vclk2_in_en" ,
1440
- .ops = & clk_regmap_gate_ro_ops ,
1440
+ .ops = & clk_regmap_gate_ops ,
1441
1441
.parent_hws = (const struct clk_hw * []) {
1442
1442
& meson8b_vclk2_in_sel .hw
1443
1443
},
@@ -1453,7 +1453,7 @@ static struct clk_regmap meson8b_vclk2_clk_en = {
1453
1453
},
1454
1454
.hw .init = & (struct clk_init_data ){
1455
1455
.name = "vclk2_en" ,
1456
- .ops = & clk_regmap_gate_ro_ops ,
1456
+ .ops = & clk_regmap_gate_ops ,
1457
1457
.parent_hws = (const struct clk_hw * []) {
1458
1458
& meson8b_vclk2_clk_in_en .hw
1459
1459
},
@@ -1469,7 +1469,7 @@ static struct clk_regmap meson8b_vclk2_div1_gate = {
1469
1469
},
1470
1470
.hw .init = & (struct clk_init_data ){
1471
1471
.name = "vclk2_div1_en" ,
1472
- .ops = & clk_regmap_gate_ro_ops ,
1472
+ .ops = & clk_regmap_gate_ops ,
1473
1473
.parent_hws = (const struct clk_hw * []) {
1474
1474
& meson8b_vclk2_clk_en .hw
1475
1475
},
@@ -1499,7 +1499,7 @@ static struct clk_regmap meson8b_vclk2_div2_div_gate = {
1499
1499
},
1500
1500
.hw .init = & (struct clk_init_data ){
1501
1501
.name = "vclk2_div2_en" ,
1502
- .ops = & clk_regmap_gate_ro_ops ,
1502
+ .ops = & clk_regmap_gate_ops ,
1503
1503
.parent_hws = (const struct clk_hw * []) {
1504
1504
& meson8b_vclk2_div2_div .hw
1505
1505
},
@@ -1529,7 +1529,7 @@ static struct clk_regmap meson8b_vclk2_div4_div_gate = {
1529
1529
},
1530
1530
.hw .init = & (struct clk_init_data ){
1531
1531
.name = "vclk2_div4_en" ,
1532
- .ops = & clk_regmap_gate_ro_ops ,
1532
+ .ops = & clk_regmap_gate_ops ,
1533
1533
.parent_hws = (const struct clk_hw * []) {
1534
1534
& meson8b_vclk2_div4_div .hw
1535
1535
},
@@ -1559,7 +1559,7 @@ static struct clk_regmap meson8b_vclk2_div6_div_gate = {
1559
1559
},
1560
1560
.hw .init = & (struct clk_init_data ){
1561
1561
.name = "vclk2_div6_en" ,
1562
- .ops = & clk_regmap_gate_ro_ops ,
1562
+ .ops = & clk_regmap_gate_ops ,
1563
1563
.parent_hws = (const struct clk_hw * []) {
1564
1564
& meson8b_vclk2_div6_div .hw
1565
1565
},
@@ -1589,7 +1589,7 @@ static struct clk_regmap meson8b_vclk2_div12_div_gate = {
1589
1589
},
1590
1590
.hw .init = & (struct clk_init_data ){
1591
1591
.name = "vclk2_div12_en" ,
1592
- .ops = & clk_regmap_gate_ro_ops ,
1592
+ .ops = & clk_regmap_gate_ops ,
1593
1593
.parent_hws = (const struct clk_hw * []) {
1594
1594
& meson8b_vclk2_div12_div .hw
1595
1595
},
@@ -1614,7 +1614,7 @@ static struct clk_regmap meson8b_cts_enct_sel = {
1614
1614
},
1615
1615
.hw .init = & (struct clk_init_data ){
1616
1616
.name = "cts_enct_sel" ,
1617
- .ops = & clk_regmap_mux_ro_ops ,
1617
+ .ops = & clk_regmap_mux_ops ,
1618
1618
.parent_hws = meson8b_vclk_enc_mux_parent_hws ,
1619
1619
.num_parents = ARRAY_SIZE (meson8b_vclk_enc_mux_parent_hws ),
1620
1620
.flags = CLK_SET_RATE_PARENT ,
@@ -1628,7 +1628,7 @@ static struct clk_regmap meson8b_cts_enct = {
1628
1628
},
1629
1629
.hw .init = & (struct clk_init_data ){
1630
1630
.name = "cts_enct" ,
1631
- .ops = & clk_regmap_gate_ro_ops ,
1631
+ .ops = & clk_regmap_gate_ops ,
1632
1632
.parent_hws = (const struct clk_hw * []) {
1633
1633
& meson8b_cts_enct_sel .hw
1634
1634
},
@@ -1645,7 +1645,7 @@ static struct clk_regmap meson8b_cts_encp_sel = {
1645
1645
},
1646
1646
.hw .init = & (struct clk_init_data ){
1647
1647
.name = "cts_encp_sel" ,
1648
- .ops = & clk_regmap_mux_ro_ops ,
1648
+ .ops = & clk_regmap_mux_ops ,
1649
1649
.parent_hws = meson8b_vclk_enc_mux_parent_hws ,
1650
1650
.num_parents = ARRAY_SIZE (meson8b_vclk_enc_mux_parent_hws ),
1651
1651
.flags = CLK_SET_RATE_PARENT ,
@@ -1659,7 +1659,7 @@ static struct clk_regmap meson8b_cts_encp = {
1659
1659
},
1660
1660
.hw .init = & (struct clk_init_data ){
1661
1661
.name = "cts_encp" ,
1662
- .ops = & clk_regmap_gate_ro_ops ,
1662
+ .ops = & clk_regmap_gate_ops ,
1663
1663
.parent_hws = (const struct clk_hw * []) {
1664
1664
& meson8b_cts_encp_sel .hw
1665
1665
},
@@ -1676,7 +1676,7 @@ static struct clk_regmap meson8b_cts_enci_sel = {
1676
1676
},
1677
1677
.hw .init = & (struct clk_init_data ){
1678
1678
.name = "cts_enci_sel" ,
1679
- .ops = & clk_regmap_mux_ro_ops ,
1679
+ .ops = & clk_regmap_mux_ops ,
1680
1680
.parent_hws = meson8b_vclk_enc_mux_parent_hws ,
1681
1681
.num_parents = ARRAY_SIZE (meson8b_vclk_enc_mux_parent_hws ),
1682
1682
.flags = CLK_SET_RATE_PARENT ,
@@ -1690,7 +1690,7 @@ static struct clk_regmap meson8b_cts_enci = {
1690
1690
},
1691
1691
.hw .init = & (struct clk_init_data ){
1692
1692
.name = "cts_enci" ,
1693
- .ops = & clk_regmap_gate_ro_ops ,
1693
+ .ops = & clk_regmap_gate_ops ,
1694
1694
.parent_hws = (const struct clk_hw * []) {
1695
1695
& meson8b_cts_enci_sel .hw
1696
1696
},
@@ -1707,7 +1707,7 @@ static struct clk_regmap meson8b_hdmi_tx_pixel_sel = {
1707
1707
},
1708
1708
.hw .init = & (struct clk_init_data ){
1709
1709
.name = "hdmi_tx_pixel_sel" ,
1710
- .ops = & clk_regmap_mux_ro_ops ,
1710
+ .ops = & clk_regmap_mux_ops ,
1711
1711
.parent_hws = meson8b_vclk_enc_mux_parent_hws ,
1712
1712
.num_parents = ARRAY_SIZE (meson8b_vclk_enc_mux_parent_hws ),
1713
1713
.flags = CLK_SET_RATE_PARENT ,
@@ -1721,7 +1721,7 @@ static struct clk_regmap meson8b_hdmi_tx_pixel = {
1721
1721
},
1722
1722
.hw .init = & (struct clk_init_data ){
1723
1723
.name = "hdmi_tx_pixel" ,
1724
- .ops = & clk_regmap_gate_ro_ops ,
1724
+ .ops = & clk_regmap_gate_ops ,
1725
1725
.parent_hws = (const struct clk_hw * []) {
1726
1726
& meson8b_hdmi_tx_pixel_sel .hw
1727
1727
},
@@ -1746,7 +1746,7 @@ static struct clk_regmap meson8b_cts_encl_sel = {
1746
1746
},
1747
1747
.hw .init = & (struct clk_init_data ){
1748
1748
.name = "cts_encl_sel" ,
1749
- .ops = & clk_regmap_mux_ro_ops ,
1749
+ .ops = & clk_regmap_mux_ops ,
1750
1750
.parent_hws = meson8b_vclk2_enc_mux_parent_hws ,
1751
1751
.num_parents = ARRAY_SIZE (meson8b_vclk2_enc_mux_parent_hws ),
1752
1752
.flags = CLK_SET_RATE_PARENT ,
@@ -1760,7 +1760,7 @@ static struct clk_regmap meson8b_cts_encl = {
1760
1760
},
1761
1761
.hw .init = & (struct clk_init_data ){
1762
1762
.name = "cts_encl" ,
1763
- .ops = & clk_regmap_gate_ro_ops ,
1763
+ .ops = & clk_regmap_gate_ops ,
1764
1764
.parent_hws = (const struct clk_hw * []) {
1765
1765
& meson8b_cts_encl_sel .hw
1766
1766
},
@@ -1777,7 +1777,7 @@ static struct clk_regmap meson8b_cts_vdac0_sel = {
1777
1777
},
1778
1778
.hw .init = & (struct clk_init_data ){
1779
1779
.name = "cts_vdac0_sel" ,
1780
- .ops = & clk_regmap_mux_ro_ops ,
1780
+ .ops = & clk_regmap_mux_ops ,
1781
1781
.parent_hws = meson8b_vclk2_enc_mux_parent_hws ,
1782
1782
.num_parents = ARRAY_SIZE (meson8b_vclk2_enc_mux_parent_hws ),
1783
1783
.flags = CLK_SET_RATE_PARENT ,
@@ -1791,7 +1791,7 @@ static struct clk_regmap meson8b_cts_vdac0 = {
1791
1791
},
1792
1792
.hw .init = & (struct clk_init_data ){
1793
1793
.name = "cts_vdac0" ,
1794
- .ops = & clk_regmap_gate_ro_ops ,
1794
+ .ops = & clk_regmap_gate_ops ,
1795
1795
.parent_hws = (const struct clk_hw * []) {
1796
1796
& meson8b_cts_vdac0_sel .hw
1797
1797
},
0 commit comments