168-ARM-qcom-add-smb208-DT.patch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Change DT to use new smb208 regulator driver.
  2. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
  3. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  4. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  5. @@ -162,45 +162,37 @@
  6. #address-cells = <1>;
  7. #size-cells = <0>;
  8. - smb208_s1a: smb208-s1a {
  9. - compatible = "qcom,rpm-smb208";
  10. - reg = <QCOM_RPM_SMB208_S1a>;
  11. + regulators {
  12. + compatible = "qcom,rpm-smb208-regulators";
  13. - regulator-min-microvolt = <1050000>;
  14. - regulator-max-microvolt = <1150000>;
  15. + smb208_s1a: s1a {
  16. + regulator-min-microvolt = <1050000>;
  17. + regulator-max-microvolt = <1150000>;
  18. - qcom,switch-mode-frequency = <1200000>;
  19. + qcom,switch-mode-frequency = <1200000>;
  20. - };
  21. -
  22. - smb208_s1b: smb208-s1b {
  23. - compatible = "qcom,rpm-smb208";
  24. - reg = <QCOM_RPM_SMB208_S1b>;
  25. -
  26. - regulator-min-microvolt = <1050000>;
  27. - regulator-max-microvolt = <1150000>;
  28. + };
  29. - qcom,switch-mode-frequency = <1200000>;
  30. - };
  31. -
  32. - smb208_s2a: smb208-s2a {
  33. - compatible = "qcom,rpm-smb208";
  34. - reg = <QCOM_RPM_SMB208_S2a>;
  35. + smb208_s1b: s1b {
  36. + regulator-min-microvolt = <1050000>;
  37. + regulator-max-microvolt = <1150000>;
  38. - regulator-min-microvolt = < 800000>;
  39. - regulator-max-microvolt = <1250000>;
  40. + qcom,switch-mode-frequency = <1200000>;
  41. + };
  42. - qcom,switch-mode-frequency = <1200000>;
  43. - };
  44. + smb208_s2a: s2a {
  45. + regulator-min-microvolt = < 800000>;
  46. + regulator-max-microvolt = <1250000>;
  47. - smb208_s2b: smb208-s2b {
  48. - compatible = "qcom,rpm-smb208";
  49. - reg = <QCOM_RPM_SMB208_S2b>;
  50. + qcom,switch-mode-frequency = <1200000>;
  51. + };
  52. - regulator-min-microvolt = < 800000>;
  53. - regulator-max-microvolt = <1250000>;
  54. + smb208_s2b: s2b {
  55. + regulator-min-microvolt = < 800000>;
  56. + regulator-max-microvolt = <1250000>;
  57. - qcom,switch-mode-frequency = <1200000>;
  58. + qcom,switch-mode-frequency = <1200000>;
  59. + };
  60. };
  61. };