2016-09-17 00:41:21 +07:00
|
|
|
|
|
|
|
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
|
|
|
&pm8994_gpios {
|
|
|
|
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ls_exp_gpio_f>;
|
|
|
|
|
2017-01-04 20:34:57 +07:00
|
|
|
ls_exp_gpio_f: pm8994_gpio5 {
|
2016-09-17 00:41:21 +07:00
|
|
|
pinconf {
|
|
|
|
pins = "gpio5";
|
|
|
|
output-low;
|
2016-11-30 21:08:55 +07:00
|
|
|
power-source = <2>; // PM8994_GPIO_S4, 1.8V
|
2016-09-17 00:41:21 +07:00
|
|
|
};
|
|
|
|
};
|
2017-01-04 20:35:02 +07:00
|
|
|
|
|
|
|
volume_up_gpio: pm8996_gpio2 {
|
|
|
|
pinconf {
|
|
|
|
pins = "gpio2";
|
|
|
|
function = "normal";
|
|
|
|
input-enable;
|
|
|
|
drive-push-pull;
|
|
|
|
bias-pull-up;
|
|
|
|
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
|
|
|
power-source = <PM8994_GPIO_S4>; // 1.8V
|
|
|
|
};
|
|
|
|
};
|
2017-07-31 13:44:44 +07:00
|
|
|
|
|
|
|
usb3_vbus_det_gpio: pm8996_gpio22 {
|
|
|
|
pinconf {
|
|
|
|
pins = "gpio22";
|
|
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
|
|
input-enable;
|
|
|
|
bias-pull-down;
|
|
|
|
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
|
|
|
power-source = <PM8994_GPIO_S4>; // 1.8V
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmi8994_gpios {
|
|
|
|
usb2_vbus_det_gpio: pmi8996_gpio6 {
|
|
|
|
pinconf {
|
|
|
|
pins = "gpio6";
|
|
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
|
|
input-enable;
|
|
|
|
bias-pull-down;
|
|
|
|
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
|
|
|
power-source = <PM8994_GPIO_S4>; // 1.8V
|
|
|
|
};
|
|
|
|
};
|
2016-09-17 00:41:21 +07:00
|
|
|
};
|