From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Shawn Guo <shawnguo@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Markus Niebel <Markus.Niebel@ew.tq-group.com>,
Matthias Schiffer <matthias.schiffer@ew.tq-group.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
NXP Linux Team <linux-imx@nxp.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 1/1] ARM: dts: imx6qdl-mba6: add mac address for USB ethernet controller
Date: Tue, 30 May 2023 08:02:34 +0200 [thread overview]
Message-ID: <12221806.O9o76ZdvQC@steina-w> (raw)
In-Reply-To: <20230527081559.GA528183@dragon>
Hi Shawn,
Am Samstag, 27. Mai 2023, 10:15:59 CEST schrieb Shawn Guo:
> On Mon, May 15, 2023 at 07:44:29AM +0200, Alexander Stein wrote:
> > The mac address is stored in mainboard eeprom.
> >
> > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> > ---
> > Changes in v2:
> > * Fix indentation
> >
> > arch/arm/boot/dts/imx6qdl-mba6.dtsi | 16 ++++++++++++++++
> > arch/arm/boot/dts/imx6qdl-mba6a.dtsi | 6 ++++++
> > arch/arm/boot/dts/imx6qdl-mba6b.dtsi | 6 ++++++
> > 3 files changed, 28 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/imx6qdl-mba6.dtsi
> > b/arch/arm/boot/dts/imx6qdl-mba6.dtsi index 7b7e6c2ad190..9d90d7647024
> > 100644
> > --- a/arch/arm/boot/dts/imx6qdl-mba6.dtsi
> > +++ b/arch/arm/boot/dts/imx6qdl-mba6.dtsi
> > @@ -272,6 +272,22 @@ &uart5 {
> >
> > &usbh1 {
> >
> > disable-over-current;
> > status = "okay";
> >
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + hub@1 {
> > + compatible = "usb424,2517";
> > + reg = <1>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + ethernet@1 {
> > + compatible = "usb424,9e00";
>
> These two usb424 compatible strings are undocumented?
Well, there are bindings in Documentation/devicetree/bindings/usb/usb-
device.yaml. But (all) the VID/PID are not listed explicitly.
Best regards,
Alexander
> Shawn
>
> > + reg = <1>;
> > + nvmem-cells = <&mba_mac_address>;
> > + nvmem-cell-names = "mac-address";
> > + };
> > + };
> >
> > };
> >
> > &usbotg {
> >
> > diff --git a/arch/arm/boot/dts/imx6qdl-mba6a.dtsi
> > b/arch/arm/boot/dts/imx6qdl-mba6a.dtsi index df8fa169e9f6..27fec340c380
> > 100644
> > --- a/arch/arm/boot/dts/imx6qdl-mba6a.dtsi
> > +++ b/arch/arm/boot/dts/imx6qdl-mba6a.dtsi
> > @@ -21,6 +21,12 @@ m24c64_57: eeprom@57 {
> >
> > compatible = "atmel,24c64";
> > reg = <0x57>;
> > pagesize = <32>;
> >
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > +
> > + mba_mac_address: mac-address@20 {
> > + reg = <0x20 0x6>;
> > + };
> >
> > };
> >
> > rtc0: rtc@68 {
> >
> > diff --git a/arch/arm/boot/dts/imx6qdl-mba6b.dtsi
> > b/arch/arm/boot/dts/imx6qdl-mba6b.dtsi index 7d1cd7454c7f..0a9f076eeb36
> > 100644
> > --- a/arch/arm/boot/dts/imx6qdl-mba6b.dtsi
> > +++ b/arch/arm/boot/dts/imx6qdl-mba6b.dtsi
> > @@ -31,6 +31,12 @@ m24c64_57: eeprom@57 {
> >
> > compatible = "atmel,24c64";
> > reg = <0x57>;
> > pagesize = <32>;
> >
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > +
> > + mba_mac_address: mac-address@20 {
> > + reg = <0x20 0x6>;
> > + };
> >
> > };
> >
> > rtc0: rtc@68 {
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
next prev parent reply other threads:[~2023-05-30 6:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 5:44 [PATCH v2 1/1] ARM: dts: imx6qdl-mba6: add mac address for USB ethernet controller Alexander Stein
2023-05-27 8:15 ` Shawn Guo
2023-05-30 6:02 ` Alexander Stein [this message]
2023-06-04 12:03 ` Shawn Guo
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=12221806.O9o76ZdvQC@steina-w \
--to=alexander.stein@ew.tq-group.com \
--cc=Markus.Niebel@ew.tq-group.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=matthias.schiffer@ew.tq-group.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@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).