devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Biao Huang (黄彪)" <Biao.Huang@mediatek.com>
To: "andrew@lunn.ch" <andrew@lunn.ch>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"peppe.cavallaro@st.com" <peppe.cavallaro@st.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"joabreu@synopsys.com" <joabreu@synopsys.com>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"edumazet@google.com" <edumazet@google.com>,
	"alexandre.torgue@foss.st.com" <alexandre.torgue@foss.st.com>,
	"mcoquelin.stm32@gmail.com" <mcoquelin.stm32@gmail.com>,
	"pabeni@redhat.com" <pabeni@redhat.com>,
	"richardcochran@gmail.com" <richardcochran@gmail.com>,
	"krzysztof.kozlowski+dt@linaro.org"
	<krzysztof.kozlowski+dt@linaro.org>,
	"Macpaul Lin (林智斌)" <Macpaul.Lin@mediatek.com>,
	"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"angelogioacchino.delregno@collabora.com"
	<angelogioacchino.delregno@collabora.com>
Subject: Re: [PATCH v6 2/2] arm64: dts: mt8195: Add Ethernet controller
Date: Thu, 29 Dec 2022 02:46:00 +0000	[thread overview]
Message-ID: <5b4df04a2b99c3a09820608c3382f2ddc82e5eda.camel@mediatek.com> (raw)
In-Reply-To: <Y6zoI3XYnFFbN/Z5@lunn.ch>

On Thu, 2022-12-29 at 02:06 +0100, Andrew Lunn wrote:
> > > Is the PHY integrated into the SoC, or on the board?
> > 
> > The PHY is on the board, an external device as to SoC.
> > > 
> > > You also don't need the compatible, if the PHY correctly
> > > implements
> > > the ID registers.
> > 
> > But without the compatible, it seems PHY driver will not be
> > attached.
> > How should I do? Thanks in advance.
> 
> Check what happens in mdiobus_scan() and get_phy_device(). When it
> reads registers 2 and 3, does it get valid ID register contents?
Yes, I tried remove the compatible, and PHY driver is attached as
expected. I'll remove the phy compatible in next send.
> 
>       Andrew
As to the "Confidentiality Notice", I have asked our IT to handle it.
Hope no such notice now.

Best Regards!
Biao

  reply	other threads:[~2022-12-29  2:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-28  6:33 [PATCH v6 0/2] arm64: dts: mt8195: Add Ethernet controller Biao Huang
2022-12-28  6:33 ` [PATCH v6 1/2] stmmac: dwmac-mediatek: remove the dwmac_fix_mac_speed Biao Huang
2022-12-28  6:33 ` [PATCH v6 2/2] arm64: dts: mt8195: Add Ethernet controller Biao Huang
2022-12-28 16:13   ` Andrew Lunn
2022-12-29  0:42     ` Biao Huang (黄彪)
2022-12-29  1:06       ` Andrew Lunn
2022-12-29  2:46         ` Biao Huang (黄彪) [this message]
2022-12-30  1:15 ` [PATCH v6 0/2] " Jakub Kicinski
2022-12-30  2:10   ` Biao Huang (黄彪)

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=5b4df04a2b99c3a09820608c3382f2ddc82e5eda.camel@mediatek.com \
    --to=biao.huang@mediatek.com \
    --cc=Macpaul.Lin@mediatek.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew@lunn.ch \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=joabreu@synopsys.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=richardcochran@gmail.com \
    --cc=robh+dt@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).