2022-11-17 12:36:46

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] dt-bindings: iio: adc: qcom,spmi-vadc: fix PM8350 define

The defines from include/dt-bindings/iio/qcom,spmi-adc7-pm8350.h were
changed to take sid argument:

Error: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.example.dts:99.28-29 syntax error

Signed-off-by: Krzysztof Kozlowski <[email protected]>

---

Issue is caused by commit 22f1d06f4f28 ("dt-bindings: iio: qcom:
adc7-pm8350: Allow specifying SID for channels") from Bjorn's tree.

Unfortunately get_maintainers.pl were not used, so IIO maintaners were
not CCed.
---
Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
index f1522196042d..bd6e0d6f6e0c 100644
--- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
@@ -299,7 +299,7 @@ examples:
};

conn-therm@47 {
- reg = <PM8350_ADC7_AMUX_THM4_100K_PU>;
+ reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
};
--
2.34.1



2022-12-06 18:37:01

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: iio: adc: qcom,spmi-vadc: fix PM8350 define

On Thu, 17 Nov 2022 13:13:07 +0100, Krzysztof Kozlowski wrote:
> The defines from include/dt-bindings/iio/qcom,spmi-adc7-pm8350.h were
> changed to take sid argument:
>
> Error: Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.example.dts:99.28-29 syntax error
>
>

Applied, thanks!

[1/1] dt-bindings: iio: adc: qcom,spmi-vadc: fix PM8350 define
commit: 51f7be212ae6c9c09e77d17468fe26485f79836d

Best regards,
--
Bjorn Andersson <[email protected]>