Skip to content

Commit 6e22616

Browse files
r-vigneshtmlind
authored andcommitted
ARM: dts: am33xx-clocks: Fix ehrpwm tbclk data on am33xx
ehrpwm tbclk is wrongly modelled as deriving from dpll_per_m2_ck. The TRM says tbclk is derived from SYSCLKOUT. SYSCLKOUT nothing but the functional clock of pwmss (l4ls_gclk). Fix this by changing source of ehrpwmx_tbclk to l4ls_gclk. Fixes: 9e100eb: ("Fix ehrpwm tbclk data") Signed-off-by: Vignesh R <vigneshr@ti.com> Acked-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent ac92abc commit 6e22616

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/arm/boot/dts/am33xx-clocks.dtsi‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,23 +99,23 @@
9999
ehrpwm0_tbclk: ehrpwm0_tbclk@44e10664 {
100100
#clock-cells = <0>;
101101
compatible = "ti,gate-clock";
102-
clocks = <&dpll_per_m2_ck>;
102+
clocks = <&l4ls_gclk>;
103103
ti,bit-shift = <0>;
104104
reg = <0x0664>;
105105
};
106106

107107
ehrpwm1_tbclk: ehrpwm1_tbclk@44e10664 {
108108
#clock-cells = <0>;
109109
compatible = "ti,gate-clock";
110-
clocks = <&dpll_per_m2_ck>;
110+
clocks = <&l4ls_gclk>;
111111
ti,bit-shift = <1>;
112112
reg = <0x0664>;
113113
};
114114

115115
ehrpwm2_tbclk: ehrpwm2_tbclk@44e10664 {
116116
#clock-cells = <0>;
117117
compatible = "ti,gate-clock";
118-
clocks = <&dpll_per_m2_ck>;
118+
clocks = <&l4ls_gclk>;
119119
ti,bit-shift = <2>;
120120
reg = <0x0664>;
121121
};

0 commit comments

Comments
 (0)