0080-clk-qcom-Various-fixes-for-MSM8960-s-global-clock-co.patch 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. From 7456451e9df88d4c33479e3d4ea124d8a91ceb57 Mon Sep 17 00:00:00 2001
  2. From: Kumar Gala <[email protected]>
  3. Date: Fri, 4 Apr 2014 11:32:56 -0500
  4. Subject: [PATCH 080/182] clk: qcom: Various fixes for MSM8960's global clock
  5. controller
  6. * Remove CE2_SLEEP_CLK, doesn't exist on 8960 family SoCs
  7. * Fix incorrect offset for PMIC_SSBI2_RESET
  8. * Fix typo:
  9. SIC_TIC -> SPS_TIC_H
  10. SFAB_ADM0_M2_A_CLK -> SFAB_ADM0_M2_H_CLK
  11. * Fix naming convention:
  12. SFAB_CFPB_S_HCLK -> SFAB_CFPB_S_H_CLK
  13. SATA_SRC_CLK -> SATA_CLK_SRC
  14. Signed-off-by: Kumar Gala <[email protected]>
  15. Reviewed-by: Stephen Boyd <[email protected]>
  16. Signed-off-by: Mike Turquette <[email protected]>
  17. ---
  18. drivers/clk/qcom/gcc-msm8960.c | 4 ++--
  19. include/dt-bindings/clock/qcom,gcc-msm8960.h | 7 +++----
  20. include/dt-bindings/reset/qcom,gcc-msm8960.h | 2 +-
  21. 3 files changed, 6 insertions(+), 7 deletions(-)
  22. --- a/drivers/clk/qcom/gcc-msm8960.c
  23. +++ b/drivers/clk/qcom/gcc-msm8960.c
  24. @@ -2810,7 +2810,7 @@ static const struct qcom_reset_map gcc_m
  25. [PPSS_PROC_RESET] = { 0x2594, 1 },
  26. [PPSS_RESET] = { 0x2594},
  27. [DMA_BAM_RESET] = { 0x25c0, 7 },
  28. - [SIC_TIC_RESET] = { 0x2600, 7 },
  29. + [SPS_TIC_H_RESET] = { 0x2600, 7 },
  30. [SLIMBUS_H_RESET] = { 0x2620, 7 },
  31. [SFAB_CFPB_M_RESET] = { 0x2680, 7 },
  32. [SFAB_CFPB_S_RESET] = { 0x26c0, 7 },
  33. @@ -2823,7 +2823,7 @@ static const struct qcom_reset_map gcc_m
  34. [SFAB_SFPB_M_RESET] = { 0x2780, 7 },
  35. [SFAB_SFPB_S_RESET] = { 0x27a0, 7 },
  36. [RPM_PROC_RESET] = { 0x27c0, 7 },
  37. - [PMIC_SSBI2_RESET] = { 0x270c, 12 },
  38. + [PMIC_SSBI2_RESET] = { 0x280c, 12 },
  39. [SDC1_RESET] = { 0x2830 },
  40. [SDC2_RESET] = { 0x2850 },
  41. [SDC3_RESET] = { 0x2870 },
  42. --- a/include/dt-bindings/clock/qcom,gcc-msm8960.h
  43. +++ b/include/dt-bindings/clock/qcom,gcc-msm8960.h
  44. @@ -51,7 +51,7 @@
  45. #define QDSS_TSCTR_CLK 34
  46. #define SFAB_ADM0_M0_A_CLK 35
  47. #define SFAB_ADM0_M1_A_CLK 36
  48. -#define SFAB_ADM0_M2_A_CLK 37
  49. +#define SFAB_ADM0_M2_H_CLK 37
  50. #define ADM0_CLK 38
  51. #define ADM0_PBUS_CLK 39
  52. #define MSS_XPU_CLK 40
  53. @@ -99,7 +99,7 @@
  54. #define CFPB2_H_CLK 82
  55. #define SFAB_CFPB_M_H_CLK 83
  56. #define CFPB_MASTER_H_CLK 84
  57. -#define SFAB_CFPB_S_HCLK 85
  58. +#define SFAB_CFPB_S_H_CLK 85
  59. #define CFPB_SPLITTER_H_CLK 86
  60. #define TSIF_H_CLK 87
  61. #define TSIF_INACTIVITY_TIMERS_CLK 88
  62. @@ -110,7 +110,6 @@
  63. #define CE1_SLEEP_CLK 93
  64. #define CE2_H_CLK 94
  65. #define CE2_CORE_CLK 95
  66. -#define CE2_SLEEP_CLK 96
  67. #define SFPB_H_CLK_SRC 97
  68. #define SFPB_H_CLK 98
  69. #define SFAB_SFPB_M_H_CLK 99
  70. @@ -252,7 +251,7 @@
  71. #define MSS_S_H_CLK 235
  72. #define MSS_CXO_SRC_CLK 236
  73. #define SATA_H_CLK 237
  74. -#define SATA_SRC_CLK 238
  75. +#define SATA_CLK_SRC 238
  76. #define SATA_RXOOB_CLK 239
  77. #define SATA_PMALIVE_CLK 240
  78. #define SATA_PHY_REF_CLK 241
  79. --- a/include/dt-bindings/reset/qcom,gcc-msm8960.h
  80. +++ b/include/dt-bindings/reset/qcom,gcc-msm8960.h
  81. @@ -58,7 +58,7 @@
  82. #define PPSS_PROC_RESET 41
  83. #define PPSS_RESET 42
  84. #define DMA_BAM_RESET 43
  85. -#define SIC_TIC_RESET 44
  86. +#define SPS_TIC_H_RESET 44
  87. #define SLIMBUS_H_RESET 45
  88. #define SFAB_CFPB_M_RESET 46
  89. #define SFAB_CFPB_S_RESET 47