dts/bindings: use const to validate #<FOO>-cells

In most cases #<FOO>-cells should be a constant.  For example in spi
controller #address-cells should be 1, and #size-cells should be 0.

Use the const attribute to specify such single known values.  Add const
value to missing bindings which have cells.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-08-09 14:54:26 -05:00 committed by Kumar Gala
commit b012034519
55 changed files with 144 additions and 18 deletions

View file

@ -22,5 +22,8 @@ properties:
label:
category: required
"#clock-cells":
const: 1
"#cells":
- name