[U-Boot,v3,0/9] NXP LS1021A-TSN Board
mbox series

Message ID 20190718213001.24815-1-olteanv@gmail.com
Headers show
Series
  • NXP LS1021A-TSN Board
Related show

Message

Vladimir Oltean July 18, 2019, 9:29 p.m. UTC
This patchset adds initial support for the NXP LS1021A-TSN board,
an evaluation platform built in partnership with VVDN/Argonboards
for some IEEE 802.1 TSN features.

It features a cleaned-up U-Boot board support taken from OpenIL,
as well as an eTSEC migration to DM_ETH.  I picked up Bin Meng's
patch that converts the LS1021A-TWR (different board, same SoC):
https://lists.denx.de/pipermail/u-boot/2018-May/330096.html
verified it on the LS1021A-TSN board I am submitting, and made a
few adjustments where necessary.

TODO items:
- Make the eTSEC driver support fixed-link interfaces (necessary
  for the enet2 <-> sja1105 internal port)
- Add driver for SJA1105 switch
- Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
  expose the TBI PHY to mdio commands (useful for debugging),
  once https://lists.denx.de/pipermail/u-boot/2019-June/371563.html
  is merged.

Bin Meng (1):
  arm: ls1021atwr: Convert to use driver model TSEC driver

Jianchao Wang (1):
  Add support for the NXP LS1021A-TSN board

Vladimir Oltean (7):
  net: tsec: Refactor the readout of the tbi-handle property
  net: tsec: Fix offset of MDIO registers for DM_ETH
  net: tsec: Reverse Christmas tree notation
  net: tsec: Make errors visible
  net: tsec: Common handling of MAC station address for DM_ETH
  net: tsec: Change compatible strings to match Linux
  configs: ls1021atwr: Fix distro_bootcmd for QSPI boot

 arch/arm/Kconfig                              |  14 +
 arch/arm/cpu/armv7/ls102xa/cpu.c              |   2 +-
 arch/arm/cpu/armv7/ls102xa/fdt.c              |  10 +
 arch/arm/dts/Makefile                         |   2 +-
 arch/arm/dts/ls1021a-tsn.dts                  |  77 ++++++
 arch/arm/dts/ls1021a-twr.dtsi                 |  32 +++
 arch/arm/dts/ls1021a.dtsi                     |  30 +-
 board/freescale/ls1021atsn/Kconfig            |  18 ++
 board/freescale/ls1021atsn/MAINTAINERS        |   8 +
 board/freescale/ls1021atsn/Makefile           |   3 +
 board/freescale/ls1021atsn/README.rst         |  97 +++++++
 board/freescale/ls1021atsn/ls1021atsn.c       | 260 ++++++++++++++++++
 board/freescale/ls1021atsn/ls102xa_pbi.cfg    |  15 +
 board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg |   8 +
 board/freescale/ls1021atwr/ls1021atwr.c       |  38 ---
 configs/ls1021atsn_qspi_defconfig             |  79 ++++++
 configs/ls1021atsn_sdcard_defconfig           |  91 ++++++
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |   2 +
 configs/ls1021atwr_nor_defconfig              |   2 +
 configs/ls1021atwr_nor_lpuart_defconfig       |   2 +
 configs/ls1021atwr_qspi_defconfig             |   2 +
 ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |   2 +
 configs/ls1021atwr_sdcard_ifc_defconfig       |   2 +
 configs/ls1021atwr_sdcard_qspi_defconfig      |   2 +
 doc/device-tree-bindings/net/fsl-tsec-phy.txt |   4 +-
 drivers/net/tsec.c                            |  59 ++--
 include/configs/ls1021atsn.h                  | 250 +++++++++++++++++
 include/configs/ls1021atwr.h                  |  30 +-
 include/tsec.h                                |   4 +-
 29 files changed, 1038 insertions(+), 107 deletions(-)
 create mode 100644 arch/arm/dts/ls1021a-tsn.dts
 create mode 100644 board/freescale/ls1021atsn/Kconfig
 create mode 100644 board/freescale/ls1021atsn/MAINTAINERS
 create mode 100644 board/freescale/ls1021atsn/Makefile
 create mode 100644 board/freescale/ls1021atsn/README.rst
 create mode 100644 board/freescale/ls1021atsn/ls1021atsn.c
 create mode 100644 board/freescale/ls1021atsn/ls102xa_pbi.cfg
 create mode 100644 board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg
 create mode 100644 configs/ls1021atsn_qspi_defconfig
 create mode 100644 configs/ls1021atsn_sdcard_defconfig
 create mode 100644 include/configs/ls1021atsn.h

Comments

