* [PATCH v2 0/3] Apple Arm patform device tree and bindings fixes @ 2021-11-22 22:24 Janne Grunau 2021-11-22 22:24 ` [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles Janne Grunau 2021-11-23 4:27 ` [PATCH v2 0/3] Apple Arm patform device tree and bindings fixes Hector Martin 0 siblings, 2 replies; 6+ messages in thread From: Janne Grunau @ 2021-11-22 22:24 UTC (permalink / raw) To: Hector Martin, Sven Peter, Alyssa Rosenzweig, Rob Herring, Marc Zyngier, Mark Kettenis, Olof Johansson, Wolfram Sang, Arnd Bergmann, Linus Walleij Cc: linux-arm-kernel, devicetree, linux-i2c, linux-kernel Hej All, this series fixes small issues in the device tree bindings and files for the Apple Arm platform in v5.16-rc1. The fixes are non-critical but make things easier moving forward. Changes since v1: - replaced single value enum in apple,i2c.yaml with const - added Sven Peter's Reviewed-by tags to Patch 2 and 3 thanks Janne The series is available as branch at https://github.com/jannau/linux/tree/apple_m1/dt-fixes-for-5.16_v2 Janne Grunau (3): arm64: dts: apple: change ethernet0 device type to ethernet dt-bindings: i2c: apple,i2c: allow multiple compatibles arm64: dts: apple: add #interrupt-cells property to pinctrl nodes Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 8 ++++---- arch/arm64/boot/dts/apple/t8103-j274.dts | 2 +- arch/arm64/boot/dts/apple/t8103.dtsi | 4 ++++ 3 files changed, 9 insertions(+), 5 deletions(-) -- 2.34.0 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles 2021-11-22 22:24 [PATCH v2 0/3] Apple Arm patform device tree and bindings fixes Janne Grunau @ 2021-11-22 22:24 ` Janne Grunau 2021-11-22 22:39 ` Mark Kettenis ` (2 more replies) 2021-11-23 4:27 ` [PATCH v2 0/3] Apple Arm patform device tree and bindings fixes Hector Martin 1 sibling, 3 replies; 6+ messages in thread From: Janne Grunau @ 2021-11-22 22:24 UTC (permalink / raw) To: Hector Martin, Sven Peter, Alyssa Rosenzweig, Rob Herring, Wolfram Sang, Olof Johansson, Arnd Bergmann Cc: Mark Kettenis, Rob Herring, linux-arm-kernel, linux-i2c, devicetree, linux-kernel The intention was to have a SoC-specific and base compatible string to allow forward compatibility and SoC specific quirks, Fixes: df7c4a8c1b47 ("dt-bindings: i2c: Add Apple I2C controller bindings") Signed-off-by: Janne Grunau <j@jannau.net> Cc: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Sven Peter <sven@svenpeter.dev> --- Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml index 22fc8483256f..82b953181a52 100644 --- a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml @@ -20,9 +20,9 @@ allOf: properties: compatible: - enum: - - apple,t8103-i2c - - apple,i2c + items: + - const: apple,t8103-i2c + - const: apple,i2c reg: maxItems: 1 @@ -51,7 +51,7 @@ unevaluatedProperties: false examples: - | i2c@35010000 { - compatible = "apple,t8103-i2c"; + compatible = "apple,t8103-i2c", "apple,i2c"; reg = <0x35010000 0x4000>; interrupt-parent = <&aic>; interrupts = <0 627 4>; -- 2.34.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles 2021-11-22 22:24 ` [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles Janne Grunau @ 2021-11-22 22:39 ` Mark Kettenis 2021-11-23 9:48 ` Wolfram Sang 2021-11-30 21:07 ` Rob Herring 2 siblings, 0 replies; 6+ messages in thread From: Mark Kettenis @ 2021-11-22 22:39 UTC (permalink / raw) To: Janne Grunau Cc: marcan, sven, alyssa, robh+dt, wsa, olof, arnd, kettenis, robh, linux-arm-kernel, linux-i2c, devicetree, linux-kernel > From: Janne Grunau <j@jannau.net> > Date: Mon, 22 Nov 2021 23:24:39 +0100 > > The intention was to have a SoC-specific and base compatible string > to allow forward compatibility and SoC specific quirks, > > Fixes: df7c4a8c1b47 ("dt-bindings: i2c: Add Apple I2C controller bindings") > Signed-off-by: Janne Grunau <j@jannau.net> > Cc: Mark Kettenis <kettenis@openbsd.org> > Reviewed-by: Sven Peter <sven@svenpeter.dev> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> > --- > Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml > index 22fc8483256f..82b953181a52 100644 > --- a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml > +++ b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml > @@ -20,9 +20,9 @@ allOf: > > properties: > compatible: > - enum: > - - apple,t8103-i2c > - - apple,i2c > + items: > + - const: apple,t8103-i2c > + - const: apple,i2c > > reg: > maxItems: 1 > @@ -51,7 +51,7 @@ unevaluatedProperties: false > examples: > - | > i2c@35010000 { > - compatible = "apple,t8103-i2c"; > + compatible = "apple,t8103-i2c", "apple,i2c"; > reg = <0x35010000 0x4000>; > interrupt-parent = <&aic>; > interrupts = <0 627 4>; > -- > 2.34.0 > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles 2021-11-22 22:24 ` [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles Janne Grunau 2021-11-22 22:39 ` Mark Kettenis @ 2021-11-23 9:48 ` Wolfram Sang 2021-11-30 21:07 ` Rob Herring 2 siblings, 0 replies; 6+ messages in thread From: Wolfram Sang @ 2021-11-23 9:48 UTC (permalink / raw) To: Janne Grunau Cc: Hector Martin, Sven Peter, Alyssa Rosenzweig, Rob Herring, Olof Johansson, Arnd Bergmann, Mark Kettenis, Rob Herring, linux-arm-kernel, linux-i2c, devicetree, linux-kernel [-- Attachment #1: Type: text/plain, Size: 459 bytes --] On Mon, Nov 22, 2021 at 11:24:39PM +0100, Janne Grunau wrote: > The intention was to have a SoC-specific and base compatible string > to allow forward compatibility and SoC specific quirks, > > Fixes: df7c4a8c1b47 ("dt-bindings: i2c: Add Apple I2C controller bindings") > Signed-off-by: Janne Grunau <j@jannau.net> > Cc: Mark Kettenis <kettenis@openbsd.org> > Reviewed-by: Sven Peter <sven@svenpeter.dev> Acked-by: Wolfram Sang <wsa@kernel.org> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles 2021-11-22 22:24 ` [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles Janne Grunau 2021-11-22 22:39 ` Mark Kettenis 2021-11-23 9:48 ` Wolfram Sang @ 2021-11-30 21:07 ` Rob Herring 2 siblings, 0 replies; 6+ messages in thread From: Rob Herring @ 2021-11-30 21:07 UTC (permalink / raw) To: Janne Grunau Cc: Arnd Bergmann, Hector Martin, linux-arm-kernel, linux-kernel, Rob Herring, Mark Kettenis, devicetree, Alyssa Rosenzweig, Sven Peter, linux-i2c, Wolfram Sang, Olof Johansson On Mon, 22 Nov 2021 23:24:39 +0100, Janne Grunau wrote: > The intention was to have a SoC-specific and base compatible string > to allow forward compatibility and SoC specific quirks, > > Fixes: df7c4a8c1b47 ("dt-bindings: i2c: Add Apple I2C controller bindings") > Signed-off-by: Janne Grunau <j@jannau.net> > Cc: Mark Kettenis <kettenis@openbsd.org> > Reviewed-by: Sven Peter <sven@svenpeter.dev> > --- > Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 0/3] Apple Arm patform device tree and bindings fixes 2021-11-22 22:24 [PATCH v2 0/3] Apple Arm patform device tree and bindings fixes Janne Grunau 2021-11-22 22:24 ` [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles Janne Grunau @ 2021-11-23 4:27 ` Hector Martin 1 sibling, 0 replies; 6+ messages in thread From: Hector Martin @ 2021-11-23 4:27 UTC (permalink / raw) To: Janne Grunau, Sven Peter, Alyssa Rosenzweig, Rob Herring, Marc Zyngier, Mark Kettenis, Olof Johansson, Wolfram Sang, Arnd Bergmann, Linus Walleij Cc: linux-arm-kernel, devicetree, linux-i2c, linux-kernel On 23/11/2021 07.24, Janne Grunau wrote: > Hej All, > > this series fixes small issues in the device tree bindings and files > for the Apple Arm platform in v5.16-rc1. The fixes are non-critical > but make things easier moving forward. > > Changes since v1: > - replaced single value enum in apple,i2c.yaml with const > - added Sven Peter's Reviewed-by tags to Patch 2 and 3 > > thanks > Janne > > The series is available as branch at > https://github.com/jannau/linux/tree/apple_m1/dt-fixes-for-5.16_v2 > > Janne Grunau (3): > arm64: dts: apple: change ethernet0 device type to ethernet > dt-bindings: i2c: apple,i2c: allow multiple compatibles > arm64: dts: apple: add #interrupt-cells property to pinctrl nodes > > Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 8 ++++---- > arch/arm64/boot/dts/apple/t8103-j274.dts | 2 +- > arch/arm64/boot/dts/apple/t8103.dtsi | 4 ++++ > 3 files changed, 9 insertions(+), 5 deletions(-) > Acked-by: Hector Martin <marcan@marcan.st> Thanks! I'll apply this to asahi-soc once Rob acks the binding change. -- Hector Martin (marcan@marcan.st) Public Key: https://mrcn.st/pub ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-11-30 21:07 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-11-22 22:24 [PATCH v2 0/3] Apple Arm patform device tree and bindings fixes Janne Grunau 2021-11-22 22:24 ` [PATCH v2 2/3] dt-bindings: i2c: apple,i2c: allow multiple compatibles Janne Grunau 2021-11-22 22:39 ` Mark Kettenis 2021-11-23 9:48 ` Wolfram Sang 2021-11-30 21:07 ` Rob Herring 2021-11-23 4:27 ` [PATCH v2 0/3] Apple Arm patform device tree and bindings fixes Hector Martin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox