Message ID | 20190703095338.11266-1-maxime.ripard@bootlin.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [1/2] dt-bindings: i2c: mv64xxx: Fix the example compatible | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success |
Maxime Ripard <maxime.ripard@bootlin.com> writes: > One example has a compatible that isn't a valid combination according to > the binding, and now that the examples are validated as well, this > generates a warning. > > Let's fix this. > > Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Thanks, Gregory > --- > Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml > index 9a5654ef5670..001f2b7abad0 100644 > --- a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml > +++ b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml > @@ -105,7 +105,7 @@ examples: > > - | > i2c@11000 { > - compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; > + compatible = "marvell,mv78230-i2c"; > reg = <0x11000 0x100>; > interrupts = <29>; > clock-frequency = <100000>; > -- > 2.21.0 >
On Wed, Jul 3, 2019 at 3:53 AM Maxime Ripard <maxime.ripard@bootlin.com> wrote: > > One example has a compatible that isn't a valid combination according to > the binding, and now that the examples are validated as well, this > generates a warning. > > Let's fix this. > > Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> > --- > Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Rob Herring <robh@kernel.org>
On Wed, Jul 03, 2019 at 11:53:37AM +0200, Maxime Ripard wrote: > One example has a compatible that isn't a valid combination according to > the binding, and now that the examples are validated as well, this > generates a warning. > > Let's fix this. > > Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Applied to for-next, thanks!
diff --git a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml index 9a5654ef5670..001f2b7abad0 100644 --- a/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml @@ -105,7 +105,7 @@ examples: - | i2c@11000 { - compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c"; + compatible = "marvell,mv78230-i2c"; reg = <0x11000 0x100>; interrupts = <29>; clock-frequency = <100000>;
One example has a compatible that isn't a valid combination according to the binding, and now that the examples are validated as well, this generates a warning. Let's fix this. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> --- Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)