HI Ti Team,
We are facing an issue where Kernel is over writing "DSP frequency ( Register: CM_CLKSEL_DPLL_DS RW 32 0x0000 0140 0x4A00 5240 )" which is setting by bootloader. We don't want to change frequency set by Bootloader. We see there is DTS entry where clock is set to 600MHZ.
dpll_dsp_ck: dpll_dsp_ck {
#clock-cells = <0>;
compatible = "ti,omap4-dpll-clock";
clocks = <&sys_clkin1>, <&dpll_dsp_byp_mux>;
reg = <0x0234>, <0x0238>, <0x0240>, <0x023c>;
assigned-clocks = <&dpll_dsp_ck>;
assigned-clock-rates = <600000000>;
};
we are modifying the DTS entry by excluding the register 0x240 and by this clock frequency remains untouched . Could you please let us know is this the correct way of doing or if any please let us know.
Patch:
diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm/boot/dts/dra7xx-clocks.dtsi
index b9ac7ea..04cf0db 100644
--- a/arch/arm/boot/dts/dra7xx-clocks.dtsi
+++ b/arch/arm/boot/dts/dra7xx-clocks.dtsi
@@ -337,7 +337,8 @@
#clock-cells = <0>;
compatible = "ti,omap4-dpll-clock";
clocks = <&sys_clkin1>, <&dpll_dsp_byp_mux>;
- reg = <0x0234>, <0x0238>, <0x0240>, <0x023c>;
+ /*reg = <0x0234>, <0x0238>, <0x0240>, <0x023c>;*/
+ reg = <0x0234>, <0x0238>, <0x023c>;
assigned-clocks = <&dpll_dsp_ck>;
assigned-clock-rates = <600000000>;
};
Thanks and Regards,
Vivek