Commit 019102a9 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

arm64: dts: qcom: add fallback compatible to PMIC GPIOs

The bindings require all PMIC GPIO nodes to have two compatibles -
specific followed by SPMI or SSBI fallback.  Add the fallback to fix
warnings like:

  msm8916-samsung-serranove.dtb: gpios@c000: compatible: ['qcom,pm8916-gpio'] is too short
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-7-krzysztof.kozlowski@linaro.org
parent ff36bed5
...@@ -36,7 +36,7 @@ pm6350_resin: resin { ...@@ -36,7 +36,7 @@ pm6350_resin: resin {
}; };
pm6350_gpios: gpios@c000 { pm6350_gpios: gpios@c000 {
compatible = "qcom,pm6350-gpio"; compatible = "qcom,pm6350-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -171,7 +171,7 @@ vcoin: vcoin@83 { ...@@ -171,7 +171,7 @@ vcoin: vcoin@83 {
}; };
pm660_gpios: gpios@c000 { pm660_gpios: gpios@c000 {
compatible = "qcom,pm660-gpio"; compatible = "qcom,pm660-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
gpio-ranges = <&pm660_gpios 0 0 13>; gpio-ranges = <&pm660_gpios 0 0 13>;
......
...@@ -19,7 +19,7 @@ pm8009_pon: pon@800 { ...@@ -19,7 +19,7 @@ pm8009_pon: pon@800 {
}; };
pm8009_gpios: gpio@c000 { pm8009_gpios: gpio@c000 {
compatible = "qcom,pm8005-gpio"; compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -127,7 +127,7 @@ rtc@6000 { ...@@ -127,7 +127,7 @@ rtc@6000 {
}; };
pm8150_gpios: gpio@c000 { pm8150_gpios: gpio@c000 {
compatible = "qcom,pm8150-gpio"; compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -112,7 +112,7 @@ pm8150b_adc_tm: adc-tm@3500 { ...@@ -112,7 +112,7 @@ pm8150b_adc_tm: adc-tm@3500 {
}; };
pm8150b_gpios: gpio@c000 { pm8150b_gpios: gpio@c000 {
compatible = "qcom,pm8150b-gpio"; compatible = "qcom,pm8150b-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -100,7 +100,7 @@ pm8150l_adc_tm: adc-tm@3500 { ...@@ -100,7 +100,7 @@ pm8150l_adc_tm: adc-tm@3500 {
}; };
pm8150l_gpios: gpio@c000 { pm8150l_gpios: gpio@c000 {
compatible = "qcom,pm8150l-gpio"; compatible = "qcom,pm8150l-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -45,7 +45,7 @@ pm8350_temp_alarm: temp-alarm@a00 { ...@@ -45,7 +45,7 @@ pm8350_temp_alarm: temp-alarm@a00 {
}; };
pm8350_gpios: gpio@8800 { pm8350_gpios: gpio@8800 {
compatible = "qcom,pm8350-gpio"; compatible = "qcom,pm8350-gpio", "qcom,spmi-gpio";
reg = <0x8800>; reg = <0x8800>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -45,7 +45,7 @@ pm8350b_temp_alarm: temp-alarm@a00 { ...@@ -45,7 +45,7 @@ pm8350b_temp_alarm: temp-alarm@a00 {
}; };
pm8350b_gpios: gpio@8800 { pm8350b_gpios: gpio@8800 {
compatible = "qcom,pm8350b-gpio"; compatible = "qcom,pm8350b-gpio", "qcom,spmi-gpio";
reg = <0x8800>; reg = <0x8800>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -108,7 +108,7 @@ pm8916_mpps: mpps@a000 { ...@@ -108,7 +108,7 @@ pm8916_mpps: mpps@a000 {
}; };
pm8916_gpios: gpios@c000 { pm8916_gpios: gpios@c000 {
compatible = "qcom,pm8916-gpio"; compatible = "qcom,pm8916-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -116,7 +116,7 @@ pmm8155au_1_rtc: rtc@6000 { ...@@ -116,7 +116,7 @@ pmm8155au_1_rtc: rtc@6000 {
}; };
pmm8155au_1_gpios: gpio@c000 { pmm8155au_1_gpios: gpio@c000 {
compatible = "qcom,pmm8155au-gpio"; compatible = "qcom,pmm8155au-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -89,7 +89,7 @@ die-temp@6 { ...@@ -89,7 +89,7 @@ die-temp@6 {
}; };
pmm8155au_2_gpios: gpio@c000 { pmm8155au_2_gpios: gpio@c000 {
compatible = "qcom,pmm8155au-gpio"; compatible = "qcom,pmm8155au-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -45,7 +45,7 @@ pmr735b_temp_alarm: temp-alarm@a00 { ...@@ -45,7 +45,7 @@ pmr735b_temp_alarm: temp-alarm@a00 {
}; };
pmr735b_gpios: gpio@8800 { pmr735b_gpios: gpio@8800 {
compatible = "qcom,pmr735b-gpio"; compatible = "qcom,pmr735b-gpio", "qcom,spmi-gpio";
reg = <0x8800>; reg = <0x8800>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
...@@ -38,7 +38,7 @@ pms405_0: pms405@0 { ...@@ -38,7 +38,7 @@ pms405_0: pms405@0 {
#size-cells = <0>; #size-cells = <0>;
pms405_gpios: gpio@c000 { pms405_gpios: gpio@c000 {
compatible = "qcom,pms405-gpio"; compatible = "qcom,pms405-gpio", "qcom,spmi-gpio";
reg = <0xc000>; reg = <0xc000>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
......
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