[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5989180.zQ0Gbyo6oJ@diego>
Date: Fri, 23 May 2025 12:26:22 +0200
From: Heiko StĂĽbner <heiko@...ech.de>
To: Chukun Pan <amadeus@....edu.cn>, i@...insx.cn,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: devicetree@...r.kernel.org, krzk+dt@...nel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-rockchip@...ts.infradead.org
Subject:
Re: [PATCH v4 2/2] arm64: dts: rockchip: add DTs for Firefly ROC-RK3588S-PC
Am Freitag, 23. Mai 2025, 09:12:08 Mitteleuropäische Sommerzeit schrieb Krzysztof Kozlowski:
> On 23/05/2025 09:00, Chukun Pan wrote:
> >
> >> +&gmac1 {
> >> + clock_in_out = "output";
> >> + phy-handle = <&rgmii_phy1>;
> >> + phy-mode = "rgmii-id";
> >> + pinctrl-0 = ...
> >> + pinctrl-names = "default";
> >
> > pinctrl-names should be placed before pinctrl-0
>
> That's unusual - not inline with common coding style and with most of
> SoCs. Is this some kind of known rule valid in Rockchip?
nope it isn't any sort of rule :-) .
I _think_ in the past we generally had
pinctrl-names = "defaule", "whatever"
pinctrl-0 =
pinctrl-1 =
but that was more a "looking somewhat nice" thing from before we had the
more generic dts coding style .
So if in doubt nowadays, please follow the general coding style as written
down in
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/dts-coding-style.rst
Heiko
Powered by blists - more mailing lists