arm64: dts: qcom: sm8250-pdx203: add required pin function
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 17 Jul 2023 21:00:55 +0000 (23:00 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 18 Jul 2023 03:43:28 +0000 (20:43 -0700)
DT bindings expect function in each pin state in the pin configuration:

  sm8250-sony-xperia-edo-pdx203.dtb: pinctrl@f100000: cam-pwr-b-state: 'oneOf' conditional failed, one must be fixed:
    'function' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230717210055.21979-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx203.dts

index f4c4575..b70bf92 100644 (file)
 
        cam_pwr_b_cs: cam-pwr-b-state {
                pins = "gpio69";
+               function = "gpio";
                drive-strength = <2>;
                bias-disable;
                output-low;
 
        cam_pwr_a_cs: cam-pwr-a-state {
                pins = "gpio71";
+               function = "gpio";
                drive-strength = <2>;
                bias-disable;
                output-low;