arm64: dts: qcom: sa8295p-adp: add fallback compatible to PMIC GPIOs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 8 Sep 2022 08:10:49 +0000 (10:10 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 15 Sep 2022 02:24:25 +0000 (21:24 -0500)
Bindings require all PMIC GPIO nodes to have two compatibles - specific
followed by SPMI or SSBI fallback:

  qcom/sa8295p-adp.dtb: pmic@8: gpio@c000:compatible: ['qcom,pm8150-gpio'] is too short

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220908081050.29751-4-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sa8295p-adp.dts

index ca5f5ad..98f8420 100644 (file)
                #size-cells = <0>;
 
                pm8450a_gpios: gpio@c000 {
-                       compatible = "qcom,pm8150-gpio";
+                       compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
                        reg = <0xc000>;
                        gpio-controller;
                        #gpio-cells = <2>;
                #size-cells = <0>;
 
                pm8450c_gpios: gpio@c000 {
-                       compatible = "qcom,pm8150-gpio";
+                       compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
                        reg = <0xc000>;
                        gpio-controller;
                        #gpio-cells = <2>;
                #size-cells = <0>;
 
                pm8450e_gpios: gpio@c000 {
-                       compatible = "qcom,pm8150-gpio";
+                       compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
                        reg = <0xc000>;
                        gpio-controller;
                        #gpio-cells = <2>;
                #size-cells = <0>;
 
                pm8450g_gpios: gpio@c000 {
-                       compatible = "qcom,pm8150-gpio";
+                       compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio";
                        reg = <0xc000>;
                        gpio-controller;
                        #gpio-cells = <2>;