~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/mfd/qcom-rpm.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/dt-bindings/mfd/qcom-rpm.h (Version linux-6.11.5) and /include/dt-bindings/mfd/qcom-rpm.h (Version linux-4.4.302)


  1 /* SPDX-License-Identifier: GPL-2.0 */         << 
  2 /*                                                  1 /*
  3  * This header provides constants for the Qual      2  * This header provides constants for the Qualcomm RPM bindings.
  4  */                                                 3  */
  5                                                     4 
  6 #ifndef _DT_BINDINGS_MFD_QCOM_RPM_H                 5 #ifndef _DT_BINDINGS_MFD_QCOM_RPM_H
  7 #define _DT_BINDINGS_MFD_QCOM_RPM_H                 6 #define _DT_BINDINGS_MFD_QCOM_RPM_H
  8                                                     7 
  9 /*                                                  8 /*
 10  * Constants use to identify individual resour      9  * Constants use to identify individual resources in the RPM.
 11  */                                                10  */
 12 #define QCOM_RPM_APPS_FABRIC_ARB                   11 #define QCOM_RPM_APPS_FABRIC_ARB                1
 13 #define QCOM_RPM_APPS_FABRIC_CLK                   12 #define QCOM_RPM_APPS_FABRIC_CLK                2
 14 #define QCOM_RPM_APPS_FABRIC_HALT                  13 #define QCOM_RPM_APPS_FABRIC_HALT               3
 15 #define QCOM_RPM_APPS_FABRIC_IOCTL                 14 #define QCOM_RPM_APPS_FABRIC_IOCTL              4
 16 #define QCOM_RPM_APPS_FABRIC_MODE                  15 #define QCOM_RPM_APPS_FABRIC_MODE               5
 17 #define QCOM_RPM_APPS_L2_CACHE_CTL                 16 #define QCOM_RPM_APPS_L2_CACHE_CTL              6
 18 #define QCOM_RPM_CFPB_CLK                          17 #define QCOM_RPM_CFPB_CLK                       7
 19 #define QCOM_RPM_CXO_BUFFERS                       18 #define QCOM_RPM_CXO_BUFFERS                    8
 20 #define QCOM_RPM_CXO_CLK                           19 #define QCOM_RPM_CXO_CLK                        9
 21 #define QCOM_RPM_DAYTONA_FABRIC_CLK                20 #define QCOM_RPM_DAYTONA_FABRIC_CLK             10
 22 #define QCOM_RPM_DDR_DMM                           21 #define QCOM_RPM_DDR_DMM                        11
 23 #define QCOM_RPM_EBI1_CLK                          22 #define QCOM_RPM_EBI1_CLK                       12
 24 #define QCOM_RPM_HDMI_SWITCH                       23 #define QCOM_RPM_HDMI_SWITCH                    13
 25 #define QCOM_RPM_MMFPB_CLK                         24 #define QCOM_RPM_MMFPB_CLK                      14
 26 #define QCOM_RPM_MM_FABRIC_ARB                     25 #define QCOM_RPM_MM_FABRIC_ARB                  15
 27 #define QCOM_RPM_MM_FABRIC_CLK                     26 #define QCOM_RPM_MM_FABRIC_CLK                  16
 28 #define QCOM_RPM_MM_FABRIC_HALT                    27 #define QCOM_RPM_MM_FABRIC_HALT                 17
 29 #define QCOM_RPM_MM_FABRIC_IOCTL                   28 #define QCOM_RPM_MM_FABRIC_IOCTL                18
 30 #define QCOM_RPM_MM_FABRIC_MODE                    29 #define QCOM_RPM_MM_FABRIC_MODE                 19
 31 #define QCOM_RPM_PLL_4                             30 #define QCOM_RPM_PLL_4                          20
 32 #define QCOM_RPM_PM8058_LDO0                       31 #define QCOM_RPM_PM8058_LDO0                    21
 33 #define QCOM_RPM_PM8058_LDO1                       32 #define QCOM_RPM_PM8058_LDO1                    22
 34 #define QCOM_RPM_PM8058_LDO2                       33 #define QCOM_RPM_PM8058_LDO2                    23
 35 #define QCOM_RPM_PM8058_LDO3                       34 #define QCOM_RPM_PM8058_LDO3                    24
 36 #define QCOM_RPM_PM8058_LDO4                       35 #define QCOM_RPM_PM8058_LDO4                    25
 37 #define QCOM_RPM_PM8058_LDO5                       36 #define QCOM_RPM_PM8058_LDO5                    26
 38 #define QCOM_RPM_PM8058_LDO6                       37 #define QCOM_RPM_PM8058_LDO6                    27
 39 #define QCOM_RPM_PM8058_LDO7                       38 #define QCOM_RPM_PM8058_LDO7                    28
 40 #define QCOM_RPM_PM8058_LDO8                       39 #define QCOM_RPM_PM8058_LDO8                    29
 41 #define QCOM_RPM_PM8058_LDO9                       40 #define QCOM_RPM_PM8058_LDO9                    30
 42 #define QCOM_RPM_PM8058_LDO10                      41 #define QCOM_RPM_PM8058_LDO10                   31
 43 #define QCOM_RPM_PM8058_LDO11                      42 #define QCOM_RPM_PM8058_LDO11                   32
 44 #define QCOM_RPM_PM8058_LDO12                      43 #define QCOM_RPM_PM8058_LDO12                   33
 45 #define QCOM_RPM_PM8058_LDO13                      44 #define QCOM_RPM_PM8058_LDO13                   34
 46 #define QCOM_RPM_PM8058_LDO14                      45 #define QCOM_RPM_PM8058_LDO14                   35
 47 #define QCOM_RPM_PM8058_LDO15                      46 #define QCOM_RPM_PM8058_LDO15                   36
 48 #define QCOM_RPM_PM8058_LDO16                      47 #define QCOM_RPM_PM8058_LDO16                   37
 49 #define QCOM_RPM_PM8058_LDO17                      48 #define QCOM_RPM_PM8058_LDO17                   38
 50 #define QCOM_RPM_PM8058_LDO18                      49 #define QCOM_RPM_PM8058_LDO18                   39
 51 #define QCOM_RPM_PM8058_LDO19                      50 #define QCOM_RPM_PM8058_LDO19                   40
 52 #define QCOM_RPM_PM8058_LDO20                      51 #define QCOM_RPM_PM8058_LDO20                   41
 53 #define QCOM_RPM_PM8058_LDO21                      52 #define QCOM_RPM_PM8058_LDO21                   42
 54 #define QCOM_RPM_PM8058_LDO22                      53 #define QCOM_RPM_PM8058_LDO22                   43
 55 #define QCOM_RPM_PM8058_LDO23                      54 #define QCOM_RPM_PM8058_LDO23                   44
 56 #define QCOM_RPM_PM8058_LDO24                      55 #define QCOM_RPM_PM8058_LDO24                   45
 57 #define QCOM_RPM_PM8058_LDO25                      56 #define QCOM_RPM_PM8058_LDO25                   46
 58 #define QCOM_RPM_PM8058_LVS0                       57 #define QCOM_RPM_PM8058_LVS0                    47
 59 #define QCOM_RPM_PM8058_LVS1                       58 #define QCOM_RPM_PM8058_LVS1                    48
 60 #define QCOM_RPM_PM8058_NCP                        59 #define QCOM_RPM_PM8058_NCP                     49
 61 #define QCOM_RPM_PM8058_SMPS0                      60 #define QCOM_RPM_PM8058_SMPS0                   50
 62 #define QCOM_RPM_PM8058_SMPS1                      61 #define QCOM_RPM_PM8058_SMPS1                   51
 63 #define QCOM_RPM_PM8058_SMPS2                      62 #define QCOM_RPM_PM8058_SMPS2                   52
 64 #define QCOM_RPM_PM8058_SMPS3                      63 #define QCOM_RPM_PM8058_SMPS3                   53
 65 #define QCOM_RPM_PM8058_SMPS4                      64 #define QCOM_RPM_PM8058_SMPS4                   54
 66 #define QCOM_RPM_PM8821_LDO1                       65 #define QCOM_RPM_PM8821_LDO1                    55
 67 #define QCOM_RPM_PM8821_SMPS1                      66 #define QCOM_RPM_PM8821_SMPS1                   56
 68 #define QCOM_RPM_PM8821_SMPS2                      67 #define QCOM_RPM_PM8821_SMPS2                   57
 69 #define QCOM_RPM_PM8901_LDO0                       68 #define QCOM_RPM_PM8901_LDO0                    58
 70 #define QCOM_RPM_PM8901_LDO1                       69 #define QCOM_RPM_PM8901_LDO1                    59
 71 #define QCOM_RPM_PM8901_LDO2                       70 #define QCOM_RPM_PM8901_LDO2                    60
 72 #define QCOM_RPM_PM8901_LDO3                       71 #define QCOM_RPM_PM8901_LDO3                    61
 73 #define QCOM_RPM_PM8901_LDO4                       72 #define QCOM_RPM_PM8901_LDO4                    62
 74 #define QCOM_RPM_PM8901_LDO5                       73 #define QCOM_RPM_PM8901_LDO5                    63
 75 #define QCOM_RPM_PM8901_LDO6                       74 #define QCOM_RPM_PM8901_LDO6                    64
 76 #define QCOM_RPM_PM8901_LVS0                       75 #define QCOM_RPM_PM8901_LVS0                    65
 77 #define QCOM_RPM_PM8901_LVS1                       76 #define QCOM_RPM_PM8901_LVS1                    66
 78 #define QCOM_RPM_PM8901_LVS2                       77 #define QCOM_RPM_PM8901_LVS2                    67
 79 #define QCOM_RPM_PM8901_LVS3                       78 #define QCOM_RPM_PM8901_LVS3                    68
 80 #define QCOM_RPM_PM8901_MVS                        79 #define QCOM_RPM_PM8901_MVS                     69
 81 #define QCOM_RPM_PM8901_SMPS0                      80 #define QCOM_RPM_PM8901_SMPS0                   70
 82 #define QCOM_RPM_PM8901_SMPS1                      81 #define QCOM_RPM_PM8901_SMPS1                   71
 83 #define QCOM_RPM_PM8901_SMPS2                      82 #define QCOM_RPM_PM8901_SMPS2                   72
 84 #define QCOM_RPM_PM8901_SMPS3                      83 #define QCOM_RPM_PM8901_SMPS3                   73
 85 #define QCOM_RPM_PM8901_SMPS4                      84 #define QCOM_RPM_PM8901_SMPS4                   74
 86 #define QCOM_RPM_PM8921_CLK1                       85 #define QCOM_RPM_PM8921_CLK1                    75
 87 #define QCOM_RPM_PM8921_CLK2                       86 #define QCOM_RPM_PM8921_CLK2                    76
 88 #define QCOM_RPM_PM8921_LDO1                       87 #define QCOM_RPM_PM8921_LDO1                    77
 89 #define QCOM_RPM_PM8921_LDO2                       88 #define QCOM_RPM_PM8921_LDO2                    78
 90 #define QCOM_RPM_PM8921_LDO3                       89 #define QCOM_RPM_PM8921_LDO3                    79
 91 #define QCOM_RPM_PM8921_LDO4                       90 #define QCOM_RPM_PM8921_LDO4                    80
 92 #define QCOM_RPM_PM8921_LDO5                       91 #define QCOM_RPM_PM8921_LDO5                    81
 93 #define QCOM_RPM_PM8921_LDO6                       92 #define QCOM_RPM_PM8921_LDO6                    82
 94 #define QCOM_RPM_PM8921_LDO7                       93 #define QCOM_RPM_PM8921_LDO7                    83
 95 #define QCOM_RPM_PM8921_LDO8                       94 #define QCOM_RPM_PM8921_LDO8                    84
 96 #define QCOM_RPM_PM8921_LDO9                       95 #define QCOM_RPM_PM8921_LDO9                    85
 97 #define QCOM_RPM_PM8921_LDO10                      96 #define QCOM_RPM_PM8921_LDO10                   86
 98 #define QCOM_RPM_PM8921_LDO11                      97 #define QCOM_RPM_PM8921_LDO11                   87
 99 #define QCOM_RPM_PM8921_LDO12                      98 #define QCOM_RPM_PM8921_LDO12                   88
