0019-v6.0-arm64-dts-qcom-Fix-ordering-of-clocks-clock-names-fo.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. From 18363f691e931abf0e9bdc9b5169fb15aa10224d Mon Sep 17 00:00:00 2001
  2. From: Bhupesh Sharma <[email protected]>
  3. Date: Sun, 15 May 2022 03:24:22 +0530
  4. Subject: [PATCH] arm64: dts: qcom: Fix ordering of 'clocks' & 'clock-names'
  5. for sdhci nodes
  6. Since the Qualcomm sdhci-msm device-tree binding has been converted
  7. to yaml format, 'make dtbs_check' reports a number of issues with
  8. ordering of 'clocks' & 'clock-names' for sdhci nodes:
  9. arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dtb: sdhci@7824900:
  10. clock-names:0: 'iface' was expected
  11. arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dtb: sdhci@7824900:
  12. clock-names:1: 'core' was expected
  13. arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dtb: sdhci@7824900:
  14. clock-names:2: 'xo' was expected
  15. Fix the same by updating the offending 'dts' files.
  16. Cc: Bjorn Andersson <[email protected]>
  17. Cc: Rob Herring <[email protected]>
  18. Signed-off-by: Bhupesh Sharma <[email protected]>
  19. Signed-off-by: Bjorn Andersson <[email protected]>
  20. Link: https://lore.kernel.org/r/[email protected]
  21. ---
  22. arch/arm64/boot/dts/qcom/ipq8074.dtsi | 8 ++++----
  23. 1 file changed, 4 insertions(+), 4 deletions(-)
  24. --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
  25. +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
  26. @@ -385,10 +385,10 @@
  27. <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  28. interrupt-names = "hc_irq", "pwr_irq";
  29. - clocks = <&xo>,
  30. - <&gcc GCC_SDCC1_AHB_CLK>,
  31. - <&gcc GCC_SDCC1_APPS_CLK>;
  32. - clock-names = "xo", "iface", "core";
  33. + clocks = <&gcc GCC_SDCC1_AHB_CLK>,
  34. + <&gcc GCC_SDCC1_APPS_CLK>,
  35. + <&xo>;
  36. + clock-names = "iface", "core", "xo";
  37. max-frequency = <384000000>;
  38. mmc-ddr-1_8v;
  39. mmc-hs200-1_8v;