Joe Hershberger July 23, 2019, 12:15 a.m. UTC | #1
On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean <olteanv@gmail.com> wrote:
>
> This patchset adds initial support for the NXP LS1021A-TSN board,
> an evaluation platform built in partnership with VVDN/Argonboards
> for some IEEE 802.1 TSN features.
>
> It features a cleaned-up U-Boot board support taken from OpenIL,
> as well as an eTSEC migration to DM_ETH.  I picked up Bin Meng's
> patch that converts the LS1021A-TWR (different board, same SoC):
> https://lists.denx.de/pipermail/u-boot/2018-May/330096.html
> verified it on the LS1021A-TSN board I am submitting, and made a
> few adjustments where necessary.
>
> TODO items:
> - Make the eTSEC driver support fixed-link interfaces (necessary
>   for the enet2 <-> sja1105 internal port)
> - Add driver for SJA1105 switch
> - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
>   expose the TBI PHY to mdio commands (useful for debugging),
>   once https://lists.denx.de/pipermail/u-boot/2019-June/371563.html
>   is merged.

This series is merged at this point... are you wanting to do that
migration now or do it sometime later?

>
> Bin Meng (1):
>   arm: ls1021atwr: Convert to use driver model TSEC driver
>
> Jianchao Wang (1):
>   Add support for the NXP LS1021A-TSN board
>
> Vladimir Oltean (7):
>   net: tsec: Refactor the readout of the tbi-handle property
>   net: tsec: Fix offset of MDIO registers for DM_ETH
>   net: tsec: Reverse Christmas tree notation
>   net: tsec: Make errors visible
>   net: tsec: Common handling of MAC station address for DM_ETH
>   net: tsec: Change compatible strings to match Linux
>   configs: ls1021atwr: Fix distro_bootcmd for QSPI boot
>
>  arch/arm/Kconfig                              |  14 +
>  arch/arm/cpu/armv7/ls102xa/cpu.c              |   2 +-
>  arch/arm/cpu/armv7/ls102xa/fdt.c              |  10 +
>  arch/arm/dts/Makefile                         |   2 +-
>  arch/arm/dts/ls1021a-tsn.dts                  |  77 ++++++
>  arch/arm/dts/ls1021a-twr.dtsi                 |  32 +++
>  arch/arm/dts/ls1021a.dtsi                     |  30 +-
>  board/freescale/ls1021atsn/Kconfig            |  18 ++
>  board/freescale/ls1021atsn/MAINTAINERS        |   8 +
>  board/freescale/ls1021atsn/Makefile           |   3 +
>  board/freescale/ls1021atsn/README.rst         |  97 +++++++
>  board/freescale/ls1021atsn/ls1021atsn.c       | 260 ++++++++++++++++++
>  board/freescale/ls1021atsn/ls102xa_pbi.cfg    |  15 +
>  board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg |   8 +
>  board/freescale/ls1021atwr/ls1021atwr.c       |  38 ---
>  configs/ls1021atsn_qspi_defconfig             |  79 ++++++
>  configs/ls1021atsn_sdcard_defconfig           |  91 ++++++
>  configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |   2 +
>  configs/ls1021atwr_nor_defconfig              |   2 +
>  configs/ls1021atwr_nor_lpuart_defconfig       |   2 +
>  configs/ls1021atwr_qspi_defconfig             |   2 +
>  ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |   2 +
>  configs/ls1021atwr_sdcard_ifc_defconfig       |   2 +
>  configs/ls1021atwr_sdcard_qspi_defconfig      |   2 +
>  doc/device-tree-bindings/net/fsl-tsec-phy.txt |   4 +-
>  drivers/net/tsec.c                            |  59 ++--
>  include/configs/ls1021atsn.h                  | 250 +++++++++++++++++
>  include/configs/ls1021atwr.h                  |  30 +-
>  include/tsec.h                                |   4 +-
>  29 files changed, 1038 insertions(+), 107 deletions(-)
>  create mode 100644 arch/arm/dts/ls1021a-tsn.dts
>  create mode 100644 board/freescale/ls1021atsn/Kconfig
>  create mode 100644 board/freescale/ls1021atsn/MAINTAINERS
>  create mode 100644 board/freescale/ls1021atsn/Makefile
>  create mode 100644 board/freescale/ls1021atsn/README.rst
>  create mode 100644 board/freescale/ls1021atsn/ls1021atsn.c
>  create mode 100644 board/freescale/ls1021atsn/ls102xa_pbi.cfg
>  create mode 100644 board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg
>  create mode 100644 configs/ls1021atsn_qspi_defconfig
>  create mode 100644 configs/ls1021atsn_sdcard_defconfig
>  create mode 100644 include/configs/ls1021atsn.h
>
> --
> 2.17.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Vladimir Oltean July 23, 2019, 6:07 a.m. UTC | #2
Hi Joe,

