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

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/pinctrl/qcom,pmic-mpp.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/dt-bindings/pinctrl/qcom,pmic-mpp.h (Architecture alpha) and /include/dt-bindings/pinctrl/qcom,pmic-mpp.h (Architecture sparc64)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*                                                  2 /*
  3  * This header provides constants for the Qual      3  * This header provides constants for the Qualcomm PMIC's
  4  * Multi-Purpose Pin binding.                       4  * Multi-Purpose Pin binding.
  5  */                                                 5  */
  6                                                     6 
  7 #ifndef _DT_BINDINGS_PINCTRL_QCOM_PMIC_MPP_H        7 #ifndef _DT_BINDINGS_PINCTRL_QCOM_PMIC_MPP_H
  8 #define _DT_BINDINGS_PINCTRL_QCOM_PMIC_MPP_H        8 #define _DT_BINDINGS_PINCTRL_QCOM_PMIC_MPP_H
  9                                                     9 
 10 /* power-source */                                 10 /* power-source */
 11                                                    11 
 12 /* Digital Input/Output: level [PM8058] */         12 /* Digital Input/Output: level [PM8058] */
 13 #define PM8058_MPP_VPH                  0          13 #define PM8058_MPP_VPH                  0
 14 #define PM8058_MPP_S3                   1          14 #define PM8058_MPP_S3                   1
 15 #define PM8058_MPP_L2                   2          15 #define PM8058_MPP_L2                   2
 16 #define PM8058_MPP_L3                   3          16 #define PM8058_MPP_L3                   3
 17                                                    17 
 18 /* Digital Input/Output: level [PM8901] */         18 /* Digital Input/Output: level [PM8901] */
 19 #define PM8901_MPP_MSMIO                0          19 #define PM8901_MPP_MSMIO                0
 20 #define PM8901_MPP_DIG                  1          20 #define PM8901_MPP_DIG                  1
 21 #define PM8901_MPP_L5                   2          21 #define PM8901_MPP_L5                   2
 22 #define PM8901_MPP_S4                   3          22 #define PM8901_MPP_S4                   3
 23 #define PM8901_MPP_VPH                  4          23 #define PM8901_MPP_VPH                  4
 24                                                    24 
 25 /* Digital Input/Output: level [PM8921] */         25 /* Digital Input/Output: level [PM8921] */
 26 #define PM8921_MPP_S4                   1          26 #define PM8921_MPP_S4                   1
 27 #define PM8921_MPP_L15                  3          27 #define PM8921_MPP_L15                  3
 28 #define PM8921_MPP_L17                  4          28 #define PM8921_MPP_L17                  4
 29 #define PM8921_MPP_VPH                  7          29 #define PM8921_MPP_VPH                  7
 30                                                    30 
 31 /* Digital Input/Output: level [PM8821] */         31 /* Digital Input/Output: level [PM8821] */
 32 #define PM8821_MPP_1P8                  0          32 #define PM8821_MPP_1P8                  0
 33 #define PM8821_MPP_VPH                  7          33 #define PM8821_MPP_VPH                  7
 34                                                    34 
 35 /* Digital Input/Output: level [PM8018] */         35 /* Digital Input/Output: level [PM8018] */
 36 #define PM8018_MPP_L4                   0          36 #define PM8018_MPP_L4                   0
 37 #define PM8018_MPP_L14                  1          37 #define PM8018_MPP_L14                  1
 38 #define PM8018_MPP_S3                   2          38 #define PM8018_MPP_S3                   2
 39 #define PM8018_MPP_L6                   3          39 #define PM8018_MPP_L6                   3
 40 #define PM8018_MPP_L2                   4          40 #define PM8018_MPP_L2                   4
 41 #define PM8018_MPP_L5                   5          41 #define PM8018_MPP_L5                   5
 42 #define PM8018_MPP_VPH                  7          42 #define PM8018_MPP_VPH                  7
 43                                                    43 
 44 /* Digital Input/Output: level [PM8038] */         44 /* Digital Input/Output: level [PM8038] */
 45 #define PM8038_MPP_L20                  0          45 #define PM8038_MPP_L20                  0
 46 #define PM8038_MPP_L11                  1          46 #define PM8038_MPP_L11                  1
 47 #define PM8038_MPP_L5                   2          47 #define PM8038_MPP_L5                   2
 48 #define PM8038_MPP_L15                  3          48 #define PM8038_MPP_L15                  3
 49 #define PM8038_MPP_L17                  4          49 #define PM8038_MPP_L17                  4
 50 #define PM8038_MPP_VPH                  7          50 #define PM8038_MPP_VPH                  7
 51                                                    51 
 52 #define PM8841_MPP_VPH                  0          52 #define PM8841_MPP_VPH                  0
 53 #define PM8841_MPP_S3                   2          53 #define PM8841_MPP_S3                   2
 54                                                    54 
 55 #define PM8916_MPP_VPH                  0          55 #define PM8916_MPP_VPH                  0
 56 #define PM8916_MPP_L2                   2          56 #define PM8916_MPP_L2                   2
 57 #define PM8916_MPP_L5                   3          57 #define PM8916_MPP_L5                   3
 58                                                    58 
 59 #define PM8941_MPP_VPH                  0          59 #define PM8941_MPP_VPH                  0
 60 #define PM8941_MPP_L1                   1          60 #define PM8941_MPP_L1                   1
 61 #define PM8941_MPP_S3                   2          61 #define PM8941_MPP_S3                   2
 62 #define PM8941_MPP_L6                   3          62 #define PM8941_MPP_L6                   3
 63                                                    63 
 64 #define PMA8084_MPP_VPH                 0          64 #define PMA8084_MPP_VPH                 0
 65 #define PMA8084_MPP_L1                  1          65 #define PMA8084_MPP_L1                  1
 66 #define PMA8084_MPP_S4                  2          66 #define PMA8084_MPP_S4                  2
 67 #define PMA8084_MPP_L6                  3          67 #define PMA8084_MPP_L6                  3
 68                                                    68 
 69 #define PM8994_MPP_VPH                  0          69 #define PM8994_MPP_VPH                  0
 70 /* Only supported for MPP_05-MPP_08 */             70 /* Only supported for MPP_05-MPP_08 */
 71 #define PM8994_MPP_L19                  1          71 #define PM8994_MPP_L19                  1
 72 #define PM8994_MPP_S4                   2          72 #define PM8994_MPP_S4                   2
 73 #define PM8994_MPP_L12                  3          73 #define PM8994_MPP_L12                  3
 74                                                    74 
 75 /*                                                 75 /*
 76  * Analog Input - Set the source for analog in     76  * Analog Input - Set the source for analog input.
 77  * To be used with "qcom,amux-route" property      77  * To be used with "qcom,amux-route" property
 78  */                                                78  */
 79 #define PMIC_MPP_AMUX_ROUTE_CH5         0          79 #define PMIC_MPP_AMUX_ROUTE_CH5         0
 80 #define PMIC_MPP_AMUX_ROUTE_CH6         1          80 #define PMIC_MPP_AMUX_ROUTE_CH6         1
 81 #define PMIC_MPP_AMUX_ROUTE_CH7         2          81 #define PMIC_MPP_AMUX_ROUTE_CH7         2
 82 #define PMIC_MPP_AMUX_ROUTE_CH8         3          82 #define PMIC_MPP_AMUX_ROUTE_CH8         3
 83 #define PMIC_MPP_AMUX_ROUTE_ABUS1       4          83 #define PMIC_MPP_AMUX_ROUTE_ABUS1       4
 84 #define PMIC_MPP_AMUX_ROUTE_ABUS2       5          84 #define PMIC_MPP_AMUX_ROUTE_ABUS2       5
 85 #define PMIC_MPP_AMUX_ROUTE_ABUS3       6          85 #define PMIC_MPP_AMUX_ROUTE_ABUS3       6
 86 #define PMIC_MPP_AMUX_ROUTE_ABUS4       7          86 #define PMIC_MPP_AMUX_ROUTE_ABUS4       7
 87                                                    87 
 88 /* Analog Output: level */                         88 /* Analog Output: level */
 89 #define PMIC_MPP_AOUT_LVL_1V25          0          89 #define PMIC_MPP_AOUT_LVL_1V25          0
 90 #define PMIC_MPP_AOUT_LVL_1V25_2        1          90 #define PMIC_MPP_AOUT_LVL_1V25_2        1
 91 #define PMIC_MPP_AOUT_LVL_0V625         2          91 #define PMIC_MPP_AOUT_LVL_0V625         2
 92 #define PMIC_MPP_AOUT_LVL_0V3125        3          92 #define PMIC_MPP_AOUT_LVL_0V3125        3
 93 #define PMIC_MPP_AOUT_LVL_MPP           4          93 #define PMIC_MPP_AOUT_LVL_MPP           4
 94 #define PMIC_MPP_AOUT_LVL_ABUS1         5          94 #define PMIC_MPP_AOUT_LVL_ABUS1         5
 95 #define PMIC_MPP_AOUT_LVL_ABUS2         6          95 #define PMIC_MPP_AOUT_LVL_ABUS2         6
 96 #define PMIC_MPP_AOUT_LVL_ABUS3         7          96 #define PMIC_MPP_AOUT_LVL_ABUS3         7
 97                                                    97 
 98 /* To be used with "function" */                   98 /* To be used with "function" */
 99 #define PMIC_MPP_FUNC_NORMAL            "norma     99 #define PMIC_MPP_FUNC_NORMAL            "normal"
100 #define PMIC_MPP_FUNC_PAIRED            "paire    100 #define PMIC_MPP_FUNC_PAIRED            "paired"
101 #define PMIC_MPP_FUNC_DTEST1            "dtest    101 #define PMIC_MPP_FUNC_DTEST1            "dtest1"
102 #define PMIC_MPP_FUNC_DTEST2            "dtest    102 #define PMIC_MPP_FUNC_DTEST2            "dtest2"
103 #define PMIC_MPP_FUNC_DTEST3            "dtest    103 #define PMIC_MPP_FUNC_DTEST3            "dtest3"
104 #define PMIC_MPP_FUNC_DTEST4            "dtest    104 #define PMIC_MPP_FUNC_DTEST4            "dtest4"
105                                                   105 
106 #endif                                            106 #endif
107                                                   107 

~ [ 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