2023-09-29 14:29:53

by Luca Weiss

[permalink] [raw]
Subject: [PATCH 0/2] Small updates / fixups for PMIC spmi-gpio

Update the schema to use plural _gpios label in the example. And fix a
dtbs_check warning in pm7250b.dtsi.

Signed-off-by: Luca Weiss <[email protected]>
---
Luca Weiss (2):
dt-bindings: mfd: qcom,spmi-pmic: Update gpio example
arm64: dts: qcom: pm7250b: Use correct node name for gpios

Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++--
arch/arm64/boot/dts/qcom/pm7250b.dtsi | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: df964ce9ef9fea10cf131bf6bad8658fde7956f6
change-id: 20230929-pm7250b-gpio-fixup-f407ee98425a

Best regards,
--
Luca Weiss <[email protected]>


2023-09-29 16:47:27

by Luca Weiss

[permalink] [raw]
Subject: [PATCH 2/2] arm64: dts: qcom: pm7250b: Use correct node name for gpios

Use gpio@ instead of pinctrl@ as that's the name expected by the
qcom,spmi-pmic.yaml schema. Update it to fix dt validation.

Signed-off-by: Luca Weiss <[email protected]>
---
arch/arm64/boot/dts/qcom/pm7250b.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dts/qcom/pm7250b.dtsi
index df0afe82f250..3bf7cf5d1700 100644
--- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi
@@ -148,7 +148,7 @@ pm7250b_adc_tm: adc-tm@3500 {
status = "disabled";
};

- pm7250b_gpios: pinctrl@c000 {
+ pm7250b_gpios: gpio@c000 {
compatible = "qcom,pm7250b-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
gpio-controller;

--
2.42.0