dt-bindings: iio: adc: qcom,spmi-vadc: simplify compatible enum

The second compatible item in oneOf is just an enum, not a list.

Change-Id: Iff563f0c95af6900d3e5da8f403530bb981f858a
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221027143411.277980-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Git-commit: 306935570f23e25bff22a3273bc6f92c8f13c910
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
This commit is contained in:
Krzysztof Kozlowski
2022-10-27 10:34:10 -04:00
committed by Anjelique Melendez
parent 6e5cf08b54
commit 649110f779

View File

@@ -22,13 +22,11 @@ properties:
- items: - items:
- const: qcom,pms405-adc - const: qcom,pms405-adc
- const: qcom,spmi-adc-rev2 - const: qcom,spmi-adc-rev2
- enum:
- items: - qcom,spmi-vadc
- enum: - qcom,spmi-adc5
- qcom,spmi-vadc - qcom,spmi-adc-rev2
- qcom,spmi-adc5 - qcom,spmi-adc7
- qcom,spmi-adc-rev2
- qcom,spmi-adc7
reg: reg:
description: VADC base address in the SPMI PMIC register map description: VADC base address in the SPMI PMIC register map