Messages in this thread | | | Date | Thu, 13 Feb 2020 23:35:35 +0100 | From | Sebastian Reichel <> | Subject | Re: [PATCH v3 1/2] dt-bindings: i2c: cros-ec-tunnel: convert i2c-cros-ec-tunnel.txt to yaml |
| |
Hi,
On Thu, Feb 13, 2020 at 10:46:55PM +0100, Dafna Hirschfeld wrote: > Convert the binding file i2c-cros-ec-tunnel.txt to yaml format. > > This was tested and verified on ARM and ARM64 with: > > make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/i2c/i2c-cros-ec-tunnel.yaml > make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/i2c/i2c-cros-ec-tunnel.yaml > > Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> > ---
[...]
> +examples: > + - | > + cros-ec@0 { > + compatible = "google,cros-ec-spi"; > + i2c-tunnel { > + compatible = "google,cros-ec-i2c-tunnel"; > + #address-cells = <1>; > + #size-cells = <0>; > + google,remote-bus = <0>; > + > + battery: sbs-battery@b {
This should be "battery@b {", since node names are supposed to match the class of the device instead of the name of the device.
> + compatible = "sbs,sbs-battery"; > + reg = <0xb>; > + sbs,poll-retry-count = <1>; > + }; > + }; > + };
-- Sebastian [unhandled content-type:application/pgp-signature] | |