100 #define QCOM_RPM_PM8921_LDO13                      99 #define QCOM_RPM_PM8921_LDO13                   89
101 #define QCOM_RPM_PM8921_LDO14                     100 #define QCOM_RPM_PM8921_LDO14                   90
102 #define QCOM_RPM_PM8921_LDO15                     101 #define QCOM_RPM_PM8921_LDO15                   91
103 #define QCOM_RPM_PM8921_LDO16                     102 #define QCOM_RPM_PM8921_LDO16                   92
104 #define QCOM_RPM_PM8921_LDO17                     103 #define QCOM_RPM_PM8921_LDO17                   93
105 #define QCOM_RPM_PM8921_LDO18                     104 #define QCOM_RPM_PM8921_LDO18                   94
106 #define QCOM_RPM_PM8921_LDO19                     105 #define QCOM_RPM_PM8921_LDO19                   95
107 #define QCOM_RPM_PM8921_LDO20                     106 #define QCOM_RPM_PM8921_LDO20                   96
108 #define QCOM_RPM_PM8921_LDO21                     107 #define QCOM_RPM_PM8921_LDO21                   97
109 #define QCOM_RPM_PM8921_LDO22                     108 #define QCOM_RPM_PM8921_LDO22                   98
110 #define QCOM_RPM_PM8921_LDO23                     109 #define QCOM_RPM_PM8921_LDO23                   99
111 #define QCOM_RPM_PM8921_LDO24                     110 #define QCOM_RPM_PM8921_LDO24                   100
112 #define QCOM_RPM_PM8921_LDO25                     111 #define QCOM_RPM_PM8921_LDO25                   101
113 #define QCOM_RPM_PM8921_LDO26                     112 #define QCOM_RPM_PM8921_LDO26                   102
114 #define QCOM_RPM_PM8921_LDO27                     113 #define QCOM_RPM_PM8921_LDO27                   103
115 #define QCOM_RPM_PM8921_LDO28                     114 #define QCOM_RPM_PM8921_LDO28                   104
116 #define QCOM_RPM_PM8921_LDO29                     115 #define QCOM_RPM_PM8921_LDO29                   105
117 #define QCOM_RPM_PM8921_LVS1                      116 #define QCOM_RPM_PM8921_LVS1                    106
118 #define QCOM_RPM_PM8921_LVS2                      117 #define QCOM_RPM_PM8921_LVS2                    107
119 #define QCOM_RPM_PM8921_LVS3                      118 #define QCOM_RPM_PM8921_LVS3                    108
120 #define QCOM_RPM_PM8921_LVS4                      119 #define QCOM_RPM_PM8921_LVS4                    109
121 #define QCOM_RPM_PM8921_LVS5                      120 #define QCOM_RPM_PM8921_LVS5                    110
122 #define QCOM_RPM_PM8921_LVS6                      121 #define QCOM_RPM_PM8921_LVS6                    111
123 #define QCOM_RPM_PM8921_LVS7                      122 #define QCOM_RPM_PM8921_LVS7                    112
124 #define QCOM_RPM_PM8921_MVS                       123 #define QCOM_RPM_PM8921_MVS                     113
125 #define QCOM_RPM_PM8921_NCP                       124 #define QCOM_RPM_PM8921_NCP                     114
126 #define QCOM_RPM_PM8921_SMPS1                     125 #define QCOM_RPM_PM8921_SMPS1                   115
127 #define QCOM_RPM_PM8921_SMPS2                     126 #define QCOM_RPM_PM8921_SMPS2                   116
128 #define QCOM_RPM_PM8921_SMPS3                     127 #define QCOM_RPM_PM8921_SMPS3                   117
129 #define QCOM_RPM_PM8921_SMPS4                     128 #define QCOM_RPM_PM8921_SMPS4                   118
130 #define QCOM_RPM_PM8921_SMPS5                     129 #define QCOM_RPM_PM8921_SMPS5                   119
131 #define QCOM_RPM_PM8921_SMPS6                     130 #define QCOM_RPM_PM8921_SMPS6                   120
132 #define QCOM_RPM_PM8921_SMPS7                     131 #define QCOM_RPM_PM8921_SMPS7                   121
133 #define QCOM_RPM_PM8921_SMPS8                     132 #define QCOM_RPM_PM8921_SMPS8                   122
134 #define QCOM_RPM_PXO_CLK                          133 #define QCOM_RPM_PXO_CLK                        123
135 #define QCOM_RPM_QDSS_CLK                         134 #define QCOM_RPM_QDSS_CLK                       124
136 #define QCOM_RPM_SFPB_CLK                         135 #define QCOM_RPM_SFPB_CLK                       125
137 #define QCOM_RPM_SMI_CLK                          136 #define QCOM_RPM_SMI_CLK                        126
138 #define QCOM_RPM_SYS_FABRIC_ARB                   137 #define QCOM_RPM_SYS_FABRIC_ARB                 127
139 #define QCOM_RPM_SYS_FABRIC_CLK                   138 #define QCOM_RPM_SYS_FABRIC_CLK                 128
140 #define QCOM_RPM_SYS_FABRIC_HALT                  139 #define QCOM_RPM_SYS_FABRIC_HALT                129
141 #define QCOM_RPM_SYS_FABRIC_IOCTL                 140 #define QCOM_RPM_SYS_FABRIC_IOCTL               130
142 #define QCOM_RPM_SYS_FABRIC_MODE                  141 #define QCOM_RPM_SYS_FABRIC_MODE                131
143 #define QCOM_RPM_USB_OTG_SWITCH                   142 #define QCOM_RPM_USB_OTG_SWITCH                 132
144 #define QCOM_RPM_VDDMIN_GPIO                      143 #define QCOM_RPM_VDDMIN_GPIO                    133
145 #define QCOM_RPM_NSS_FABRIC_0_CLK                 144 #define QCOM_RPM_NSS_FABRIC_0_CLK               134
146 #define QCOM_RPM_NSS_FABRIC_1_CLK                 145 #define QCOM_RPM_NSS_FABRIC_1_CLK               135
147 #define QCOM_RPM_SMB208_S1a                       146 #define QCOM_RPM_SMB208_S1a                     136
148 #define QCOM_RPM_SMB208_S1b                       147 #define QCOM_RPM_SMB208_S1b                     137
149 #define QCOM_RPM_SMB208_S2a                       148 #define QCOM_RPM_SMB208_S2a                     138
150 #define QCOM_RPM_SMB208_S2b                       149 #define QCOM_RPM_SMB208_S2b                     139
151 #define QCOM_RPM_PM8018_SMPS1                  << 
152 #define QCOM_RPM_PM8018_SMPS2                  << 
153 #define QCOM_RPM_PM8018_SMPS3                  << 
154 #define QCOM_RPM_PM8018_SMPS4                  << 
155 #define QCOM_RPM_PM8018_SMPS5                  << 
156 #define QCOM_RPM_PM8018_LDO1                   << 
157 #define QCOM_RPM_PM8018_LDO2                   << 
158 #define QCOM_RPM_PM8018_LDO3                   << 
159 #define QCOM_RPM_PM8018_LDO4                   << 
160 #define QCOM_RPM_PM8018_LDO5                   << 
161 #define QCOM_RPM_PM8018_LDO6                   << 
162 #define QCOM_RPM_PM8018_LDO7                   << 
163 #define QCOM_RPM_PM8018_LDO8                   << 
164 #define QCOM_RPM_PM8018_LDO9                   << 
165 #define QCOM_RPM_PM8018_LDO10                  << 
166 #define QCOM_RPM_PM8018_LDO11                  << 
167 #define QCOM_RPM_PM8018_LDO12                  << 
168 #define QCOM_RPM_PM8018_LDO13                  << 
169 #define QCOM_RPM_PM8018_LDO14                  << 
170 #define QCOM_RPM_PM8018_LVS1                   << 
171 #define QCOM_RPM_PM8018_NCP                    << 
172 #define QCOM_RPM_VOLTAGE_CORNER                << 
173                                                   150 
174 /*                                                151 /*
175  * Constants used to select force mode for reg    152  * Constants used to select force mode for regulators.
176  */                                               153  */
177 #define QCOM_RPM_FORCE_MODE_NONE                  154 #define QCOM_RPM_FORCE_MODE_NONE                0
178 #define QCOM_RPM_FORCE_MODE_LPM                   155 #define QCOM_RPM_FORCE_MODE_LPM                 1
179 #define QCOM_RPM_FORCE_MODE_HPM                   156 #define QCOM_RPM_FORCE_MODE_HPM                 2
180 #define QCOM_RPM_FORCE_MODE_AUTO                  157 #define QCOM_RPM_FORCE_MODE_AUTO                3
181 #define QCOM_RPM_FORCE_MODE_BYPASS                158 #define QCOM_RPM_FORCE_MODE_BYPASS              4
182                                                   159 
183 #endif                                            160 #endif
184                                                   161 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php