Skip to content
Permalink
Browse files

dts: bindings: Make 'clocks' optional in adc.yaml

These bindings !include adc.yaml, but their device tree nodes never set
'clocks':

    dts/bindings/iio/adc/atmel,sam-afec.yaml
    dts/bindings/iio/adc/atmel,sam0-adc.yaml
    dts/bindings/iio/adc/nordic,nrf-adc.yaml
    dts/bindings/iio/adc/nordic,nrf-saadc.yaml

The nodes for these bindings do set it (think it's consistent for
st,stm32-adc.yaml):

    dts/bindings/iio/adc/nxp,kinetis-adc12.yaml
    dts/bindings/iio/adc/st,stm32-adc.yaml

Make 'clocks' optional in adc.yaml. Maybe it should be changed to
required on some platforms (!including bindings can change 'optional' to
'required').

Fixes a bunch of errors in
#17532.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
  • Loading branch information...
ulfalizer authored and galak committed Jul 16, 2019
1 parent 9d02aa0 commit c023495df07b3b2259f108e8f619bdd952b64978
Showing with 0 additions and 3 deletions.
  1. +0 −3 dts/bindings/iio/adc/adc.yaml
@@ -14,8 +14,5 @@ inherits:
!include base.yaml

properties:
clocks:
category: required

label:
category: required

0 comments on commit c023495

Please sign in to comment.
You can’t perform that action at this time.