diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2018-12-10 16:45:51 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-12-10 16:45:51 -0800 |
| commit | 57746efb2590be46e5e61d0a59dbab1c032a8fa5 (patch) | |
| tree | 7893876fb5430ddebc7882ca1df60a29b1234b05 /include | |
| parent | f33b549360fadf58bfd2ee4e2f33bdbc17a5c383 (diff) | |
| parent | aed13186898f348876c9fd705e910b823652e67b (diff) | |
Merge "pinctrl: qcom: spmi-gpio: Fix the GPIO strength mapping"
Diffstat (limited to 'include')
| -rw-r--r-- | include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h index 64e2dc7183f3..7ac6f1631098 100644 --- a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h +++ b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h @@ -11,9 +11,14 @@ #define PMIC_GPIO_PULL_UP_1P5_30 3 #define PMIC_GPIO_STRENGTH_NO 0 -#define PMIC_GPIO_STRENGTH_HIGH 1 +#define PMIC_GPIO_STRENGTH_LOW 1 #define PMIC_GPIO_STRENGTH_MED 2 -#define PMIC_GPIO_STRENGTH_LOW 3 +#define PMIC_GPIO_STRENGTH_HIGH 3 + +#define PM8921_GPIO_STRENGTH_NO 0 +#define PM8921_GPIO_STRENGTH_HIGH 1 +#define PM8921_GPIO_STRENGTH_MED 2 +#define PM8921_GPIO_STRENGTH_LOW 3 /* * Note: PM8018 GPIO3 and GPIO4 are supporting |
