Commit ff36bed5 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

arm64: dts: qcom: align PMIC GPIO pin configuration with DT schema

DT schema expects PMIC GPIO pin configuration nodes to be named with
'-state' suffix.  Optional children should be either 'pinconf' or
followed with '-pins' suffix.  This fixes dtbs_check warnings like:

  sdm845-xiaomi-beryllium.dtb: gpios@c000: 'vol-up-active' does not match any of the regexes: '-state$', 'pinctrl-[0-9]+'
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220507194913.261121-6-krzysztof.kozlowski@linaro.org
parent 4148a9ee
...@@ -773,7 +773,7 @@ &pm8916_gpios { ...@@ -773,7 +773,7 @@ &pm8916_gpios {
"USB_HUB_RESET_N_PM", "USB_HUB_RESET_N_PM",
"USB_SW_SEL_PM"; "USB_SW_SEL_PM";
usb_hub_reset_pm: usb-hub-reset-pm { usb_hub_reset_pm: usb-hub-reset-pm-state {
pins = "gpio3"; pins = "gpio3";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
...@@ -781,14 +781,14 @@ usb_hub_reset_pm: usb-hub-reset-pm { ...@@ -781,14 +781,14 @@ usb_hub_reset_pm: usb-hub-reset-pm {
output-high; output-high;
}; };
usb_hub_reset_pm_device: usb-hub-reset-pm-device { usb_hub_reset_pm_device: usb-hub-reset-pm-device-state {
pins = "gpio3"; pins = "gpio3";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-low; output-low;
}; };
usb_sw_sel_pm: usb-sw-sel-pm { usb_sw_sel_pm: usb-sw-sel-pm-state {
pins = "gpio4"; pins = "gpio4";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
...@@ -797,7 +797,7 @@ usb_sw_sel_pm: usb-sw-sel-pm { ...@@ -797,7 +797,7 @@ usb_sw_sel_pm: usb-sw-sel-pm {
output-high; output-high;
}; };
usb_sw_sel_pm_device: usb-sw-sel-pm-device { usb_sw_sel_pm_device: usb-sw-sel-pm-device-state {
pins = "gpio4"; pins = "gpio4";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
...@@ -806,7 +806,7 @@ usb_sw_sel_pm_device: usb-sw-sel-pm-device { ...@@ -806,7 +806,7 @@ usb_sw_sel_pm_device: usb-sw-sel-pm-device {
output-low; output-low;
}; };
pm8916_gpios_leds: pm8916-gpios-leds { pm8916_gpios_leds: pm8916-gpios-leds-state {
pins = "gpio1", "gpio2"; pins = "gpio1", "gpio2";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
......
...@@ -555,7 +555,7 @@ &pm8994_gpios { ...@@ -555,7 +555,7 @@ &pm8994_gpios {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpios>; pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpios>;
ls_exp_gpio_f: pm8994_gpio5 { ls_exp_gpio_f: pm8994-gpio5-state {
pinconf { pinconf {
pins = "gpio5"; pins = "gpio5";
output-low; output-low;
...@@ -563,7 +563,7 @@ pinconf { ...@@ -563,7 +563,7 @@ pinconf {
}; };
}; };
bt_en_gpios: bt_en_gpios { bt_en_gpios: bt-en-pios-state {
pinconf { pinconf {
pins = "gpio19"; pins = "gpio19";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
...@@ -574,7 +574,7 @@ pinconf { ...@@ -574,7 +574,7 @@ pinconf {
}; };
}; };
wlan_en_gpios: wlan_en_gpios { wlan_en_gpios: wlan-en-gpios-state {
pinconf { pinconf {
pins = "gpio8"; pins = "gpio8";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
...@@ -585,7 +585,7 @@ pinconf { ...@@ -585,7 +585,7 @@ pinconf {
}; };
}; };
audio_mclk: clk_div1 { audio_mclk: clk-div1-state {
pinconf { pinconf {
pins = "gpio15"; pins = "gpio15";
function = "func1"; function = "func1";
...@@ -593,7 +593,7 @@ pinconf { ...@@ -593,7 +593,7 @@ pinconf {
}; };
}; };
volume_up_gpio: pm8996_gpio2 { volume_up_gpio: pm8996-gpio2-state {
pinconf { pinconf {
pins = "gpio2"; pins = "gpio2";
function = "normal"; function = "normal";
...@@ -605,7 +605,7 @@ pinconf { ...@@ -605,7 +605,7 @@ pinconf {
}; };
}; };
divclk4_pin_a: divclk4 { divclk4_pin_a: divclk4-state {
pinconf { pinconf {
pins = "gpio18"; pins = "gpio18";
function = PMIC_GPIO_FUNC_FUNC2; function = PMIC_GPIO_FUNC_FUNC2;
...@@ -615,7 +615,7 @@ pinconf { ...@@ -615,7 +615,7 @@ pinconf {
}; };
}; };
usb3_vbus_det_gpio: pm8996_gpio22 { usb3_vbus_det_gpio: pm8996-gpio22-state {
pinconf { pinconf {
pins = "gpio22"; pins = "gpio22";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
...@@ -671,7 +671,7 @@ &pmi8994_gpios { ...@@ -671,7 +671,7 @@ &pmi8994_gpios {
"NC", "NC",
"NC"; "NC";
usb2_vbus_det_gpio: pmi8996_gpio6 { usb2_vbus_det_gpio: pmi8996-gpio6-state {
pinconf { pinconf {
pins = "gpio6"; pins = "gpio6";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
......
...@@ -463,7 +463,7 @@ tsp_en_default: tsp-en-default { ...@@ -463,7 +463,7 @@ tsp_en_default: tsp-en-default {
}; };
&pm8916_gpios { &pm8916_gpios {
nfc_clk_req: nfc-clk-req { nfc_clk_req: nfc-clk-req-state {
pins = "gpio2"; pins = "gpio2";
function = "func1"; function = "func1";
......
...@@ -470,7 +470,7 @@ qca6174_bt: bluetooth { ...@@ -470,7 +470,7 @@ qca6174_bt: bluetooth {
}; };
&pm8994_gpios { &pm8994_gpios {
bt_en_gpios: bt_en_gpios { bt_en_gpios: bt-en-gpios-state {
pinconf { pinconf {
pins = "gpio19"; pins = "gpio19";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
...@@ -481,7 +481,7 @@ pinconf { ...@@ -481,7 +481,7 @@ pinconf {
}; };
}; };
divclk4_pin_a: divclk4 { divclk4_pin_a: divclk4-state {
pinconf { pinconf {
pins = "gpio18"; pins = "gpio18";
function = PMIC_GPIO_FUNC_FUNC2; function = PMIC_GPIO_FUNC_FUNC2;
...@@ -519,19 +519,19 @@ &pmi8994_gpios { ...@@ -519,19 +519,19 @@ &pmi8994_gpios {
* TODO: remove once a driver is available * TODO: remove once a driver is available
* TODO: add VBUS GPIO 5 * TODO: add VBUS GPIO 5
*/ */
hd3ss460_pol: pol_low { hd3ss460_pol: pol-low-state {
pins = "gpio8"; pins = "gpio8";
drive-strength = <3>; drive-strength = <3>;
bias-pull-down; bias-pull-down;
}; };
hd3ss460_amsel: amsel_high { hd3ss460_amsel: amsel-high-state {
pins = "gpio9"; pins = "gpio9";
drive-strength = <1>; drive-strength = <1>;
bias-pull-up; bias-pull-up;
}; };
hd3ss460_en: en_high { hd3ss460_en: en-high-state {
pins = "gpio10"; pins = "gpio10";
drive-strength = <1>; drive-strength = <1>;
bias-pull-up; bias-pull-up;
......
...@@ -242,14 +242,14 @@ &pm8994_gpios { ...@@ -242,14 +242,14 @@ &pm8994_gpios {
* probably a reason for it, and just to be on the safe side, we follow suit. * probably a reason for it, and just to be on the safe side, we follow suit.
*/ */
pm8994_gpios_defaults: pm8994-gpios-default-state { pm8994_gpios_defaults: pm8994-gpios-default-state {
pm8994-gpio1-nc { pm8994-gpio1-nc-pins {
pins = "gpio1"; pins = "gpio1";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
bias-high-impedance; bias-high-impedance;
}; };
vol-down-n { vol-down-n-pins {
pins = "gpio2"; pins = "gpio2";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -259,7 +259,7 @@ vol-down-n { ...@@ -259,7 +259,7 @@ vol-down-n {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
vol-up-n { vol-up-n-pins {
pins = "gpio3"; pins = "gpio3";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -268,7 +268,7 @@ vol-up-n { ...@@ -268,7 +268,7 @@ vol-up-n {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
camera-snapshot-n { camera-snapshot-n-pins {
pins = "gpio4"; pins = "gpio4";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -278,7 +278,7 @@ camera-snapshot-n { ...@@ -278,7 +278,7 @@ camera-snapshot-n {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
camera-focus-n { camera-focus-n-pins {
pins = "gpio5"; pins = "gpio5";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -288,7 +288,7 @@ camera-focus-n { ...@@ -288,7 +288,7 @@ camera-focus-n {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pm8994-gpio6-nc { pm8994-gpio6-nc-pins {
pins = "gpio6"; pins = "gpio6";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -296,7 +296,7 @@ pm8994-gpio6-nc { ...@@ -296,7 +296,7 @@ pm8994-gpio6-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
nfc-download { nfc-download-pins {
pins = "gpio7"; pins = "gpio7";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-low; output-low;
...@@ -306,7 +306,7 @@ nfc-download { ...@@ -306,7 +306,7 @@ nfc-download {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pm8994-gpio8-nc { pm8994-gpio8-nc-pins {
pins = "gpio8"; pins = "gpio8";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-low; output-low;
...@@ -316,7 +316,7 @@ pm8994-gpio8-nc { ...@@ -316,7 +316,7 @@ pm8994-gpio8-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
pm8994-gpio9-nc { pm8994-gpio9-nc-pins {
pins = "gpio9"; pins = "gpio9";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-high; output-high;
...@@ -326,7 +326,7 @@ pm8994-gpio9-nc { ...@@ -326,7 +326,7 @@ pm8994-gpio9-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
nfc-clock { nfc-clock-pins {
pins = "gpio10"; pins = "gpio10";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
input-enable; input-enable;
...@@ -336,7 +336,7 @@ nfc-clock { ...@@ -336,7 +336,7 @@ nfc-clock {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pm8994-gpio11-nc { pm8994-gpio11-nc-pins {
pins = "gpio11"; pins = "gpio11";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -344,7 +344,7 @@ pm8994-gpio11-nc { ...@@ -344,7 +344,7 @@ pm8994-gpio11-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
pm8994-gpio12-nc { pm8994-gpio12-nc-pins {
pins = "gpio12"; pins = "gpio12";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -352,7 +352,7 @@ pm8994-gpio12-nc { ...@@ -352,7 +352,7 @@ pm8994-gpio12-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
ear-enable { ear-enable-pins {
pins = "gpio13"; pins = "gpio13";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-high; output-high;
...@@ -362,7 +362,7 @@ ear-enable { ...@@ -362,7 +362,7 @@ ear-enable {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pm8994-gpio14-nc { pm8994-gpio14-nc-pins {
pins = "gpio14"; pins = "gpio14";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -372,7 +372,7 @@ pm8994-gpio14-nc { ...@@ -372,7 +372,7 @@ pm8994-gpio14-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
pm-divclk1-gpio { pm-divclk1-gpio-pins {
pins = "gpio15"; pins = "gpio15";
function = "func1"; function = "func1";
output-high; output-high;
...@@ -382,13 +382,13 @@ pm-divclk1-gpio { ...@@ -382,13 +382,13 @@ pm-divclk1-gpio {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
pmi-clk-gpio { pmi-clk-gpio-pins {
pins = "gpio16"; pins = "gpio16";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
}; };
pm8994-gpio17-nc { pm8994-gpio17-nc-pins {
pins = "gpio17"; pins = "gpio17";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -396,7 +396,7 @@ pm8994-gpio17-nc { ...@@ -396,7 +396,7 @@ pm8994-gpio17-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
rome-sleep { rome-sleep-pins {
pins = "gpio18"; pins = "gpio18";
function = PMIC_GPIO_FUNC_FUNC2; function = PMIC_GPIO_FUNC_FUNC2;
output-low; output-low;
...@@ -406,7 +406,7 @@ rome-sleep { ...@@ -406,7 +406,7 @@ rome-sleep {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pm8994-gpio19-nc { pm8994-gpio19-nc-pins {
pins = "gpio19"; pins = "gpio19";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-low; output-low;
...@@ -416,7 +416,7 @@ pm8994-gpio19-nc { ...@@ -416,7 +416,7 @@ pm8994-gpio19-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
pm8994-gpio22-nc { pm8994-gpio22-nc-pins {
pins = "gpio22"; pins = "gpio22";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -441,34 +441,34 @@ &pm8994_mpps { ...@@ -441,34 +441,34 @@ &pm8994_mpps {
"RF_ID"; "RF_ID";
pm8994_mpps_defaults: pm8994-mpps-default-state { pm8994_mpps_defaults: pm8994-mpps-default-state {
lcd-id_adc-mpp { lcd-id_adc-mpp-pins {
pins = "mpp2"; pins = "mpp2";
function = "analog"; function = "analog";
input-enable; input-enable;
qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH6>; qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH6>;
}; };
pm-mpp4-nc { pm-mpp4-nc-pins {
pins = "mpp4"; pins = "mpp4";
function = "digital"; function = "digital";
bias-high-impedance; bias-high-impedance;
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
flash-therm-mpp { flash-therm-mpp-pins {
pins = "mpp5"; pins = "mpp5";
function = "analog"; function = "analog";
input-enable; input-enable;
qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>; qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>;
}; };
mpp6-nc { mpp6-nc-pins {
pins = "mpp6"; pins = "mpp6";
function = "digital"; function = "digital";
bias-high-impedance; bias-high-impedance;
}; };
rf-id-mpp { rf-id-mpp-pins {
pins = "mpp8"; pins = "mpp8";
function = "analog"; function = "analog";
input-enable; input-enable;
...@@ -499,7 +499,7 @@ &pmi8994_gpios { ...@@ -499,7 +499,7 @@ &pmi8994_gpios {
"NC"; "NC";
pmi8994_gpios_defaults: pmi8994-gpios-default-state { pmi8994_gpios_defaults: pmi8994-gpios-default-state {
vib-ldo-en-gpio { vib-ldo-en-gpio-pins {
pins = "gpio1"; pins = "gpio1";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -508,7 +508,7 @@ vib-ldo-en-gpio { ...@@ -508,7 +508,7 @@ vib-ldo-en-gpio {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pmi-gpio2-nc { pmi-gpio2-nc-pins {
pins = "gpio2"; pins = "gpio2";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -518,7 +518,7 @@ pmi-gpio2-nc { ...@@ -518,7 +518,7 @@ pmi-gpio2-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
pmi-gpio3-nc { pmi-gpio3-nc-pins {
pins = "gpio3"; pins = "gpio3";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -528,7 +528,7 @@ pmi-gpio3-nc { ...@@ -528,7 +528,7 @@ pmi-gpio3-nc {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
pmi-gpio4-nc { pmi-gpio4-nc-pins {
pins = "gpio4"; pins = "gpio4";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -537,7 +537,7 @@ pmi-gpio4-nc { ...@@ -537,7 +537,7 @@ pmi-gpio4-nc {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pmi-gpio5-nc { pmi-gpio5-nc-pins {
pins = "gpio5"; pins = "gpio5";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -546,7 +546,7 @@ pmi-gpio5-nc { ...@@ -546,7 +546,7 @@ pmi-gpio5-nc {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pmi-gpio6-nc { pmi-gpio6-nc-pins {
pins = "gpio6"; pins = "gpio6";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -555,7 +555,7 @@ pmi-gpio6-nc { ...@@ -555,7 +555,7 @@ pmi-gpio6-nc {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pmi-gpio7-nc { pmi-gpio7-nc-pins {
pins = "gpio7"; pins = "gpio7";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -564,7 +564,7 @@ pmi-gpio7-nc { ...@@ -564,7 +564,7 @@ pmi-gpio7-nc {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
pmi-gpio8-nc { pmi-gpio8-nc-pins {
pins = "gpio8"; pins = "gpio8";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
...@@ -573,13 +573,13 @@ pmi-gpio8-nc { ...@@ -573,13 +573,13 @@ pmi-gpio8-nc {
power-source = <PM8994_GPIO_S4>; power-source = <PM8994_GPIO_S4>;
}; };
usb-switch-sel { usb-switch-sel-pins {
pins = "gpio9"; pins = "gpio9";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
drive-push-pull; drive-push-pull;
}; };
pmi-gpio10-nc { pmi-gpio10-nc-pins {
pins = "gpio10"; pins = "gpio10";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-low; output-low;
......
...@@ -608,7 +608,7 @@ vdd_gfx: s2 { ...@@ -608,7 +608,7 @@ vdd_gfx: s2 {
}; };
&pm8994_gpios { &pm8994_gpios {
wlan_en_default: wlan-en-default { wlan_en_default: wlan-en-state {
pins = "gpio8"; pins = "gpio8";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-low; output-low;
...@@ -617,7 +617,7 @@ wlan_en_default: wlan-en-default { ...@@ -617,7 +617,7 @@ wlan_en_default: wlan-en-default {
bias-disable; bias-disable;
}; };
rome_enable_default: rome-enable-default { rome_enable_default: rome-enable-state {
pins = "gpio9"; pins = "gpio9";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-high; output-high;
...@@ -625,7 +625,7 @@ rome_enable_default: rome-enable-default { ...@@ -625,7 +625,7 @@ rome_enable_default: rome-enable-default {
power-source = <PM8994_GPIO_VPH>; power-source = <PM8994_GPIO_VPH>;
}; };
divclk1_default: divclk1_default { divclk1_default: divclk1-state {
pins = "gpio15"; pins = "gpio15";
function = PMIC_GPIO_FUNC_FUNC1; function = PMIC_GPIO_FUNC_FUNC1;
bias-disable; bias-disable;
...@@ -633,7 +633,7 @@ divclk1_default: divclk1_default { ...@@ -633,7 +633,7 @@ divclk1_default: divclk1_default {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
}; };
divclk4_pin_a: divclk4 { divclk4_pin_a: divclk4-state {
pins = "gpio18"; pins = "gpio18";
function = PMIC_GPIO_FUNC_FUNC2; function = PMIC_GPIO_FUNC_FUNC2;
bias-disable; bias-disable;
......
...@@ -257,7 +257,7 @@ &pm8994_gpios { ...@@ -257,7 +257,7 @@ &pm8994_gpios {
"UIM_BATT_ALARM", /* GPIO_21 */ "UIM_BATT_ALARM", /* GPIO_21 */
"NC"; /* GPIO_22 */ "NC"; /* GPIO_22 */
divclk2_pin_a: divclk2 { divclk2_pin_a: divclk2-state {
pins = "gpio16"; pins = "gpio16";
function = PMIC_GPIO_FUNC_FUNC2; function = PMIC_GPIO_FUNC_FUNC2;
bias-disable; bias-disable;
......
...@@ -345,7 +345,7 @@ pm8005_s1: s1 { /* VDD_GFX supply */ ...@@ -345,7 +345,7 @@ pm8005_s1: s1 { /* VDD_GFX supply */
}; };
&pm8998_gpio { &pm8998_gpio {
vol_up_pin_a: vol-up-active { vol_up_pin_a: vol-up-active-state {
pins = "gpio6"; pins = "gpio6";
function = "normal"; function = "normal";
bias-pull-up; bias-pull-up;
...@@ -353,7 +353,7 @@ vol_up_pin_a: vol-up-active { ...@@ -353,7 +353,7 @@ vol_up_pin_a: vol-up-active {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
}; };
cam_focus_pin_a: cam-focus-btn-active { cam_focus_pin_a: cam-focus-btn-active-state {
pins = "gpio7"; pins = "gpio7";
function = "normal"; function = "normal";
bias-pull-up; bias-pull-up;
...@@ -361,7 +361,7 @@ cam_focus_pin_a: cam-focus-btn-active { ...@@ -361,7 +361,7 @@ cam_focus_pin_a: cam-focus-btn-active {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
}; };
cam_snapshot_pin_a: cam-snapshot-btn-active { cam_snapshot_pin_a: cam-snapshot-btn-active-state {
pins = "gpio8"; pins = "gpio8";
function = "normal"; function = "normal";
bias-pull-up; bias-pull-up;
......
...@@ -32,7 +32,7 @@ button-backlight { ...@@ -32,7 +32,7 @@ button-backlight {
}; };
&pmi8998_gpio { &pmi8998_gpio {
button_backlight_default: button-backlight-default { button_backlight_default: button-backlight-state {
pinconf { pinconf {
pins = "gpio5"; pins = "gpio5";
function = "normal"; function = "normal";
......
...@@ -270,7 +270,7 @@ pm8005_s1: s1 { ...@@ -270,7 +270,7 @@ pm8005_s1: s1 {
}; };
&pm8998_gpio { &pm8998_gpio {
vol_keys_default: vol-keys-default { vol_keys_default: vol-keys-state {
pins = "gpio5", "gpio6"; pins = "gpio5", "gpio6";
function = "normal"; function = "normal";
bias-pull-up; bias-pull-up;
......
...@@ -38,7 +38,7 @@ &lab { ...@@ -38,7 +38,7 @@ &lab {
}; };
&pmi8998_gpio { &pmi8998_gpio {
disp_dvdd_en: disp-dvdd-en-active { disp_dvdd_en: disp-dvdd-en-active-state {
pins = "gpio10"; pins = "gpio10";
function = "normal"; function = "normal";
bias-disable; bias-disable;
......
...@@ -286,7 +286,7 @@ pm8005_s1: s1 { ...@@ -286,7 +286,7 @@ pm8005_s1: s1 {
}; };
&pm8998_gpio { &pm8998_gpio {
vol_down_pin_a: vol-down-active { vol_down_pin_a: vol-down-active-state {
pins = "gpio5"; pins = "gpio5";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
bias-pull-up; bias-pull-up;
...@@ -294,7 +294,7 @@ vol_down_pin_a: vol-down-active { ...@@ -294,7 +294,7 @@ vol_down_pin_a: vol-down-active {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
}; };
cam_focus_pin_a: cam-focus-btn-active { cam_focus_pin_a: cam-focus-btn-active-state {
pins = "gpio7"; pins = "gpio7";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
bias-pull-up; bias-pull-up;
...@@ -302,7 +302,7 @@ cam_focus_pin_a: cam-focus-btn-active { ...@@ -302,7 +302,7 @@ cam_focus_pin_a: cam-focus-btn-active {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
}; };
cam_snapshot_pin_a: cam-snapshot-btn-active { cam_snapshot_pin_a: cam-snapshot-btn-active-state {
pins = "gpio8"; pins = "gpio8";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
bias-pull-up; bias-pull-up;
...@@ -310,7 +310,7 @@ cam_snapshot_pin_a: cam-snapshot-btn-active { ...@@ -310,7 +310,7 @@ cam_snapshot_pin_a: cam-snapshot-btn-active {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
}; };
audio_mclk_pin: audio-mclk-pin-active { audio_mclk_pin: audio-mclk-pin-active-state {
pins = "gpio13"; pins = "gpio13";
function = "func2"; function = "func2";
power-source = <0>; power-source = <0>;
...@@ -318,7 +318,7 @@ audio_mclk_pin: audio-mclk-pin-active { ...@@ -318,7 +318,7 @@ audio_mclk_pin: audio-mclk-pin-active {
}; };
&pmi8998_gpio { &pmi8998_gpio {
cam_vio_default: cam-vio-active { cam_vio_default: cam-vio-active-state {
pins = "gpio1"; pins = "gpio1";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
bias-disable; bias-disable;
...@@ -328,7 +328,7 @@ cam_vio_default: cam-vio-active { ...@@ -328,7 +328,7 @@ cam_vio_default: cam-vio-active {
power-source = <1>; power-source = <1>;
}; };
vib_default: vib-en { vib_default: vib-en-state {
pins = "gpio5"; pins = "gpio5";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
bias-disable; bias-disable;
......
...@@ -304,7 +304,7 @@ pinconf { ...@@ -304,7 +304,7 @@ pinconf {
}; };
&pms405_gpios { &pms405_gpios {
usb_vbus_boost_pin: usb-vbus-boost-pin { usb_vbus_boost_pin: usb-vbus-boost-state {
pinconf { pinconf {
pins = "gpio3"; pins = "gpio3";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
...@@ -312,7 +312,7 @@ pinconf { ...@@ -312,7 +312,7 @@ pinconf {
power-source = <1>; power-source = <1>;
}; };
}; };
usb3_vbus_pin: usb3-vbus-pin { usb3_vbus_pin: usb3-vbus-state {
pinconf { pinconf {
pins = "gpio12"; pins = "gpio12";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
......
...@@ -796,7 +796,7 @@ &pm8150l_gpios { ...@@ -796,7 +796,7 @@ &pm8150l_gpios {
"NC", "NC",
"PM3003A_MODE"; "PM3003A_MODE";
lt9611_rst_pin: lt9611-rst-pin { lt9611_rst_pin: lt9611-rst-state {
pins = "gpio5"; pins = "gpio5";
function = "normal"; function = "normal";
......
...@@ -467,7 +467,7 @@ wifi-firmware { ...@@ -467,7 +467,7 @@ wifi-firmware {
/* PINCTRL - additions to nodes defined in sc7180.dtsi */ /* PINCTRL - additions to nodes defined in sc7180.dtsi */
&pm6150l_gpio { &pm6150l_gpio {
disp_pins: disp-pins { disp_pins: disp-state {
pinconf { pinconf {
pins = "gpio3"; pins = "gpio3";
function = PMIC_GPIO_FUNC_FUNC1; function = PMIC_GPIO_FUNC_FUNC1;
......
...@@ -444,7 +444,7 @@ &mi2s1_ws { ...@@ -444,7 +444,7 @@ &mi2s1_ws {
}; };
&pm7325_gpios { &pm7325_gpios {
key_vol_up_default: key-vol-up-default { key_vol_up_default: key-vol-up-state {
pins = "gpio6"; pins = "gpio6";
function = "normal"; function = "normal";
input-enable; input-enable;
......
...@@ -523,7 +523,7 @@ &sdc1_rclk { ...@@ -523,7 +523,7 @@ &sdc1_rclk {
*/ */
&pm8350c_gpios { &pm8350c_gpios {
pmic_edp_bl_en: pmic-edp-bl-en { pmic_edp_bl_en: pmic-edp-bl-en-state {
pins = "gpio7"; pins = "gpio7";
function = "normal"; function = "normal";
bias-disable; bias-disable;
...@@ -533,7 +533,7 @@ pmic_edp_bl_en: pmic-edp-bl-en { ...@@ -533,7 +533,7 @@ pmic_edp_bl_en: pmic-edp-bl-en {
output-low; output-low;
}; };
pmic_edp_bl_pwm: pmic-edp-bl-pwm { pmic_edp_bl_pwm: pmic-edp-bl-pwm-state {
pins = "gpio8"; pins = "gpio8";
function = "func1"; function = "func1";
bias-disable; bias-disable;
......
...@@ -569,7 +569,7 @@ &pm8998_gpio { ...@@ -569,7 +569,7 @@ &pm8998_gpio {
"OPTION2", "OPTION2",
"PM845_SLB"; "PM845_SLB";
cam0_dvdd_1v2_en_default: cam0-dvdd-1v2-en { cam0_dvdd_1v2_en_default: cam0-dvdd-1v2-en-state {
pins = "gpio12"; pins = "gpio12";
function = "normal"; function = "normal";
...@@ -578,7 +578,7 @@ cam0_dvdd_1v2_en_default: cam0-dvdd-1v2-en { ...@@ -578,7 +578,7 @@ cam0_dvdd_1v2_en_default: cam0-dvdd-1v2-en {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>; qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
}; };
cam0_avdd_2v8_en_default: cam0-avdd-2v8-en { cam0_avdd_2v8_en_default: cam0-avdd-2v8-en-state {
pins = "gpio10"; pins = "gpio10";
function = "normal"; function = "normal";
...@@ -587,7 +587,7 @@ cam0_avdd_2v8_en_default: cam0-avdd-2v8-en { ...@@ -587,7 +587,7 @@ cam0_avdd_2v8_en_default: cam0-avdd-2v8-en {
qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>; qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
}; };
vol_up_pin_a: vol-up-active { vol_up_pin_a: vol-up-active-state {
pins = "gpio6"; pins = "gpio6";
function = "normal"; function = "normal";
input-enable; input-enable;
......
...@@ -440,7 +440,7 @@ &mss_pil { ...@@ -440,7 +440,7 @@ &mss_pil {
}; };
&pm8998_gpio { &pm8998_gpio {
volume_down_gpio: pm8998_gpio5 { volume_down_gpio: pm8998-gpio5-state {
pinconf { pinconf {
pins = "gpio5"; pins = "gpio5";
function = "normal"; function = "normal";
...@@ -450,7 +450,7 @@ pinconf { ...@@ -450,7 +450,7 @@ pinconf {
}; };
}; };
volume_up_gpio: pm8998_gpio6 { volume_up_gpio: pm8998-gpio6-state {
pinconf { pinconf {
pins = "gpio6"; pins = "gpio6";
function = "normal"; function = "normal";
......
...@@ -508,7 +508,7 @@ &mss_pil { ...@@ -508,7 +508,7 @@ &mss_pil {
}; };
&pm8998_gpio { &pm8998_gpio {
volume_up_gpio: pm8998_gpio6 { volume_up_gpio: pm8998-gpio6-state {
pinconf { pinconf {
pins = "gpio6"; pins = "gpio6";
function = "normal"; function = "normal";
......
...@@ -306,7 +306,7 @@ &ipa { ...@@ -306,7 +306,7 @@ &ipa {
}; };
&pm8998_gpio { &pm8998_gpio {
vol_up_pin_a: vol-up-active { vol_up_pin_a: vol-up-active-state {
pins = "gpio6"; pins = "gpio6";
function = "normal"; function = "normal";
input-enable; input-enable;
......
...@@ -339,7 +339,7 @@ &pm6150l_wled { ...@@ -339,7 +339,7 @@ &pm6150l_wled {
}; };
&pm6350_gpios { &pm6350_gpios {
gpio_keys_pin: gpio-keys-pin { gpio_keys_pin: gpio-keys-state {
pins = "gpio2"; pins = "gpio2";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
bias-pull-up; bias-pull-up;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment