Skip to content

Commit 93c53f2

Browse files
Eugeniy Paltsevvineetgarc
authored andcommitted
ARC: [plat-axs10x]: use pgu pll instead of fixed clock
Use PLL driver instead of fixed-clock for PGU pixel clock. That allows us to support wider range of graphic modes. Signed-off-by: Eugeniy Paltsev <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
1 parent f091d5a commit 93c53f2

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

arch/arc/boot/dts/axc001.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
clock-frequency = <750000000>;
2929
};
3030

31+
input_clk: input-clk {
32+
#clock-cells = <0>;
33+
compatible = "fixed-clock";
34+
clock-frequency = <33333333>;
35+
};
36+
3137
core_intc: arc700-intc@cpu {
3238
compatible = "snps,arc700-intc";
3339
interrupt-controller;

arch/arc/boot/dts/axs10x_mb.dtsi

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,13 @@
6161
clock-frequency = <25000000>;
6262
#clock-cells = <0>;
6363
};
64+
};
6465

65-
pguclk: pguclk {
66-
#clock-cells = <0>;
67-
compatible = "fixed-clock";
68-
clock-frequency = <74250000>;
69-
};
66+
pguclk: pguclk@10080 {
67+
compatible = "snps,axs10x-pgu-pll-clock";
68+
reg = <0x10080 0x10>, <0x110 0x10>;
69+
#clock-cells = <0>;
70+
clocks = <&input_clk>;
7071
};
7172

7273
gmac: ethernet@18000 {

0 commit comments

Comments
 (0)