Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/allwinner/sun60i-a733-radxa-a7a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,11 @@
};

&gpu {
/*
* VDD-GPU (DCDC4 of AXP318W) defaults to 800mV, which only allows the
* GPU operate on only up 600MHz.
*/
assigned-clocks = <&ccu CLK_GPU0>;
assigned-clock-rates = <600000000>;
status = "okay";
};
4 changes: 3 additions & 1 deletion drivers/clk/sunxi-ng/ccu-sun60i-a733.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,9 @@ static struct ccu_div gpu0_clk = {
.features = CCU_FEATURE_KEY_FIELD,
.hw.init = CLK_HW_INIT_PARENTS("gpu0", gpu0_parents,
&ccu_div_ops,
CLK_OPS_PARENT_ENABLE | CLK_SET_RATE_NO_REPARENT),
CLK_OPS_PARENT_ENABLE |
CLK_SET_RATE_NO_REPARENT |
CLK_SET_RATE_PARENT),
},
};

Expand Down
Loading