#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> | |
&pm8994_gpios { | |
pinctrl-names = "default"; | |
pinctrl-0 = <&ls_exp_gpio_f>; | |
ls_exp_gpio_f: pm8994_gpio5 { | |
pinconf { | |
pins = "gpio5"; | |
output-low; | |
power-source = <2>; // PM8994_GPIO_S4, 1.8V | |
}; | |
}; | |
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 | |
}; | |
}; | |
}; |