From: Biju Das <biju.das.jz@bp.renesas.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>
Cc: Adam Ford <aford173@gmail.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Grygorii Strashko <grygorii.strashko@ti.com>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: RE: [PATCH 3/9] ARM: dts: renesas: Add compatible properties to KSZ9031 Ethernet PHYs
Date: Thu, 23 Sep 2021 11:41:19 +0000 [thread overview]
Message-ID: <OS0PR01MB5922C47CEF890322ACB36C3B86A39@OS0PR01MB5922.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <ce8ae6b199fa244315a008ae31891a808ca1948d.1631174218.git.geert+renesas@glider.be>
Hi Geert,
Thanks for the patch. Tested the patch on iWave RZ/G1N board.
Tested-by: Biju Das <biju.das.jz@bp.renesas.com>
Regards,
Biju
> -----Original Message-----
> From: Geert Uytterhoeven <geert+renesas@glider.be>
> Sent: 09 September 2021 09:50
> To: Magnus Damm <magnus.damm@gmail.com>
> Cc: Biju Das <biju.das.jz@bp.renesas.com>; Adam Ford <aford173@gmail.com>;
> Florian Fainelli <f.fainelli@gmail.com>; Andrew Lunn <andrew@lunn.ch>;
> Heiner Kallweit <hkallweit1@gmail.com>; Russell King
> <linux@armlinux.org.uk>; Grygorii Strashko <grygorii.strashko@ti.com>;
> linux-renesas-soc@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
> netdev@vger.kernel.org; devicetree@vger.kernel.org; Geert Uytterhoeven
> <geert+renesas@glider.be>
> Subject: [PATCH 3/9] ARM: dts: renesas: Add compatible properties to
> KSZ9031 Ethernet PHYs
>
> Add compatible values to Ethernet PHY subnodes representing Micrel
> KSZ9031 PHYs on RZ/G1 boards. This allows software to identify the PHY
> model at any time, regardless of the state of the PHY reset line.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> I could not verify the PHY revision number (least significant nibble of
> the ID), due to lack of hardware.
> ---
> arch/arm/boot/dts/iwg20d-q7-common.dtsi | 2 ++
> arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 2 ++
> arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 2 ++
> arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 2 ++
> 4 files changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> index bc857676d19104a1..849034a49a3f98e2 100644
> --- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> +++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
> @@ -158,6 +158,8 @@ &avb {
> status = "okay";
>
> phy3: ethernet-phy@3 {
> + compatible = "ethernet-phy-id0022.1622",
> + "ethernet-phy-ieee802.3-c22";
> reg = <3>;
> micrel,led-mode = <1>;
> };
> diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
> b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
> index 94bf8a116b5242a9..a5a79cdbcd0ee09b 100644
> --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
> +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
> @@ -175,6 +175,8 @@ &avb {
> status = "okay";
>
> phy3: ethernet-phy@3 {
> + compatible = "ethernet-phy-id0022.1622",
> + "ethernet-phy-ieee802.3-c22";
> reg = <3>;
> micrel,led-mode = <1>;
> };
> diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
> b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
> index 73bd62d8a929e5da..c105932f642ea517 100644
> --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
> +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
> @@ -123,6 +123,8 @@ phy3: ethernet-phy@3 {
> * On some older versions of the platform (before R4.0) the phy
> address
> * may be 1 or 3. The address is fixed to 3 for R4.0 onwards.
> */
> + compatible = "ethernet-phy-id0022.1622",
> + "ethernet-phy-ieee802.3-c22";
> reg = <3>;
> micrel,led-mode = <1>;
> };
> diff --git a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
> b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
> index 8ac61b50aec03190..b024621c998103b2 100644
> --- a/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
> +++ b/arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts
> @@ -79,6 +79,8 @@ &avb {
> status = "okay";
>
> phy3: ethernet-phy@3 {
> + compatible = "ethernet-phy-id0022.1622",
> + "ethernet-phy-ieee802.3-c22";
> reg = <3>;
> interrupt-parent = <&gpio5>;
> interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
> --
> 2.25.1
next prev parent reply other threads:[~2021-09-23 11:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-09 8:49 [PATCH 0/9] renesas: Add compatible properties to Ethernet PHY nodes Geert Uytterhoeven
2021-09-09 8:49 ` [PATCH 1/9] ARM: dts: renesas: Add compatible properties to KSZ8041 Ethernet PHYs Geert Uytterhoeven
2021-09-09 8:49 ` [PATCH 2/9] ARM: dts: renesas: Add compatible properties to KSZ8081 " Geert Uytterhoeven
2021-09-09 8:49 ` [PATCH 3/9] ARM: dts: renesas: Add compatible properties to KSZ9031 " Geert Uytterhoeven
2021-09-23 11:41 ` Biju Das [this message]
2021-09-09 8:49 ` [PATCH 4/9] iARM: dts: renesas: Add compatible properties to LAN8710A " Geert Uytterhoeven
2021-09-09 8:49 ` [PATCH 5/9] ARM: dts: renesas: Add compatible properties to RTL8201FL " Geert Uytterhoeven
2021-09-09 8:49 ` [PATCH 6/9] ARM: dts: renesas: Add compatible properties to uPD6061x " Geert Uytterhoeven
2021-09-09 8:49 ` [PATCH 7/9] arm64: dts: renesas: Add compatible properties to AR8031 " Geert Uytterhoeven
2021-09-09 8:49 ` [PATCH 8/9] arm64: dts: renesas: Add compatible properties to KSZ9031 " Geert Uytterhoeven
2021-09-28 7:40 ` Geert Uytterhoeven
2021-09-09 8:49 ` [PATCH 9/9] arm64: dts: renesas: Add compatible properties to RTL8211E " Geert Uytterhoeven
2021-09-23 11:38 ` Biju Das
2021-09-23 11:00 ` [PATCH 0/9] renesas: Add compatible properties to Ethernet PHY nodes Geert Uytterhoeven
2021-09-23 14:09 ` Andrew Lunn
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=OS0PR01MB5922C47CEF890322ACB36C3B86A39@OS0PR01MB5922.jpnprd01.prod.outlook.com \
--to=biju.das.jz@bp.renesas.com \
--cc=aford173@gmail.com \
--cc=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=geert+renesas@glider.be \
--cc=grygorii.strashko@ti.com \
--cc=hkallweit1@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=magnus.damm@gmail.com \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).