[PATCH 2/2] rockchip: board: remove SCLK_GPU from U-Boot DT

Kever Yang kever.yang at rock-chips.com
Fri Oct 15 14:45:02 CEST 2021


Reviewed-by: Kever Yang <kever.yang at rock-chips.com>


Thanks,
- Kever

Chris Morgan <macroalpha82 at gmail.com> 于2021年8月6日周五 上午12:49写道:
>
> From: Chris Morgan <macromorgan at hotmail.com>
>
> Starting with commit 92f1e9a4b31c ("clk: Detect failure to set
> defaults") the clk driver for the PX30 would fail to probe for the
> Odroid Go Advance. This patch is to remove the clock for the GPU from
> the U-Boot specific devicetree, as that clock is not supported by the
> U-Boot clk_px30 driver.
>
> Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
> ---
>  arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> index 00767d2abd..c330286bc5 100644
> --- a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> +++ b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> @@ -9,8 +9,18 @@
>         };
>  };
>
> +/* U-Boot clk driver for px30 cannot set GPU_CLK */
>  &cru {
>         u-boot,dm-pre-reloc;
> +       assigned-clocks = <&cru PLL_NPLL>,
> +               <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
> +               <&cru HCLK_BUS_PRE>, <&cru HCLK_PERI_PRE>,
> +               <&cru PCLK_BUS_PRE>, <&cru PLL_CPLL>;
> +
> +       assigned-clock-rates = <1188000000>,
> +               <200000000>, <200000000>,
> +               <150000000>, <150000000>,
> +               <100000000>, <17000000>;
>  };
>
>  &dmc {
> --
> 2.25.1
>


More information about the U-Boot mailing list