arm64: dts: qcom: sm6125-sony-xperia: add missing SD CD GPIO functions
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 30 Sep 2022 19:29:47 +0000 (21:29 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:16:44 +0000 (13:16 -0500)
Add default GPIO function to SD card detect pins on SM6125 Sony Xperia,
as required by bindings:

  qcom/sm6125-sony-xperia-seine-pdx201.dtb: pinctrl@500000: sdc2-off-state: 'oneOf' conditional failed, one must be fixed:
    'pins' is a required property
    'function' is a required property
    'clk-pins', 'cmd-pins', 'data-pins', 'sd-cd-pins' do not match any of the regexes: 'pinctrl-[0-9]+'

Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930192954.242546-10-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts

index 6a8b88c..9af4b76 100644 (file)
@@ -89,6 +89,7 @@
 &sdc2_off_state {
        sd-cd-pins {
                pins = "gpio98";
+               function = "gpio";
                drive-strength = <2>;
                bias-disable;
        };
@@ -97,6 +98,7 @@
 &sdc2_on_state {
        sd-cd-pins {
                pins = "gpio98";
+               function = "gpio";
                drive-strength = <2>;
                bias-pull-up;
        };