dts: arm64: db820c: add pmic pins specific dts file

This patch adds pmic specific dts which are configured specially
for db820c. One of such pin is GPIO_F on the Low Speed expansion
which has default output voltage of 2.7v. This patch fixes setup
for that pin to have an output voltage of 1.8v to comply with
96boards LS expansion specs.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
Srinivas Kandagatla 2016-09-16 18:41:21 +01:00 коммит произвёл Andy Gross
Родитель 2b98ce1340
Коммит 50784e6103
2 изменённых файлов: 17 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,15 @@
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
&pm8994_gpios {
pinctrl-names = "default";
pinctrl-0 = <&ls_exp_gpio_f>;
ls_exp_gpio_f: pm8916_mpp4 {
pinconf {
pins = "gpio5";
output-low;
power-source = <PM8994_GPIO_S4>; // 1.8V
};
};
};

Просмотреть файл

@ -12,7 +12,9 @@
*/ */
#include "msm8996.dtsi" #include "msm8996.dtsi"
#include "pm8994.dtsi"
#include "apq8096-db820c-pins.dtsi" #include "apq8096-db820c-pins.dtsi"
#include "apq8096-db820c-pmic-pins.dtsi"
/ { / {
aliases { aliases {