pinctrl: dt-bindings: Fix some errors in the lgm and pinmux schema
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 13 Jan 2020 21:26:29 +0000 (22:26 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 13 Jan 2020 21:33:43 +0000 (22:33 +0100)
commit4784adc69a80188d842624ab1519e056a67cc0bd
treef25f781fc4bfbdef375eaad7bd67483f98615846
parent97f7d41ff8173d4913a1139502d0548e4c567109
pinctrl: dt-bindings: Fix some errors in the lgm and pinmux schema

This fixes some problems that caused build errors in the
lgm-io schema file:

- No "bindings" infix in the schema id
- Move the allOf inclusion for pinconf and pinmux nodes into
  the patternProperties for the -pins node
- We want "groups" not "group" to be compulsory for a pinmux
  node blended with a pin config node.
- Fix the generic pinmux-schema to list "groups" rather than
  "group" for a pinmux node, this might have led to some confusion.

This is a first user of the generic schema so a bit of a bumpy
road.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Rahul Tanwar <rahul.tanwar@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml
Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml