All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Marginean <alexandru.marginean@nxp.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 0/5] FSL/Layerscape gen 3: export serdes cfg to env
Date: Sat, 11 Jan 2020 00:32:53 +0200	[thread overview]
Message-ID: <20200110223258.19724-1-alexandru.marginean@nxp.com> (raw)

Exports the serdes configuration as an environment variable for LS gen 3
SoCs, so it can be used in u-boot command line.  It should particularly be
useful for applying Linux DT overlays for the given serdes configuration.
First 4 patches free up arch_misc_init, which is now implemented in
arch/arm/cpu/armv8/fsl-layerscape/cpu.c.  For LS1028A and LX2 the
board_mux_init code is now under misc_init_r.  MISC_INIT_R is now enabled
for the relavant boards.

Changes in v2:
  - s/emtpy/empty/ in description of two of the patches

Changes in v3:
  - Only revert serdes number for SoCs that encode the protocol on each lane
    (LS1028 and LS1088).  For the others (LS2, LX2) leave the number unchanged.
    In previous versions for instance LX2 serdes read 90000000 instead of 9.

This set replaces v2:
  https://patchwork.ozlabs.org/project/uboot/list/?series=146468

Alex Marginean (5):
  board: fsl: lx2160a: free up arch_misc_init
  board: fsl: ls2080a/ls2081a: remove empty arch_misc_init
  board: fsl: ls1088a: remove empty arch_misc_init
  board: fsl: ls1028a: free up arch_misc_init
  arch: armv8: fsl-layerscape: export serdes config to environment

 arch/arm/Kconfig                              | 10 -----
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig     |  1 +
 arch/arm/cpu/armv8/fsl-layerscape/cpu.c       | 14 +++++++
 .../armv8/fsl-layerscape/fsl_lsch3_serdes.c   | 42 +++++++++++++++++++
 board/freescale/ls1028a/ls1028a.c             |  4 +-
 board/freescale/ls1088a/ls1088a.c             |  7 ----
 board/freescale/ls2080a/ls2080a.c             |  7 ----
 board/freescale/ls2080aqds/ls2080aqds.c       |  7 ----
 board/freescale/ls2080ardb/ls2080ardb.c       |  7 ----
 board/freescale/lx2160a/lx2160a.c             |  4 +-
 configs/ls1028aqds_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/ls1028aqds_tfa_defconfig              |  1 +
 configs/lx2160aqds_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/lx2160aqds_tfa_defconfig              |  1 +
 configs/lx2160ardb_tfa_SECURE_BOOT_defconfig  |  1 +
 configs/lx2160ardb_tfa_defconfig              |  1 +
 16 files changed, 67 insertions(+), 42 deletions(-)

-- 
2.17.1

             reply	other threads:[~2020-01-10 22:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-10 22:32 Alex Marginean [this message]
2020-01-10 22:32 ` [PATCH v3 1/5] board: fsl: lx2160a: free up arch_misc_init Alex Marginean
2020-01-10 22:32 ` [PATCH v3 2/5] board: fsl: ls2080a/ls2081a: remove empty arch_misc_init Alex Marginean
2020-01-10 22:32 ` [PATCH v3 3/5] board: fsl: ls1088a: " Alex Marginean
2020-01-10 22:32 ` [PATCH v3 4/5] board: fsl: ls1028a: free up arch_misc_init Alex Marginean
2020-01-10 22:32 ` [PATCH v3 5/5] arch: armv8: fsl-layerscape: export serdes config to environment Alex Marginean

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=20200110223258.19724-1-alexandru.marginean@nxp.com \
    --to=alexandru.marginean@nxp.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.