提交 30693557 编写于 作者: K Krzysztof Kozlowski 提交者: Jonathan Cameron

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

The second compatible item in oneOf is just an enum, not a list.
Signed-off-by: NKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: NRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221027143411.277980-1-krzysztof.kozlowski@linaro.orgSigned-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
上级 c5269fe9
...@@ -22,13 +22,11 @@ properties: ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册