Message ID | 20211209051001.70235-3-marcan@marcan.st (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dt-bindings: Add trivial Apple t6000/t6001 SoC bindings | expand |
> From: Hector Martin <marcan@marcan.st> > Date: Thu, 9 Dec 2021 14:09:59 +0900 > > This block is compatible with t8103, so just add the new per-SoC > compatible under apple,i2c. > > Signed-off-by: Hector Martin <marcan@marcan.st> > --- > Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: Mark Kettenis <kettenis@openbsd.org> > diff --git a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml > index 47dd6c107a6d..4ac61fec90e2 100644 > --- a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml > +++ b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml > @@ -21,7 +21,9 @@ allOf: > properties: > compatible: > items: > - - const: apple,t8103-i2c > + - enum: > + - apple,t8103-i2c > + - apple,t6000-i2c > - const: apple,i2c > > reg: > -- > 2.33.0
On Thu, Dec 9, 2021, at 06:09, Hector Martin wrote: > This block is compatible with t8103, so just add the new per-SoC > compatible under apple,i2c. > > Signed-off-by: Hector Martin <marcan@marcan.st> > --- > Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Sven Peter <sven@svenpeter.dev>
On Thu, 09 Dec 2021 14:09:59 +0900, Hector Martin wrote: > This block is compatible with t8103, so just add the new per-SoC > compatible under apple,i2c. > > Signed-off-by: Hector Martin <marcan@marcan.st> > --- > Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml index 47dd6c107a6d..4ac61fec90e2 100644 --- a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml @@ -21,7 +21,9 @@ allOf: properties: compatible: items: - - const: apple,t8103-i2c + - enum: + - apple,t8103-i2c + - apple,t6000-i2c - const: apple,i2c reg:
This block is compatible with t8103, so just add the new per-SoC compatible under apple,i2c. Signed-off-by: Hector Martin <marcan@marcan.st> --- Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)