diff mbox series

[1/1] ARM: dts: omap443x: Correct sgx clock to 307.2MHz as used on motorola vendor kernel

Message ID 20201230145115.239b4e1d50db37fce3560007@uvos.xyz (mailing list archive)
State New, archived
Headers show
Series [1/1] ARM: dts: omap443x: Correct sgx clock to 307.2MHz as used on motorola vendor kernel | expand

Commit Message

Carl Philipp Klemm Dec. 30, 2020, 1:51 p.m. UTC
The Android vendor kernel uses 307.2MHz or a devider ratio of /5 while active 
153600000 or /10 is only used when the sgx core is inactive.

Signed-off-by: Carl Philipp Klemm <philipp@uvos.xyz>
---
 arch/arm/boot/dts/omap443x.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ivaylo Dimitrov Dec. 30, 2020, 2:30 p.m. UTC | #1
On 30.12.20 г. 15:51 ч., Carl Philipp Klemm wrote:
> The Android vendor kernel uses 307.2MHz or a devider ratio of /5 while active
> 153600000 or /10 is only used when the sgx core is inactive.
> 
> Signed-off-by: Carl Philipp Klemm <philipp@uvos.xyz>
> ---
>   arch/arm/boot/dts/omap443x.dtsi | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
> index dd8ef58cbaed..8466161197ae 100644
> --- a/arch/arm/boot/dts/omap443x.dtsi
> +++ b/arch/arm/boot/dts/omap443x.dtsi
> @@ -78,11 +78,11 @@ &cpu_thermal {
>   /include/ "omap443x-clocks.dtsi"
>   
>   /*
> - * Use dpll_per for sgx at 153.6MHz like droid4 stock v3.0.8 Android kernel
> + * Use dpll_per for sgx at   like droid4 stock v3.0.8 Android kernel

Is is missing the value here (I guess this should be 307.2MHz)

Regards,
Ivo

>    */
>   &sgx_module {
>   	assigned-clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 24>,
>   			  <&dpll_per_m7x2_ck>;
> -	assigned-clock-rates = <0>, <153600000>;
> +	assigned-clock-rates = <0>, <307200000>;
>   	assigned-clock-parents = <&dpll_per_m7x2_ck>;
>   };
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
index dd8ef58cbaed..8466161197ae 100644
--- a/arch/arm/boot/dts/omap443x.dtsi
+++ b/arch/arm/boot/dts/omap443x.dtsi
@@ -78,11 +78,11 @@  &cpu_thermal {
 /include/ "omap443x-clocks.dtsi"
 
 /*
- * Use dpll_per for sgx at 153.6MHz like droid4 stock v3.0.8 Android kernel
+ * Use dpll_per for sgx at   like droid4 stock v3.0.8 Android kernel
  */
 &sgx_module {
 	assigned-clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 24>,
 			  <&dpll_per_m7x2_ck>;
-	assigned-clock-rates = <0>, <153600000>;
+	assigned-clock-rates = <0>, <307200000>;
 	assigned-clock-parents = <&dpll_per_m7x2_ck>;
 };