On Tue, 23 Jul 2019 at 03:15, Joe Hershberger <joe.hershberger@ni.com> wrote:
>
> On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean <olteanv@gmail.com> wrote:
> >
> > This patchset adds initial support for the NXP LS1021A-TSN board,
> > an evaluation platform built in partnership with VVDN/Argonboards
> > for some IEEE 802.1 TSN features.
> >
> > It features a cleaned-up U-Boot board support taken from OpenIL,
> > as well as an eTSEC migration to DM_ETH.  I picked up Bin Meng's
> > patch that converts the LS1021A-TWR (different board, same SoC):
> > https://lists.denx.de/pipermail/u-boot/2018-May/330096.html
> > verified it on the LS1021A-TSN board I am submitting, and made a
> > few adjustments where necessary.
> >
> > TODO items:
> > - Make the eTSEC driver support fixed-link interfaces (necessary
> >   for the enet2 <-> sja1105 internal port)
> > - Add driver for SJA1105 switch
> > - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
> >   expose the TBI PHY to mdio commands (useful for debugging),
> >   once https://lists.denx.de/pipermail/u-boot/2019-June/371563.html
> >   is merged.
>
> This series is merged at this point... are you wanting to do that
> migration now or do it sometime later?
>

I think I would rather have these 9 patches merged first, now that
they got reviewed, instead of reworking them again.

> >
> > Bin Meng (1):
> >   arm: ls1021atwr: Convert to use driver model TSEC driver
> >
> > Jianchao Wang (1):
> >   Add support for the NXP LS1021A-TSN board
> >
> > Vladimir Oltean (7):
> >   net: tsec: Refactor the readout of the tbi-handle property
> >   net: tsec: Fix offset of MDIO registers for DM_ETH
> >   net: tsec: Reverse Christmas tree notation
> >   net: tsec: Make errors visible
> >   net: tsec: Common handling of MAC station address for DM_ETH
> >   net: tsec: Change compatible strings to match Linux
> >   configs: ls1021atwr: Fix distro_bootcmd for QSPI boot
> >
> >  arch/arm/Kconfig                              |  14 +
> >  arch/arm/cpu/armv7/ls102xa/cpu.c              |   2 +-
> >  arch/arm/cpu/armv7/ls102xa/fdt.c              |  10 +
> >  arch/arm/dts/Makefile                         |   2 +-
> >  arch/arm/dts/ls1021a-tsn.dts                  |  77 ++++++
> >  arch/arm/dts/ls1021a-twr.dtsi                 |  32 +++
> >  arch/arm/dts/ls1021a.dtsi                     |  30 +-
> >  board/freescale/ls1021atsn/Kconfig            |  18 ++
> >  board/freescale/ls1021atsn/MAINTAINERS        |   8 +
> >  board/freescale/ls1021atsn/Makefile           |   3 +
> >  board/freescale/ls1021atsn/README.rst         |  97 +++++++
> >  board/freescale/ls1021atsn/ls1021atsn.c       | 260 ++++++++++++++++++
> >  board/freescale/ls1021atsn/ls102xa_pbi.cfg    |  15 +
> >  board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg |   8 +
> >  board/freescale/ls1021atwr/ls1021atwr.c       |  38 ---
> >  configs/ls1021atsn_qspi_defconfig             |  79 ++++++
> >  configs/ls1021atsn_sdcard_defconfig           |  91 ++++++
> >  configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |   2 +
> >  configs/ls1021atwr_nor_defconfig              |   2 +
> >  configs/ls1021atwr_nor_lpuart_defconfig       |   2 +
> >  configs/ls1021atwr_qspi_defconfig             |   2 +
> >  ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |   2 +
> >  configs/ls1021atwr_sdcard_ifc_defconfig       |   2 +
> >  configs/ls1021atwr_sdcard_qspi_defconfig      |   2 +
> >  doc/device-tree-bindings/net/fsl-tsec-phy.txt |   4 +-
> >  drivers/net/tsec.c                            |  59 ++--
> >  include/configs/ls1021atsn.h                  | 250 +++++++++++++++++
> >  include/configs/ls1021atwr.h                  |  30 +-
> >  include/tsec.h                                |   4 +-
> >  29 files changed, 1038 insertions(+), 107 deletions(-)
> >  create mode 100644 arch/arm/dts/ls1021a-tsn.dts
> >  create mode 100644 board/freescale/ls1021atsn/Kconfig
> >  create mode 100644 board/freescale/ls1021atsn/MAINTAINERS
> >  create mode 100644 board/freescale/ls1021atsn/Makefile
> >  create mode 100644 board/freescale/ls1021atsn/README.rst
> >  create mode 100644 board/freescale/ls1021atsn/ls1021atsn.c
> >  create mode 100644 board/freescale/ls1021atsn/ls102xa_pbi.cfg
> >  create mode 100644 board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg
> >  create mode 100644 configs/ls1021atsn_qspi_defconfig
> >  create mode 100644 configs/ls1021atsn_sdcard_defconfig
> >  create mode 100644 include/configs/ls1021atsn.h
> >
> > --
> > 2.17.1
> >
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot@lists.denx.de
> > https://lists.denx.de/listinfo/u-boot

