[PATCH 7/7] dts: sdm845-db845c-u-boot: adjust MMC clocks

Sumit Garg sumit.garg at linaro.org
Wed Apr 10 12:56:20 CEST 2024


Hi Caleb,

On Tue, 9 Apr 2024 at 23:33, Caleb Connolly <caleb.connolly at linaro.org> wrote:
>
> Remove the reference to the xo clock which is on the unsupported rpmhcc
> clock controller. It isn't needed for MMC functionality.

Can it rather be handled via a NOP clock driver for rpmhcc? I suppose
this kind of DT modifications would push us away from upstream DT
compatibility.

-Sumit

>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
>  arch/arm/dts/sdm845-db845c-u-boot.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/dts/sdm845-db845c-u-boot.dtsi b/arch/arm/dts/sdm845-db845c-u-boot.dtsi
> index 906f9faa5451..9e4533e603c5 100644
> --- a/arch/arm/dts/sdm845-db845c-u-boot.dtsi
> +++ b/arch/arm/dts/sdm845-db845c-u-boot.dtsi
> @@ -6,4 +6,11 @@
>   */
>  &pcie0_3p3v_dual {
>         regulator-always-on;
>  };
> +
> +&sdhc_2 {
> +       /* Remove the unsupported rpmhcc xo clock reference */
> +       clocks = <&gcc GCC_SDCC2_AHB_CLK>,
> +                <&gcc GCC_SDCC2_APPS_CLK>;
> +       clock-names = "iface", "core";
> +};
>
> --
> 2.44.0
>


More information about the U-Boot mailing list