Skip to content

arm: xea: Update i.MX28 XEA board to use DM_SERIAL

Lukasz Majewski u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Changes from the cover letter

- Patches 1-3 - fix DTS (after Linux update) to debrick XEA
- Patches 4-8 - prepare XEA's DTS to support DM_SERIAL
- Patches 9-11 - fixes serial_pl01x.c driver (as this driver is used by XEA, I would prefer to have this in a single patchset - otherwise board may be bricked
- Patches 12-14 - XEA and imx28 generic code fixes to support DM_SERIAL with OF_PLATDATA
- Patches 15-16 - config modification to support DM_SERIAL

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16dts: xea: Delete not used in u-boot DTS nodesarch/arm/dts/imx28-xea-u-boot.dtsi+16 -01 reply
2/16dts: xea: Provide missing FEC required properties (mac0 and reg_fec_3v3)arch/arm/dts/imx28-xea-u-boot.dtsi+22 -01 reply
3/16defconfig: xea: Change default spi-nor memory bus to 2configs/imx28_xea_defconfig+1 -11 reply
4/16spl: xea: Provide stub DM driver for imx28 clocksboard/liebherr/xea/xea.c+18 -11 reply
5/16dts: xea: Enable debug UART support in XEA's SPL (DM_SERIAL)arch/arm/dts/imx28-xea-u-boot.dtsi+4 -01 reply
6/16dts: xea: Add u-boot specific 'type' property to duartarch/arm/dts/imx28-xea-u-boot.dtsi+1 -01 reply
7/16dts: xea: Remove clocks property from debug UART on XEAarch/arm/dts/imx28-xea-u-boot.dtsi+1 -01 reply
8/16dts: xea: Disable 'clks' node for xea (imx287)arch/arm/dts/imx28-xea-u-boot.dtsi+1 -01 reply
9/16serial: pl01x: Change OF_CONTROL to OF_REALdrivers/serial/serial_pl01x.c+1 -11 reply
10/16serial: pl01x: Prepare the driver to support SPL_OF_PLATDATAdrivers/serial/serial_pl01x.c include/dm/platform_data/serial_pl01x.h+16 -01 reply
11/16serial: pl01x: Modify pending callback to test if transmit FIFO is emptydrivers/serial/serial_pl01x.c+1 -11 reply
12/16arm: mxs: Prevent serial console init when in very early SPL boot codearch/arm/cpu/arm926ejs/mxs/spl_boot.c+4 -21 reply
13/16arm: xea: Call spl_early_init() before DM serial console is enabled in SPLboard/liebherr/xea/xea.c+1 -01 reply
14/16arm: Kconfig: Switch XEA (imx287 based) board to use CONFIG_PL01X_SERIALarch/arm/Kconfig arch/arm/mach-imx/mxs/Kconfig+2 -11 reply
15/16config: xea: Enable DM_SERIAL for the XEA (imx287 based) boardconfigs/imx28_xea_defconfig+2 -11 reply
16/16config: xea: Enable DM_SERIAL for the XEA - single binary (SB) u-bootconfigs/imx28_xea_sb_defconfig+2 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 00/16] arm: xea: Update i.MX28 XEA board to use DM_SERIAL

This patch series fixes i.MX28 based XEA board to utilize DM_SERIAL

Changes:
- Patches 1-3 - fix DTS (after Linux update) to debrick XEA
- Patches 4-8 - prepare XEA's DTS to support DM_SERIAL
- Patches 9-11 - fixes serial_pl01x.c driver (as this driver is used by XEA, I would prefer to have this in a single patchset - otherwise board may be bricked
- Patches 12-14 - XEA and imx28 generic code fixes to support DM_SERIAL with OF_PLATDATA
- Patches 15-16 - config modification to support DM_SERIAL

CI:
https://dev.azure.com/lukma633/U-Boot/_build/results?buildId=44&view=results

Applied on top of u-boot/master branch
SHA1: 6e1852ca2c418e2536ead4b51c4d84a59926b3f1

Lukasz Majewski (16):
dts: xea: Delete not used in u-boot DTS nodes
dts: xea: Provide missing FEC required properties (mac0 and

    reg_fec_3v3)

defconfig: xea: Change default spi-nor memory bus to 2
spl: xea: Provide stub DM driver for imx28 clocks
dts: xea: Enable debug UART support in XEA's SPL (DM_SERIAL)
dts: xea: Add u-boot specific 'type' property to duart
dts: xea: Remove clocks property from debug UART on XEA
dts: xea: Disable 'clks' node for xea (imx287)
serial: pl01x: Change OF_CONTROL to OF_REAL
serial: pl01x: Prepare the driver to support SPL_OF_PLATDATA
serial: pl01x: Modify pending callback to test if transmit FIFO is
empty
arm: mxs: Prevent serial console init when in very early SPL boot code
arm: xea: Call spl_early_init() before DM serial console is enabled in
SPL
arm: Kconfig: Switch XEA (imx287 based) board to use
CONFIG_PL01X_SERIAL
config: xea: Enable DM_SERIAL for the XEA (imx287 based) board
config: xea: Enable DM_SERIAL for the XEA - single binary (SB) u-boot

 arch/arm/Kconfig                        |  2 +-
 arch/arm/cpu/arm926ejs/mxs/spl_boot.c   |  6 ++--
 arch/arm/dts/imx28-xea-u-boot.dtsi      | 45 +++++++++++++++++++++++++
 arch/arm/mach-imx/mxs/Kconfig           |  1 +
 board/liebherr/xea/xea.c                | 20 ++++++++++-
 configs/imx28_xea_defconfig             |  5 +--
 configs/imx28_xea_sb_defconfig          |  2 ++
 drivers/serial/serial_pl01x.c           | 16 +++++++--
 include/dm/platform_data/serial_pl01x.h |  4 +++
 9 files changed, 93 insertions(+), 8 deletions(-)
Signature · 1 line
2.30.2