treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / boot / dts / qcom / apq8016-sbc-pmic-pins.dtsi
blobec2f0de67993d03b9e1b587aad0e8bb37920ebe9
1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
3 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
5 &pm8916_gpios {
7         usb_hub_reset_pm: usb_hub_reset_pm {
8                 pinconf {
9                         pins = "gpio3";
10                         function = PMIC_GPIO_FUNC_NORMAL;
11                         output-low;
12                 };
13         };
15         usb_sw_sel_pm: usb_sw_sel_pm {
16                 pinconf {
17                         pins = "gpio4";
18                         function = PMIC_GPIO_FUNC_NORMAL;
19                         power-source = <PM8916_GPIO_VPH>;
20                         input-disable;
21                         output-high;
22                 };
23         };
25         pm8916_gpios_leds: pm8916_gpios_leds {
26                 pinconf {
27                         pins = "gpio1", "gpio2";
28                         function = PMIC_GPIO_FUNC_NORMAL;
29                         output-low;
30                 };
31         };
34 &pm8916_mpps {
36         pinctrl-names = "default";
37         pinctrl-0 = <&ls_exp_gpio_f>;
39         ls_exp_gpio_f: pm8916_mpp4 {
40                 pinconf {
41                         pins = "mpp4";
42                         function = "digital";
43                         output-low;
44                         power-source = <PM8916_MPP_L5>; // 1.8V
45                 };
46         };
48         pm8916_mpps_leds: pm8916_mpps_leds {
49                 pinconf {
50                         pins = "mpp2", "mpp3";
51                         function = "digital";
52                         output-low;
53                 };
54         };