Regards,
-Vladimir
Joe Hershberger July 23, 2019, 7:37 a.m. UTC | #3
On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean <olteanv@gmail.com> wrote:
>
> Hi Joe,
>
> On Tue, 23 Jul 2019 at 03:15, Joe Hershberger <joe.hershberger@ni.com> wrote:
> >
> > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean <olteanv@gmail.com> wrote:
> > >
> > > This patchset adds initial support for the NXP LS1021A-TSN board,
> > > an evaluation platform built in partnership with VVDN/Argonboards
> > > for some IEEE 802.1 TSN features.
> > >
> > > It features a cleaned-up U-Boot board support taken from OpenIL,
> > > as well as an eTSEC migration to DM_ETH.  I picked up Bin Meng's
> > > patch that converts the LS1021A-TWR (different board, same SoC):
> > > https://lists.denx.de/pipermail/u-boot/2018-May/330096.html
> > > verified it on the LS1021A-TSN board I am submitting, and made a
> > > few adjustments where necessary.
> > >
> > > TODO items:
> > > - Make the eTSEC driver support fixed-link interfaces (necessary
> > >   for the enet2 <-> sja1105 internal port)
> > > - Add driver for SJA1105 switch
> > > - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
> > >   expose the TBI PHY to mdio commands (useful for debugging),
> > >   once https://lists.denx.de/pipermail/u-boot/2019-June/371563.html
> > >   is merged.
> >
> > This series is merged at this point... are you wanting to do that
> > migration now or do it sometime later?
> >
>
> I think I would rather have these 9 patches merged first, now that
> they got reviewed, instead of reworking them again.

Sounds good.
Thanks,
-Joe

>
> > >
> > > Bin Meng (1):
> > >   arm: ls1021atwr: Convert to use driver model TSEC driver
> > >
> > > Jianchao Wang (1):
> > >   Add support for the NXP LS1021A-TSN board
> > >
> > > Vladimir Oltean (7):
> > >   net: tsec: Refactor the readout of the tbi-handle property
> > >   net: tsec: Fix offset of MDIO registers for DM_ETH
> > >   net: tsec: Reverse Christmas tree notation
> > >   net: tsec: Make errors visible
> > >   net: tsec: Common handling of MAC station address for DM_ETH
> > >   net: tsec: Change compatible strings to match Linux
> > >   configs: ls1021atwr: Fix distro_bootcmd for QSPI boot
> > >
> > >  arch/arm/Kconfig                              |  14 +
> > >  arch/arm/cpu/armv7/ls102xa/cpu.c              |   2 +-
> > >  arch/arm/cpu/armv7/ls102xa/fdt.c              |  10 +
> > >  arch/arm/dts/Makefile                         |   2 +-
> > >  arch/arm/dts/ls1021a-tsn.dts                  |  77 ++++++
> > >  arch/arm/dts/ls1021a-twr.dtsi                 |  32 +++
> > >  arch/arm/dts/ls1021a.dtsi                     |  30 +-
> > >  board/freescale/ls1021atsn/Kconfig            |  18 ++
> > >  board/freescale/ls1021atsn/MAINTAINERS        |   8 +
> > >  board/freescale/ls1021atsn/Makefile           |   3 +
> > >  board/freescale/ls1021atsn/README.rst         |  97 +++++++
> > >  board/freescale/ls1021atsn/ls1021atsn.c       | 260 ++++++++++++++++++
> > >  board/freescale/ls1021atsn/ls102xa_pbi.cfg    |  15 +
> > >  board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg |   8 +
> > >  board/freescale/ls1021atwr/ls1021atwr.c       |  38 ---
> > >  configs/ls1021atsn_qspi_defconfig             |  79 ++++++
> > >  configs/ls1021atsn_sdcard_defconfig           |  91 ++++++
> > >  configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |   2 +
> > >  configs/ls1021atwr_nor_defconfig              |   2 +
> > >  configs/ls1021atwr_nor_lpuart_defconfig       |   2 +
> > >  configs/ls1021atwr_qspi_defconfig             |   2 +
> > >  ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |   2 +
> > >  configs/ls1021atwr_sdcard_ifc_defconfig       |   2 +
> > >  configs/ls1021atwr_sdcard_qspi_defconfig      |   2 +
> > >  doc/device-tree-bindings/net/fsl-tsec-phy.txt |   4 +-
> > >  drivers/net/tsec.c                            |  59 ++--
> > >  include/configs/ls1021atsn.h                  | 250 +++++++++++++++++
> > >  include/configs/ls1021atwr.h                  |  30 +-
> > >  include/tsec.h                                |   4 +-
> > >  29 files changed, 1038 insertions(+), 107 deletions(-)
> > >  create mode 100644 arch/arm/dts/ls1021a-tsn.dts
> > >  create mode 100644 board/freescale/ls1021atsn/Kconfig
> > >  create mode 100644 board/freescale/ls1021atsn/MAINTAINERS
> > >  create mode 100644 board/freescale/ls1021atsn/Makefile
> > >  create mode 100644 board/freescale/ls1021atsn/README.rst
> > >  create mode 100644 board/freescale/ls1021atsn/ls1021atsn.c
> > >  create mode 100644 board/freescale/ls1021atsn/ls102xa_pbi.cfg
> > >  create mode 100644 board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg
> > >  create mode 100644 configs/ls1021atsn_qspi_defconfig
> > >  create mode 100644 configs/ls1021atsn_sdcard_defconfig
> > >  create mode 100644 include/configs/ls1021atsn.h
> > >
> > > --
> > > 2.17.1
> > >
> > > _______________________________________________
> > > U-Boot mailing list
> > > U-Boot@lists.denx.de
> > > https://lists.denx.de/listinfo/u-boot
>
> Regards,
> -Vladimir
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Vladimir Oltean July 24, 2019, 3:37 p.m. UTC | #4
On Tue, 23 Jul 2019 at 10:38, Joe Hershberger <joe.hershberger@ni.com> wrote:
>
> On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean <olteanv@gmail.com> wrote:
> >
> > Hi Joe,
> >
> > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger <joe.hershberger@ni.com> wrote:
> > >
> > > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean <olteanv@gmail.com> wrote:
> > > >
> > > > This patchset adds initial support for the NXP LS1021A-TSN board,
> > > > an evaluation platform built in partnership with VVDN/Argonboards
> > > > for some IEEE 802.1 TSN features.
> > > >
> > > > It features a cleaned-up U-Boot board support taken from OpenIL,
> > > > as well as an eTSEC migration to DM_ETH.  I picked up Bin Meng's
> > > > patch that converts the LS1021A-TWR (different board, same SoC):
> > > > https://lists.denx.de/pipermail/u-boot/2018-May/330096.html
> > > > verified it on the LS1021A-TSN board I am submitting, and made a
> > > > few adjustments where necessary.
> > > >
> > > > TODO items:
> > > > - Make the eTSEC driver support fixed-link interfaces (necessary
> > > >   for the enet2 <-> sja1105 internal port)
> > > > - Add driver for SJA1105 switch
> > > > - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
> > > >   expose the TBI PHY to mdio commands (useful for debugging),
> > > >   once https://lists.denx.de/pipermail/u-boot/2019-June/371563.html
> > > >   is merged.
> > >
> > > This series is merged at this point... are you wanting to do that
> > > migration now or do it sometime later?
> > >
> >
> > I think I would rather have these 9 patches merged first, now that
> > they got reviewed, instead of reworking them again.
>
> Sounds good.
> Thanks,
> -Joe
>

