From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Josua Mayer <josua@solid-run.com>, Andrew Lunn <andrew@lunn.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Josua Mayer <josua@solid-run.com>
Subject: Re: [PATCH v5 00/10] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards
Date: Tue, 27 Feb 2024 17:25:56 +0100 [thread overview]
Message-ID: <874jdtkh63.fsf@BL-laptop> (raw)
In-Reply-To: <20240104-support-clearfog-gtr-l8-sfp-v5-0-52be60fc54e3@solid-run.com>
Hello Josua Mayer,
> Dear Maintainers,
>
> The initially merged device-tree for Clearfog GTR devices contained
> various subtle mistakes and omissions:
>
> - missing board-specific compatible strings
> - missing pinctrl entries
> - missing second sfp connector
> - invalid sfp loss-of-signal gpio
> - mismatch of labels between dsa ports and enclosure
>
> Most notably this had caused functional issues with the sfp connectors.
>
> This patch-set first converts the existing armada-38x dt-bindings to
> yaml, replacing invalid soc-only compatibles with specific boards that
> already exist in tree and represent the three SoCs (380,385,388).
>
> Secondly for clearfog gtr pinctrl nodes are added for all referenced
> gpios for independence from bootloader defaults. U-Boot is shared
> between armada-388 clearfog and armada-385 clearfog gtr.
>
> Further remove an invalid io from the first sfp connector description,
> and add descriptions for the secondary sfp connector which is driven
> by dsa switch port number 9.
>
> Finally labels of dsa switch ports were updated to match the enclosure.
> That patch is not suitable for stable.
>
> Signed-off-by: Josua Mayer <josua@solid-run.com>
Rebased on v6.8-rc1, fixed merge conflict and applied on mvebu/dt
Thanks,
Gregory
> ---
> Changes in v5:
> - remove empty lines between description and items yaml entries
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - bindings text to yaml conversion is now single commit
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - added bindings for some existing a380, a385 and a388 boards
> - removed code from commit description
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - Link to v4: https://lore.kernel.org/r/20231230-support-clearfog-gtr-l8-sfp-v4-0-1d7f0e2c7128@solid-run.com
>
> Changes in v4:
> - dropped invalid soc-only armada-38x (txt) bindings
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - add bindings for armada 388 helios-4
> - updated yaml whitespace indentation count
> (reported by Rob Hering's bot)
> - Link to v3: https://lore.kernel.org/r/20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com
>
> Changes in v3:
> - armada-38x.yaml: removed '|', no need to prerserve formatting
> (reported by Conor Dooley conor+dt@kernel.org)
> - update commit descriptions to clarify confusing board names and
> compatible strings
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - send to all relevant lists
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - remove duplicate binding for clearfog / clearfog
> - Link to v2 (patches 0-2):
> https://lore.kernel.org/r/20231224143750.5604-1-josua@solid-run.com
> - Link to v2 (patches 3-8):
> https://lore.kernel.org/r/20231224143850.5671-3-josua@solid-run.com
>
> Changes in v2:
> - removed changes changes to gpio numbers because they were wrong
> - added bindings documentation
> - Link to v1: https://lore.kernel.org/r/20231223212930.14624-1-josua@solid-run.com
>
> ---
> Josua Mayer (10):
> dt-bindings: marvell: a38x: convert soc compatibles to yaml
> dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards
> dt-bindings: marvell: a38x: add kobol helios-4 board
> dt-bindings: marvell: a38x: add solidrun armada 385 clearfog gtr boards
> arm: dts: marvell: clearfog: add pro variant compatible in legacy dts
> arm: dts: marvell: clearfog-gtr: add board-specific compatible strings
> arm: dts: marvell: clearfog-gtr: sort pinctrl nodes alphabetically
> arm: dts: marvell: clearfog-gtr: add missing pinctrl for all used gpios
> arm: dts: marvell: clearfog-gtr-l8: add support for second sfp connector
> arm: dts: marvell: clearfog-gtr-l8: align port numbers with enclosure
>
> .../devicetree/bindings/arm/marvell/armada-38x.txt | 27 -------
> .../bindings/arm/marvell/armada-38x.yaml | 70 ++++++++++++++++++
> .../dts/marvell/armada-385-clearfog-gtr-l8.dts | 38 +++++++---
> .../dts/marvell/armada-385-clearfog-gtr-s4.dts | 2 +
> .../boot/dts/marvell/armada-385-clearfog-gtr.dtsi | 84 ++++++++++++++++------
> arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 5 +-
> 6 files changed, 167 insertions(+), 59 deletions(-)
> ---
> base-commit: 861deac3b092f37b2c5e6871732f3e11486f7082
> change-id: 20231226-support-clearfog-gtr-l8-sfp-d87ae715a787
>
> Sincerely,
> --
> Josua Mayer <josua@solid-run.com>
>
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Josua Mayer <josua@solid-run.com>, Andrew Lunn <andrew@lunn.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Josua Mayer <josua@solid-run.com>
Subject: Re: [PATCH v5 00/10] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards
Date: Tue, 27 Feb 2024 17:25:56 +0100 [thread overview]
Message-ID: <874jdtkh63.fsf@BL-laptop> (raw)
In-Reply-To: <20240104-support-clearfog-gtr-l8-sfp-v5-0-52be60fc54e3@solid-run.com>
Hello Josua Mayer,
> Dear Maintainers,
>
> The initially merged device-tree for Clearfog GTR devices contained
> various subtle mistakes and omissions:
>
> - missing board-specific compatible strings
> - missing pinctrl entries
> - missing second sfp connector
> - invalid sfp loss-of-signal gpio
> - mismatch of labels between dsa ports and enclosure
>
> Most notably this had caused functional issues with the sfp connectors.
>
> This patch-set first converts the existing armada-38x dt-bindings to
> yaml, replacing invalid soc-only compatibles with specific boards that
> already exist in tree and represent the three SoCs (380,385,388).
>
> Secondly for clearfog gtr pinctrl nodes are added for all referenced
> gpios for independence from bootloader defaults. U-Boot is shared
> between armada-388 clearfog and armada-385 clearfog gtr.
>
> Further remove an invalid io from the first sfp connector description,
> and add descriptions for the secondary sfp connector which is driven
> by dsa switch port number 9.
>
> Finally labels of dsa switch ports were updated to match the enclosure.
> That patch is not suitable for stable.
>
> Signed-off-by: Josua Mayer <josua@solid-run.com>
Rebased on v6.8-rc1, fixed merge conflict and applied on mvebu/dt
Thanks,
Gregory
> ---
> Changes in v5:
> - remove empty lines between description and items yaml entries
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - bindings text to yaml conversion is now single commit
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - added bindings for some existing a380, a385 and a388 boards
> - removed code from commit description
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - Link to v4: https://lore.kernel.org/r/20231230-support-clearfog-gtr-l8-sfp-v4-0-1d7f0e2c7128@solid-run.com
>
> Changes in v4:
> - dropped invalid soc-only armada-38x (txt) bindings
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - add bindings for armada 388 helios-4
> - updated yaml whitespace indentation count
> (reported by Rob Hering's bot)
> - Link to v3: https://lore.kernel.org/r/20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com
>
> Changes in v3:
> - armada-38x.yaml: removed '|', no need to prerserve formatting
> (reported by Conor Dooley conor+dt@kernel.org)
> - update commit descriptions to clarify confusing board names and
> compatible strings
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - send to all relevant lists
> (reported by Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>)
> - remove duplicate binding for clearfog / clearfog
> - Link to v2 (patches 0-2):
> https://lore.kernel.org/r/20231224143750.5604-1-josua@solid-run.com
> - Link to v2 (patches 3-8):
> https://lore.kernel.org/r/20231224143850.5671-3-josua@solid-run.com
>
> Changes in v2:
> - removed changes changes to gpio numbers because they were wrong
> - added bindings documentation
> - Link to v1: https://lore.kernel.org/r/20231223212930.14624-1-josua@solid-run.com
>
> ---
> Josua Mayer (10):
> dt-bindings: marvell: a38x: convert soc compatibles to yaml
> dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards
> dt-bindings: marvell: a38x: add kobol helios-4 board
> dt-bindings: marvell: a38x: add solidrun armada 385 clearfog gtr boards
> arm: dts: marvell: clearfog: add pro variant compatible in legacy dts
> arm: dts: marvell: clearfog-gtr: add board-specific compatible strings
> arm: dts: marvell: clearfog-gtr: sort pinctrl nodes alphabetically
> arm: dts: marvell: clearfog-gtr: add missing pinctrl for all used gpios
> arm: dts: marvell: clearfog-gtr-l8: add support for second sfp connector
> arm: dts: marvell: clearfog-gtr-l8: align port numbers with enclosure
>
> .../devicetree/bindings/arm/marvell/armada-38x.txt | 27 -------
> .../bindings/arm/marvell/armada-38x.yaml | 70 ++++++++++++++++++
> .../dts/marvell/armada-385-clearfog-gtr-l8.dts | 38 +++++++---
> .../dts/marvell/armada-385-clearfog-gtr-s4.dts | 2 +
> .../boot/dts/marvell/armada-385-clearfog-gtr.dtsi | 84 ++++++++++++++++------
> arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 5 +-
> 6 files changed, 167 insertions(+), 59 deletions(-)
> ---
> base-commit: 861deac3b092f37b2c5e6871732f3e11486f7082
> change-id: 20231226-support-clearfog-gtr-l8-sfp-d87ae715a787
>
> Sincerely,
> --
> Josua Mayer <josua@solid-run.com>
>
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
next prev parent reply other threads:[~2024-02-27 16:26 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-04 17:48 [PATCH v5 00/10] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 17:48 ` [PATCH v5 01/10] dt-bindings: marvell: a38x: convert soc compatibles to yaml Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 19:12 ` Krzysztof Kozlowski
2024-01-04 19:12 ` Krzysztof Kozlowski
2024-01-04 17:48 ` [PATCH v5 02/10] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 19:13 ` Krzysztof Kozlowski
2024-01-04 19:13 ` Krzysztof Kozlowski
2024-01-04 17:48 ` [PATCH v5 03/10] dt-bindings: marvell: a38x: add kobol helios-4 board Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 19:14 ` Krzysztof Kozlowski
2024-01-04 19:14 ` Krzysztof Kozlowski
2024-01-04 17:48 ` [PATCH v5 04/10] dt-bindings: marvell: a38x: add solidrun armada 385 clearfog gtr boards Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 19:14 ` Krzysztof Kozlowski
2024-01-04 19:14 ` Krzysztof Kozlowski
2024-01-04 17:48 ` [PATCH v5 05/10] arm: dts: marvell: clearfog: add pro variant compatible in legacy dts Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 17:48 ` [PATCH v5 06/10] arm: dts: marvell: clearfog-gtr: add board-specific compatible strings Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 17:48 ` [PATCH v5 07/10] arm: dts: marvell: clearfog-gtr: sort pinctrl nodes alphabetically Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 17:48 ` [PATCH v5 08/10] arm: dts: marvell: clearfog-gtr: add missing pinctrl for all used gpios Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 17:48 ` [PATCH v5 09/10] arm: dts: marvell: clearfog-gtr-l8: add support for second sfp connector Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-01-04 17:48 ` [PATCH v5 10/10] arm: dts: marvell: clearfog-gtr-l8: align port numbers with enclosure Josua Mayer
2024-01-04 17:48 ` Josua Mayer
2024-02-27 16:25 ` Gregory CLEMENT [this message]
2024-02-27 16:25 ` [PATCH v5 00/10] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards Gregory CLEMENT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874jdtkh63.fsf@BL-laptop \
--to=gregory.clement@bootlin.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=josua@solid-run.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.