From: "Stanley Chang[昌育德]" <stanley_chang@realtek.com>
To: Vinod Koul <vkoul@kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"linux-phy@lists.infradead.org" <linux-phy@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] phy: realtek: Realtek PHYs should depend on ARCH_REALTEK
Date: Thu, 17 Aug 2023 06:53:20 +0000 [thread overview]
Message-ID: <9a7ba7ac11f745ee8d80da105ba79811@realtek.com> (raw)
In-Reply-To: <ZN3CQ1Y3yC9p/01Y@matsya>
> > > diff --git a/drivers/phy/realtek/Kconfig
> > > b/drivers/phy/realtek/Kconfig index
> > > 650e20ed69af41d2..75ac7e7c31aec6f2 100644
> > > --- a/drivers/phy/realtek/Kconfig
> > > +++ b/drivers/phy/realtek/Kconfig
> > > @@ -2,6 +2,9 @@
> > > #
> > > # Phy drivers for Realtek platforms #
> > > +
> > > +if ARCH_REALTEK || COMPILE_TEST
> > > +
> > > config PHY_RTK_RTD_USB2PHY
> > > tristate "Realtek RTD USB2 PHY Transceiver Driver"
> > > depends on USB_SUPPORT
> > > @@ -25,3 +28,5 @@ config PHY_RTK_RTD_USB3PHY
> > > The DHC (digital home center) RTD series SoCs used the
> Synopsys
> > > DWC3 USB IP. This driver will do the PHY initialization
> > > of the parameters.
> > > +
> > > +endif # ARCH_REALTEK || COMPILE_TEST
> >
> > Thanks for your patch.
> > Why not use "depends on"?
> > depends on ARCH_MEDIATEK || COMPILE_TEST
>
> I think this patch is better, this way all future rtek drivers will be fixed as well,
> no need to add for each driver
>
Ok, thanks,
Stanley
next prev parent reply other threads:[~2023-08-17 6:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <202308161422.37GEMlZkA018197@rtits1.realtek.com.tw>
2023-08-17 2:06 ` [PATCH] phy: realtek: Realtek PHYs should depend on ARCH_REALTEK Stanley Chang[昌育德]
2023-08-17 6:46 ` Vinod Koul
2023-08-17 6:53 ` Stanley Chang[昌育德] [this message]
2023-08-17 7:31 ` Geert Uytterhoeven
2023-09-28 7:56 ` Geert Uytterhoeven
2023-08-15 15:28 Geert Uytterhoeven
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=9a7ba7ac11f745ee8d80da105ba79811@realtek.com \
--to=stanley_chang@realtek.com \
--cc=geert+renesas@glider.be \
--cc=gregkh@linuxfoundation.org \
--cc=kishon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=vkoul@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