What does this mean, that we are waiting for Prabhakar's OK? Is the
patchset going to get in through a single tree? Whose is it going to
be?

Thanks,
-Vladimir

> >
> > > >
> > > > Bin Meng (1):
> > > >   arm: ls1021atwr: Convert to use driver model TSEC driver
> > > >
> > > > Jianchao Wang (1):
> > > >   Add support for the NXP LS1021A-TSN board
> > > >
> > > > Vladimir Oltean (7):
> > > >   net: tsec: Refactor the readout of the tbi-handle property
> > > >   net: tsec: Fix offset of MDIO registers for DM_ETH
> > > >   net: tsec: Reverse Christmas tree notation
> > > >   net: tsec: Make errors visible
> > > >   net: tsec: Common handling of MAC station address for DM_ETH
> > > >   net: tsec: Change compatible strings to match Linux
> > > >   configs: ls1021atwr: Fix distro_bootcmd for QSPI boot
> > > >
> > > >  arch/arm/Kconfig                              |  14 +
> > > >  arch/arm/cpu/armv7/ls102xa/cpu.c              |   2 +-
> > > >  arch/arm/cpu/armv7/ls102xa/fdt.c              |  10 +
> > > >  arch/arm/dts/Makefile                         |   2 +-
> > > >  arch/arm/dts/ls1021a-tsn.dts                  |  77 ++++++
> > > >  arch/arm/dts/ls1021a-twr.dtsi                 |  32 +++
> > > >  arch/arm/dts/ls1021a.dtsi                     |  30 +-
> > > >  board/freescale/ls1021atsn/Kconfig            |  18 ++
> > > >  board/freescale/ls1021atsn/MAINTAINERS        |   8 +
> > > >  board/freescale/ls1021atsn/Makefile           |   3 +
> > > >  board/freescale/ls1021atsn/README.rst         |  97 +++++++
> > > >  board/freescale/ls1021atsn/ls1021atsn.c       | 260 ++++++++++++++++++
> > > >  board/freescale/ls1021atsn/ls102xa_pbi.cfg    |  15 +
> > > >  board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg |   8 +
> > > >  board/freescale/ls1021atwr/ls1021atwr.c       |  38 ---
> > > >  configs/ls1021atsn_qspi_defconfig             |  79 ++++++
> > > >  configs/ls1021atsn_sdcard_defconfig           |  91 ++++++
> > > >  configs/ls1021atwr_nor_SECURE_BOOT_defconfig  |   2 +
> > > >  configs/ls1021atwr_nor_defconfig              |   2 +
> > > >  configs/ls1021atwr_nor_lpuart_defconfig       |   2 +
> > > >  configs/ls1021atwr_qspi_defconfig             |   2 +
> > > >  ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |   2 +
> > > >  configs/ls1021atwr_sdcard_ifc_defconfig       |   2 +
> > > >  configs/ls1021atwr_sdcard_qspi_defconfig      |   2 +
> > > >  doc/device-tree-bindings/net/fsl-tsec-phy.txt |   4 +-
> > > >  drivers/net/tsec.c                            |  59 ++--
> > > >  include/configs/ls1021atsn.h                  | 250 +++++++++++++++++
> > > >  include/configs/ls1021atwr.h                  |  30 +-
> > > >  include/tsec.h                                |   4 +-
> > > >  29 files changed, 1038 insertions(+), 107 deletions(-)
> > > >  create mode 100644 arch/arm/dts/ls1021a-tsn.dts
> > > >  create mode 100644 board/freescale/ls1021atsn/Kconfig
> > > >  create mode 100644 board/freescale/ls1021atsn/MAINTAINERS
> > > >  create mode 100644 board/freescale/ls1021atsn/Makefile
> > > >  create mode 100644 board/freescale/ls1021atsn/README.rst
> > > >  create mode 100644 board/freescale/ls1021atsn/ls1021atsn.c
> > > >  create mode 100644 board/freescale/ls1021atsn/ls102xa_pbi.cfg
> > > >  create mode 100644 board/freescale/ls1021atsn/ls102xa_rcw_sd.cfg
> > > >  create mode 100644 configs/ls1021atsn_qspi_defconfig
> > > >  create mode 100644 configs/ls1021atsn_sdcard_defconfig
> > > >  create mode 100644 include/configs/ls1021atsn.h
> > > >
> > > > --
> > > > 2.17.1
> > > >
> > > > _______________________________________________
> > > > U-Boot mailing list
> > > > U-Boot@lists.denx.de
> > > > https://lists.denx.de/listinfo/u-boot
> >
> > Regards,
> > -Vladimir
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot@lists.denx.de
> > https://lists.denx.de/listinfo/u-boot
Joe Hershberger July 24, 2019, 6:56 p.m. UTC | #5
On Wed, Jul 24, 2019 at 10:38 AM Vladimir Oltean <olteanv@gmail.com> wrote:
>
> On Tue, 23 Jul 2019 at 10:38, Joe Hershberger <joe.hershberger@ni.com> wrote:
> >
> > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean <olteanv@gmail.com> wrote:
> > >
> > > Hi Joe,
> > >
> > > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger <joe.hershberger@ni.com> wrote:
> > > >
> > > > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean <olteanv@gmail.com> wrote:
> > > > >
> > > > > This patchset adds initial support for the NXP LS1021A-TSN board,
> > > > > an evaluation platform built in partnership with VVDN/Argonboards
> > > > > for some IEEE 802.1 TSN features.
> > > > >
> > > > > It features a cleaned-up U-Boot board support taken from OpenIL,
> > > > > as well as an eTSEC migration to DM_ETH.  I picked up Bin Meng's
> > > > > patch that converts the LS1021A-TWR (different board, same SoC):
> > > > > https://lists.denx.de/pipermail/u-boot/2018-May/330096.html
> > > > > verified it on the LS1021A-TSN board I am submitting, and made a
> > > > > few adjustments where necessary.
> > > > >
> > > > > TODO items:
> > > > > - Make the eTSEC driver support fixed-link interfaces (necessary
> > > > >   for the enet2 <-> sja1105 internal port)
> > > > > - Add driver for SJA1105 switch
> > > > > - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
> > > > >   expose the TBI PHY to mdio commands (useful for debugging),
> > > > >   once https://lists.denx.de/pipermail/u-boot/2019-June/371563.html
> > > > >   is merged.
> > > >
> > > > This series is merged at this point... are you wanting to do that
> > > > migration now or do it sometime later?
> > > >
> > >
> > > I think I would rather have these 9 patches merged first, now that
> > > they got reviewed, instead of reworking them again.
> >
> > Sounds good.
> > Thanks,
> > -Joe
> >
>
> What does this mean, that we are waiting for Prabhakar's OK? Is the
> patchset going to get in through a single tree? Whose is it going to
> be?

Since the vast majority of the series is the Ethernet changes, I was
planning to take it.

Thanks,
-Joe
Vladimir Oltean July 24, 2019, 8:54 p.m. UTC | #6
On Wed, 24 Jul 2019 at 21:56, Joe Hershberger <joe.hershberger@ni.com> wrote:
>
> On Wed, Jul 24, 2019 at 10:38 AM Vladimir Oltean <olteanv@gmail.com> wrote:
> >
> > On Tue, 23 Jul 2019 at 10:38, Joe Hershberger <joe.hershberger@ni.com> wrote:
> > >
> > > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean <olteanv@gmail.com> wrote:
> > > >
> > > > Hi Joe,
> > > >
> > > > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger <joe.hershberger@ni.com> wrote:
> > > > >
> > > > > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean <olteanv@gmail.com> wrote:
> > > > > >
> > > > > > This patchset adds initial support for the NXP LS1021A-TSN board,
> > > > > > an evaluation platform built in partnership with VVDN/Argonboards
> > > > > > for some IEEE 802.1 TSN features.
> > > > > >
> > > > > > It features a cleaned-up U-Boot board support taken from OpenIL,
> > > > > > as well as an eTSEC migration to DM_ETH.  I picked up Bin Meng's
> > > > > > patch that converts the LS1021A-TWR (different board, same SoC):
> > > > > > https://lists.denx.de/pipermail/u-boot/2018-May/330096.html
> > > > > > verified it on the LS1021A-TSN board I am submitting, and made a
> > > > > > few adjustments where necessary.
> > > > > >
> > > > > > TODO items:
> > > > > > - Make the eTSEC driver support fixed-link interfaces (necessary
> > > > > >   for the enet2 <-> sja1105 internal port)
> > > > > > - Add driver for SJA1105 switch
> > > > > > - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
> > > > > >   expose the TBI PHY to mdio commands (useful for debugging),
> > > > > >   once https://lists.denx.de/pipermail/u-boot/2019-June/371563.html
> > > > > >   is merged.
> > > > >
> > > > > This series is merged at this point... are you wanting to do that
> > > > > migration now or do it sometime later?
> > > > >
> > > >
> > > > I think I would rather have these 9 patches merged first, now that
> > > > they got reviewed, instead of reworking them again.
> > >
> > > Sounds good.
> > > Thanks,
> > > -Joe
> > >
> >
> > What does this mean, that we are waiting for Prabhakar's OK? Is the
> > patchset going to get in through a single tree? Whose is it going to
> > be?
>
> Since the vast majority of the series is the Ethernet changes, I was
> planning to take it.
>

Sounds reasonable to me.

> Thanks,
> -Joe

Regards,
-Vladimir
Prabhakar Kushwaha Aug. 14, 2019, 9:37 a.m. UTC | #7
Dear Joe,

> -----Original Message-----
> From: Joe Hershberger <joe.hershberger@ni.com>
> Sent: Thursday, July 25, 2019 12:26 AM
> To: Vladimir Oltean <olteanv@gmail.com>
> Cc: Joseph Hershberger <joseph.hershberger@ni.com>; Prabhakar
> Kushwaha <prabhakar.kushwaha@nxp.com>; u-boot <u-
> boot@lists.denx.de>; Joseph Hershberger <joseph.hershberger@ni.com>
> Subject: Re: [U-Boot] [PATCH v3 0/9] NXP LS1021A-TSN Board
> 
> On Wed, Jul 24, 2019 at 10:38 AM Vladimir Oltean <olteanv@gmail.com>
> wrote:
> >
> > On Tue, 23 Jul 2019 at 10:38, Joe Hershberger <joe.hershberger@ni.com>
> wrote:
> > >
> > > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean <olteanv@gmail.com>
> wrote:
> > > >
> > > > Hi Joe,
> > > >
> > > > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger
> <joe.hershberger@ni.com> wrote:
> > > > >
> > > > > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean <olteanv@gmail.com>
> wrote:
> > > > > >
> > > > > > This patchset adds initial support for the NXP LS1021A-TSN
> > > > > > board, an evaluation platform built in partnership with
> > > > > > VVDN/Argonboards for some IEEE 802.1 TSN features.
> > > > > >
> > > > > > It features a cleaned-up U-Boot board support taken from
> > > > > > OpenIL, as well as an eTSEC migration to DM_ETH.  I picked up
> > > > > > Bin Meng's patch that converts the LS1021A-TWR (different board,
> same SoC):
> > > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2
> > > > > > F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2018-
> May%2F330096.htm
> > > > > >
> l&amp;data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Cb56d806fd1
> > > > > >
> d34b1e9f6e08d710689b30%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> > > > > >
> 7C0%7C636995913790933089&amp;sdata=p3knnJglauV7ddeHwXZqFHJTTVk
> > > > > > vgIPINUzuVkH6e%2Fw%3D&amp;reserved=0
> > > > > > verified it on the LS1021A-TSN board I am submitting, and made
> > > > > > a few adjustments where necessary.
> > > > > >
> > > > > > TODO items:
> > > > > > - Make the eTSEC driver support fixed-link interfaces (necessary
> > > > > >   for the enet2 <-> sja1105 internal port)
> > > > > > - Add driver for SJA1105 switch
> > > > > > - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
> > > > > >   expose the TBI PHY to mdio commands (useful for debugging),
> > > > > >   once
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.d
> enx.de%2Fpipermail%2Fu-boot%2F2019-
> June%2F371563.html&amp;data=02%7C01%7Cprabhakar.kushwaha%40nxp.c
> om%7Cb56d806fd1d34b1e9f6e08d710689b30%7C686ea1d3bc2b4c6fa92cd99c
> 5c301635%7C0%7C0%7C636995913790933089&amp;sdata=dRUz6o%2FbaaRV
> Fy%2FTn4Qxx%2B%2Bbng2YmxMVWtUyknP2qHY%3D&amp;reserved=0
> > > > > >   is merged.
> > > > >
> > > > > This series is merged at this point... are you wanting to do
> > > > > that migration now or do it sometime later?
> > > > >
> > > >
> > > > I think I would rather have these 9 patches merged first, now that
> > > > they got reviewed, instead of reworking them again.
> > >
> > > Sounds good.
> > > Thanks,
> > > -Joe
> > >
> >
> > What does this mean, that we are waiting for Prabhakar's OK? Is the
> > patchset going to get in through a single tree? Whose is it going to
> > be?
> 
> Since the vast majority of the series is the Ethernet changes, I was planning
> to take it.
> 

I hope you have taken this patch-set

--pk
Vladimir Oltean Aug. 14, 2019, 9:52 a.m. UTC | #8
Hi Prabhakar,

On Wed, 14 Aug 2019 at 12:37, Prabhakar Kushwaha
<prabhakar.kushwaha@nxp.com> wrote:
>
> Dear Joe,
>
> > -----Original Message-----
> > From: Joe Hershberger <joe.hershberger@ni.com>
> > Sent: Thursday, July 25, 2019 12:26 AM
> > To: Vladimir Oltean <olteanv@gmail.com>
> > Cc: Joseph Hershberger <joseph.hershberger@ni.com>; Prabhakar
> > Kushwaha <prabhakar.kushwaha@nxp.com>; u-boot <u-
> > boot@lists.denx.de>; Joseph Hershberger <joseph.hershberger@ni.com>
> > Subject: Re: [U-Boot] [PATCH v3 0/9] NXP LS1021A-TSN Board
> >
> > On Wed, Jul 24, 2019 at 10:38 AM Vladimir Oltean <olteanv@gmail.com>
> > wrote:
> > >
> > > On Tue, 23 Jul 2019 at 10:38, Joe Hershberger <joe.hershberger@ni.com>
> > wrote:
> > > >
> > > > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean <olteanv@gmail.com>
> > wrote:
> > > > >
> > > > > Hi Joe,
> > > > >
> > > > > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger
> > <joe.hershberger@ni.com> wrote:
> > > > > >
> > > > > > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean <olteanv@gmail.com>
> > wrote:
> > > > > > >
> > > > > > > This patchset adds initial support for the NXP LS1021A-TSN
> > > > > > > board, an evaluation platform built in partnership with
> > > > > > > VVDN/Argonboards for some IEEE 802.1 TSN features.
> > > > > > >
> > > > > > > It features a cleaned-up U-Boot board support taken from
> > > > > > > OpenIL, as well as an eTSEC migration to DM_ETH.  I picked up
> > > > > > > Bin Meng's patch that converts the LS1021A-TWR (different board,
> > same SoC):
> > > > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2
> > > > > > > F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2018-
> > May%2F330096.htm
> > > > > > >
> > l&amp;data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Cb56d806fd1
> > > > > > >
> > d34b1e9f6e08d710689b30%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> > > > > > >
> > 7C0%7C636995913790933089&amp;sdata=p3knnJglauV7ddeHwXZqFHJTTVk
> > > > > > > vgIPINUzuVkH6e%2Fw%3D&amp;reserved=0
> > > > > > > verified it on the LS1021A-TSN board I am submitting, and made
> > > > > > > a few adjustments where necessary.
> > > > > > >
> > > > > > > TODO items:
> > > > > > > - Make the eTSEC driver support fixed-link interfaces (necessary
> > > > > > >   for the enet2 <-> sja1105 internal port)
> > > > > > > - Add driver for SJA1105 switch
> > > > > > > - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
> > > > > > >   expose the TBI PHY to mdio commands (useful for debugging),
> > > > > > >   once
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.d
> > enx.de%2Fpipermail%2Fu-boot%2F2019-
> > June%2F371563.html&amp;data=02%7C01%7Cprabhakar.kushwaha%40nxp.c
> > om%7Cb56d806fd1d34b1e9f6e08d710689b30%7C686ea1d3bc2b4c6fa92cd99c
> > 5c301635%7C0%7C0%7C636995913790933089&amp;sdata=dRUz6o%2FbaaRV
> > Fy%2FTn4Qxx%2B%2Bbng2YmxMVWtUyknP2qHY%3D&amp;reserved=0
> > > > > > >   is merged.
> > > > > >
> > > > > > This series is merged at this point... are you wanting to do
> > > > > > that migration now or do it sometime later?
> > > > > >
> > > > >
> > > > > I think I would rather have these 9 patches merged first, now that
> > > > > they got reviewed, instead of reworking them again.
> > > >
> > > > Sounds good.
> > > > Thanks,
> > > > -Joe
> > > >
> > >
> > > What does this mean, that we are waiting for Prabhakar's OK? Is the
> > > patchset going to get in through a single tree? Whose is it going to
> > > be?
> >
> > Since the vast majority of the series is the Ethernet changes, I was planning
> > to take it.
> >
>
> I hope you have taken this patch-set

Yes, they are now applied to the u-boot-net tree:
https://gitlab.denx.de/u-boot/custodians/u-boot-net/commits/master

>
> --pk
>
>

Thanks!
-Vladimir