The phy-gmii-sel can be only auto selected in Kconfig and now the pretty
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 definition for phy-gmii-sel PHY driver - drop all
dependencies and from networking drivers and rely on using 'imply
PHY_TI_GMII_SEL' in Kconfig definitions 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(-)
TI AM654x/J721E SoCs have the same PHY interface selection mechanism for
CPSWx subsystem as TI SoCs (AM3/4/5/DRA7), but registers and bit-fields
placement is different.
This patch adds corresponding compatible strings to enable support for TI
AM654x/J721E SoCs.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/phy/ti-phy-gmii-sel.txt | 1 +
1 file changed, 1 insertion(+)
@@ -40,6 +40,7 @@ Required properties: "ti,dra7xx-phy-gmii-sel" for dra7xx/am57xx platform "ti,am43xx-phy-gmii-sel" for am43xx platform "ti,dm814-phy-gmii-sel" for dm814x platform+ "ti,am654-phy-gmii-sel" for AM654x/J721E platform - reg : Address and length of the register set for the device - #phy-cells : must be 2. cell 1 - CPSW port number (starting from 1)
TI AM654x/J721E SoCs have the same PHY interface selection mechanism for
CPSWx subsystem as TI SoCs (AM3/4/5/DRA7), but registers and bit-fields
placement is different.
This patch adds corresponding support for TI AM654x/J721E SoCs PHY
interface selection.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
drivers/phy/ti/phy-gmii-sel.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
Add DT node for MCU System Control module DT node and DT node for the TI
J721E SoC phy-gmii-sel PHY required for Ethernet ports mode selection.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Hi Kishon,
This series adds support for TI K3 AM654x/J721E SoCs in TI phy-gmii-sel PHY
driver, which is required for future adding networking support.
depends on:
[PATCH 0/2] phy: ti: gmii-sel: two fixes
https://lkml.org/lkml/2020/2/14/2510
Changes in v2:
- fixed comments
v1: https://lkml.org/lkml/2020/2/22/100
This is mostly DT updates and not much networking code changes, will some other
tree take this?
Hi Kishon,
This series adds support for TI K3 AM654x/J721E SoCs in TI phy-gmii-sel PHY
driver, which is required for future adding networking support.
depends on:
[PATCH 0/2] phy: ti: gmii-sel: two fixes
https://lkml.org/lkml/2020/2/14/2510
Changes in v2:
- fixed comments
v1: https://lkml.org/lkml/2020/2/22/100
This is mostly DT updates and not much networking code changes, will some other
tree take this?
I can take the phy related changes. Grygorii, can you split the dt
patches into a separate series?
Thanks
Kishon
Hi Kishon,
This series adds support for TI K3 AM654x/J721E SoCs in TI phy-gmii-sel PHY
driver, which is required for future adding networking support.
depends on:
[PATCH 0/2] phy: ti: gmii-sel: two fixes
https://lkml.org/lkml/2020/2/14/2510
Changes in v2:
- fixed comments
v1: https://lkml.org/lkml/2020/2/22/100
This is mostly DT updates and not much networking code changes, will some other
tree take this?
I can take the phy related changes. Grygorii, can you split the dt
patches into a separate series?
sure. Could pls, pick up 1-3 and I'll resend 4-5.
Or you want me re-send once again?
--
Best regards,
grygorii
From: Kishon Vijay Abraham I <hidden> Date: 2020-03-05 11:02:16
Hi Dave,
On 03/03/20 9:30 pm, Grygorii Strashko wrote:
The phy-gmii-sel can be only auto selected in Kconfig and now the pretty
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 definition for phy-gmii-sel PHY driver - drop all
dependencies and from networking drivers and rely on using 'imply
PHY_TI_GMII_SEL' in Kconfig definitions for networking drivers instead.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
drivers/net/ethernet/ti/Kconfig | 1 +
I can pick this in my tree. Can you give your Acked-by since there is a
small change in drivers/net?
Thanks
Kishon
Hi All,
On 05/03/2020 13:06, Kishon Vijay Abraham I wrote:
Hi Dave,
On 03/03/20 9:30 pm, Grygorii Strashko wrote:
quoted
The phy-gmii-sel can be only auto selected in Kconfig and now the pretty
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 definition for phy-gmii-sel PHY driver - drop all
dependencies and from networking drivers and rely on using 'imply
PHY_TI_GMII_SEL' in Kconfig definitions for networking drivers instead.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
drivers/net/ethernet/ti/Kconfig | 1 +
I can pick this in my tree. Can you give your Acked-by since there is a
small change in drivers/net?
Sorry for disturbing you, but what's the final decision here?
Hi Kishon,
This series adds support for TI K3 AM654x/J721E SoCs in TI
phy-gmii-sel PHY
driver, which is required for future adding networking support.
depends on:
[PATCH 0/2] phy: ti: gmii-sel: two fixes
https://lkml.org/lkml/2020/2/14/2510
Changes in v2:
- fixed comments
v1: https://lkml.org/lkml/2020/2/22/100
This is mostly DT updates and not much networking code changes, will
some other
tree take this?
I can take the phy related changes. Grygorii, can you split the dt
patches into a separate series?
sure. Could pls, pick up 1-3 and I'll resend 4-5.
Or you want me re-send once again?
Queued up patches #4 and #5 towards 5.7, thanks.
-Tero
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki