diff options
author | Brian Masney <masneyb@onstation.org> | 2019-05-20 04:58:46 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-06-28 13:27:47 -0600 |
commit | ef4db28c1f45cda6989bc8a8e45294894786d947 (patch) | |
tree | 1bc445384991c84de0ce59295039b5bc3a71d6b6 /Documentation/devicetree/bindings/leds/tca6507.txt | |
parent | f80b1dfc5680f3044b07b6dee8c198dde8aa313f (diff) | |
download | lwn-ef4db28c1f45cda6989bc8a8e45294894786d947.tar.gz lwn-ef4db28c1f45cda6989bc8a8e45294894786d947.zip |
dt-bindings: backlight: lm3630a: correct schema validation
The '#address-cells' and '#size-cells' properties were not defined in
the lm3630a bindings and would cause the following error when
attempting to validate the examples against the schema:
Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.example.dt.yaml:
'#address-cells', '#size-cells' do not match any of the regexes:
'^led@[01]$', 'pinctrl-[0-9]+'
Correct this by adding those two properties.
While we're here, move the ti,linear-mapping-mode property to the
led@[01] child nodes to correct the following validation error:
Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.example.dt.yaml:
led@0: 'ti,linear-mapping-mode' does not match any of the regexes:
'pinctrl-[0-9]+'
Fixes: 32fcb75c66a0 ("dt-bindings: backlight: Add lm3630a bindings")
Signed-off-by: Brian Masney <masneyb@onstation.org>
Reported-by: Rob Herring <robh+dt@kernel.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Dan Murphy <dmurphy@ti.com>
[robh: also drop maxItems from child reg]
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/tca6507.txt')
0 files changed, 0 insertions, 0 deletions