Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings:iio:qcom-spmi-vadc drop incorrect io-channel-ranges from example

io-channel-ranges is a property for io-channel consumers. Here
it is in an example of a provider of channels so doesn't do anything
useful.

Recent additions to dt-schema check this property is only provided
alongside io-channels which is not true here and hence an error is
reported.

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <agross@kernel.org>
Cc: Jishnu Prakash <jprakash@codeaurora.org>
Link: https://lore.kernel.org/r/20201115192951.1073632-2-jic23@kernel.org

-3
-3
Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml
··· 48 48 description: 49 49 End of conversion interrupt. 50 50 51 - io-channel-ranges: true 52 - 53 51 required: 54 52 - compatible 55 53 - reg ··· 247 249 #address-cells = <1>; 248 250 #size-cells = <0>; 249 251 #io-channel-cells = <1>; 250 - io-channel-ranges; 251 252 252 253 /* Channel node */ 253 254 adc-chan@39 {