All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fix checker warnings related to cros-ec binding
@ 2020-10-08 10:28 Ricardo Cañuelo
  2020-10-08 10:28 ` [PATCH v2 1/3] dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema Ricardo Cañuelo
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Ricardo Cañuelo @ 2020-10-08 10:28 UTC (permalink / raw)
  To: robh
  Cc: kernel, enric.balletbo, bleung, groeck, sjg, dianders,
	devicetree, dmitry.torokhov

This series fixes a bunch of warnings related to the google,cros-ec
binding, originally reported by Rob Herring.
The patches involve adding missing subnode definitions in the
google,cros-ec binding and the conversion of two existing bindings to
json-schema.

All the related warnings should be fixed after applying the patches,
except for a couple of warnings in the device trees of Qualcomm's
Trogdor and Cheza chromebooks. They define a pdupdate subnode inside
cros-ec that has no binding, the development of drivers and support for
these chromebooks is ongoing and not completely upstreamed yet.

Bindings tested with:

  make dt_binding_check ARCH=<arch> DT_SCHEMA_FILES=...
  make dtbs_check ARCH=<arch> DT_SCHEMA_FILES=...

for <arch> = arm and arm64.

Changes from v1:

  - Update google,cros-ec.yaml in patches 1 and 2 to avoid checker
    warnings when applied individually.

  - Complete the examples in google,cros-ec-i2c-tunnel.yaml and
    google,cros-ec-keyb.yaml, including the enclosing nodes (Enric).

  - Include the additional properties from matrix-keymap.yaml in
    google,cros-ec-keyb.yaml and use additionalProperties: false
    (Enric).

  - Use an intermediate "codecs" node in google,cros-ec.yaml to enclose
    the ec-codec nodes, which require different #address-cells and
    #size-cells values (Rob).

  - Update the example in google,cros-ec-codec.yaml to reflect the
    change in google,cros-ec.yaml

Kind regards,
Ricardo

Ricardo Cañuelo (3):
  dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema
  dt-bindings: input: convert cros-ec-keyb to json-schema
  mfd: google,cros-ec: add missing properties

 .../i2c/google,cros-ec-i2c-tunnel.yaml        |  63 +++++++++
 .../bindings/i2c/i2c-cros-ec-tunnel.txt       |  39 ------
 .../bindings/input/cros-ec-keyb.txt           |  72 -----------
 .../bindings/input/google,cros-ec-keyb.yaml   | 120 ++++++++++++++++++
 .../bindings/mfd/google,cros-ec.yaml          |  50 ++++++++
 .../bindings/sound/google,cros-ec-codec.yaml  |  26 ++--
 6 files changed, 249 insertions(+), 121 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
 delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-cros-ec-tunnel.txt
 delete mode 100644 Documentation/devicetree/bindings/input/cros-ec-keyb.txt
 create mode 100644 Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml

-- 
2.18.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-10-15  9:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 10:28 [PATCH v2 0/3] Fix checker warnings related to cros-ec binding Ricardo Cañuelo
2020-10-08 10:28 ` [PATCH v2 1/3] dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema Ricardo Cañuelo
2020-10-11 11:17   ` Enric Balletbo i Serra
2020-10-08 10:28 ` [PATCH v2 2/3] dt-bindings: input: convert cros-ec-keyb " Ricardo Cañuelo
2020-10-08 18:32   ` Rob Herring
2020-10-09  5:28     ` Ricardo Cañuelo
2020-10-09 13:23       ` Rob Herring
2020-10-08 10:28 ` [PATCH v2 3/3] mfd: google,cros-ec: add missing properties Ricardo Cañuelo
2020-10-08 18:38   ` Rob Herring
2020-10-09  5:48     ` Ricardo Cañuelo
2020-10-09 13:34       ` Rob Herring
2020-10-13  6:46         ` Ricardo Cañuelo
2020-10-14  2:18           ` Tzung-Bi Shih
2020-10-15  6:52             ` Ricardo Cañuelo
2020-10-15  8:25               ` Enric Balletbo i Serra
2020-10-15  9:50                 ` Tzung-Bi Shih

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.