From: Murali Karicheri <m-karicheri2@ti.com>
To: Grygorii Strashko <grygorii.strashko@ti.com>,
Kishon Vijay Abraham I <kishon@ti.com>,
Tero Kristo <t-kristo@ti.com>,
"David S. Miller" <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, Sekhar Nori <nsekhar@ti.com>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>
Subject: Re: [for-next PATCH 1/5] phy: ti: gmii-sel: simplify config dependencies between net drivers and gmii phy
Date: Tue, 25 Feb 2020 13:04:34 -0500 [thread overview]
Message-ID: <78f6521a-d44b-b0b9-8dcf-4b1dc1446946@ti.com> (raw)
In-Reply-To: <20200222120358.10003-2-grygorii.strashko@ti.com>
Hi Grygorii,
On 02/22/2020 07:03 AM, Grygorii Strashko wrote:
> The phy-gmii-sel can be only autoselacted in Kconfig and now the pretty
s/autoselacted/auto selected
> complex Kconfig dependencies are defined for phy-gmii-sel driver, which
> also need to be updated every time phy-gmii-sel is re-used for any new
> networking driver.
>
> Simplify Kconfig definotion for phy-gmii-sel PHY driver - drop all
s/definotion/definition
> depndencies and from networking drivers and rely on using 'imply imply
s/depndencies/dependencies
> PHY_TI_GMII_SEL' in Kconfig definotions for networking drivers instead.
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
> ---
> drivers/net/ethernet/ti/Kconfig | 1 +
> drivers/phy/ti/Kconfig | 3 ---
> 2 files changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig
> index bf98e0fa7d8b..8a6ca16eee3b 100644
> --- a/drivers/net/ethernet/ti/Kconfig
> +++ b/drivers/net/ethernet/ti/Kconfig
> @@ -53,6 +53,7 @@ config TI_CPSW
> select MFD_SYSCON
> select PAGE_POOL
> select REGMAP
> + imply PHY_TI_GMII_SEL
> ---help---
> This driver supports TI's CPSW Ethernet Switch.
>
> diff --git a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig
> index 6dbe9d0b9ff3..15a3bcf32308 100644
> --- a/drivers/phy/ti/Kconfig
> +++ b/drivers/phy/ti/Kconfig
> @@ -106,11 +106,8 @@ config TWL4030_USB
>
> config PHY_TI_GMII_SEL
> tristate
> - default y if TI_CPSW=y || TI_CPSW_SWITCHDEV=y
> - depends on TI_CPSW || TI_CPSW_SWITCHDEV || COMPILE_TEST
> select GENERIC_PHY
> select REGMAP
> - default m
> help
> This driver supports configuring of the TI CPSW Port mode depending on
> the Ethernet PHY connected to the CPSW Port.
>
--
Murali Karicheri
Texas Instruments
next prev parent reply other threads:[~2020-02-25 17:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-22 12:03 [for-next PATCH 0/5] phy: ti: gmii-sel: add support for am654x/j721e soc Grygorii Strashko
2020-02-22 12:03 ` [for-next PATCH 1/5] phy: ti: gmii-sel: simplify config dependencies between net drivers and gmii phy Grygorii Strashko
2020-02-25 18:04 ` Murali Karicheri [this message]
2020-02-22 12:03 ` [for-next PATCH 2/5] dt-bindings: phy: ti: gmii-sel: add support for am654x/j721e soc Grygorii Strashko
2020-02-26 22:19 ` Rob Herring
2020-02-22 12:03 ` [for-next PATCH 3/5] " Grygorii Strashko
2020-02-22 12:03 ` [for-next PATCH 4/5] arm64: dts: ti: k3-am65-mcu: add phy-gmii-sel node Grygorii Strashko
2020-02-22 12:03 ` [for-next PATCH 5/5] arm64: dts: ti: k3-j721e-mcu: add scm node and phy-gmii-sel nodes Grygorii Strashko
2020-02-22 18:06 ` Sergei Shtylyov
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=78f6521a-d44b-b0b9-8dcf-4b1dc1446946@ti.com \
--to=m-karicheri2@ti.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=grygorii.strashko@ti.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=robh+dt@kernel.org \
--cc=t-kristo@ti.com \
/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
all inboxes | Powered by JetHome®