[PATCH v3 1/2] dt-bindings: pinctrl: aspeed,ast2600-pinctrl: add NCSI group
Andrew Jeffery
andrew at codeconstruct.com.au
Fri Jun 21 10:46:04 AEST 2024
Hi Potin,
On Thu, 2024-06-20 at 16:43 +0800, Potin Lai wrote:
> In the NCSI pin table, the reference clock output pin (RMIIXRCLKO) is not
> needed on the management controller side.
>
> Add NCSI group to distinguish the pin group between RMII and NCSI.
>
> - RMII pins:
> - RMIIXRCLKI
> - RMIIXRXD0
> - RMIIXRXD1
> - RMIIXCRSDV
> - RMIIXRXER
> - RMIIXRCLKO
> - RMIIXTXEN
> - RMIIXTXD0
> - RMIIXTXD1
>
> - NCSI pins:
> - RMIIXRCLKI
> - RMIIXRXD0
> - RMIIXRXD1
> - RMIIXCRSDV
> - RMIIXRXER
> - RMIIXTXEN
> - RMIIXTXD0
> - RMIIXTXD1
I think listing all the pins for both groups obscures the fact that
there aren't more changes than removing RMIIXRCLKO.
Can we instead drop these lists and replace
> Add NCSI group to distinguish the pin group between RMII and NCSI.
With:
> Add "NCSI" pin groups that are equivalent to the RMII pin groups,
> but without the RMIIXRCLKO pin
?
>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Signed-off-by: Potin Lai <potin.lai.pt at gmail.com>
> ---
> .../devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml
> index 00b6974a5ed3d..3f02dc94a7ce2 100644
> --- a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml
> @@ -337,6 +337,8 @@ additionalProperties:
> - MDIO2
> - MDIO3
> - MDIO4
> + - NCSI3
> + - NCSI4
Can we also do this for RMII{1,2}RCLKO (and in the driver patch as
well)?
> - NCTS1
> - NCTS2
> - NCTS3
Overall, what I was hoping for with the comment on the earlier patch
was that you would add the discussion in the commit message to the
"description" entry in the binding YAML. Can you please do so? That way
the information is always present for people reading the binding
without them having to look at the binding's change history.
Thanks,
Andrew
More information about the Linux-aspeed
mailing list