arm64: dts: qcom: qcs404: fix default pinctrl settings for blsp1_spi1
authorAndrey Konovalov <andrey.konovalov@linaro.org>
Sat, 11 Jun 2022 19:57:13 +0000 (22:57 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 3 Jul 2022 02:50:26 +0000 (21:50 -0500)
commit2cac6baf0249cdd3748128f3196c2d203b06a4af
tree67e701844f6754c69446f60e2bbae21a0f114443
parentbf3708c6734a4bc8e9c538fa586d798c4768bf3f
arm64: dts: qcom: qcs404: fix default pinctrl settings for blsp1_spi1

The current settings refer to "blsp_spi1" function which isn't defined.
For this reason an attempt to enable blsp1_spi1 interface results in
the probe failure below:

[    3.492900] qcs404-pinctrl 1000000.pinctrl: invalid function blsp_spi1 in map table
[    3.502460] qcs404-pinctrl 1000000.pinctrl: invalid function blsp_spi1 in map table
[    3.517725] qcs404-pinctrl 1000000.pinctrl: invalid function blsp_spi1 in map table
[    3.532998] qcs404-pinctrl 1000000.pinctrl: invalid function blsp_spi1 in map table
[    3.548277] spi_qup: probe of 78b6000.spi failed with error -22

Fix this by making the functions used in qcs404.dtsi to match the contents
of drivers/pinctrl/qcom/pinctrl-qcs404.c.

Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220611195713.131597-1-andrey.konovalov@linaro.org
arch/arm64/boot/dts/qcom/qcs404.dtsi