Skip to content

Commit f0e0884

Browse files
xdarklightjbrun3t
authored andcommitted
clk: meson: meson8b: make the hdmi_sys clock tree mutable
The HDMI TX controller requires the hdmi_sys clock to be enabled. Allow changing the whole clock tree now that we know that one of our drivers requires this. Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Jerome Brunet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 778fb6b commit f0e0884

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/clk/meson/meson8b.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ static struct clk_regmap meson8b_hdmi_sys_sel = {
17251725
},
17261726
.hw.init = &(struct clk_init_data){
17271727
.name = "hdmi_sys_sel",
1728-
.ops = &clk_regmap_mux_ro_ops,
1728+
.ops = &clk_regmap_mux_ops,
17291729
/* FIXME: all other parents are unknown */
17301730
.parent_data = &(const struct clk_parent_data) {
17311731
.fw_name = "xtal",
@@ -1745,7 +1745,7 @@ static struct clk_regmap meson8b_hdmi_sys_div = {
17451745
},
17461746
.hw.init = &(struct clk_init_data){
17471747
.name = "hdmi_sys_div",
1748-
.ops = &clk_regmap_divider_ro_ops,
1748+
.ops = &clk_regmap_divider_ops,
17491749
.parent_hws = (const struct clk_hw *[]) {
17501750
&meson8b_hdmi_sys_sel.hw
17511751
},
@@ -1761,7 +1761,7 @@ static struct clk_regmap meson8b_hdmi_sys = {
17611761
},
17621762
.hw.init = &(struct clk_init_data) {
17631763
.name = "hdmi_sys",
1764-
.ops = &clk_regmap_gate_ro_ops,
1764+
.ops = &clk_regmap_gate_ops,
17651765
.parent_hws = (const struct clk_hw *[]) {
17661766
&meson8b_hdmi_sys_div.hw
17671767
},

0 commit comments

Comments
 (0)