[PATCH v3 00/19] imx: kontron-sl-mx8mm: Improvements and OSM board support

Frieder Schrempf frieder at fris.de
Wed Aug 24 15:52:22 CEST 2022


From: Frieder Schrempf <frieder.schrempf at kontron.de>

This set contains several improvements for the kontron-sl-mx8mm board
configuration (patches 1-17, 19) and support for a new SoM (patch 18,
including baseboard) that complies to the Open Standard Module (OSM) 1.0
hardware specification, size S (https://sget.org/standards/osm).

This also syncs the devicetrees with the pending changes in Linux (see [1]).

Changes in v3:
* add Fabio's R-b tags (Thanks!)
* fix OSM-S SoM name to match official name
* fix docs to match official board names
* adjust devicetree names and compatibles
* fix printing of RAM size
* add missing Makefile entry for new dtb
* fix hex numbers and unit addresses in SPI NOR partitions

Changes in v2:
* rebase on u-boot-imx/master
* new patches 2-5, 19
* fix printf warning in board/kontron/sl-mx8mm/spl.c
* remove unused pinmux definitions in board/kontron/sl-mx8mm/spl.c
* describe SPI NOR partitions in devicetree
* move environment to end of SPI NOR
* Add tags

[1] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20220822080357.24478-1-frieder@fris.de/

Frieder Schrempf (19):
  imx: kontron-sl-mx8mm: Remove LVDS board type and devicetrees
  imx: kontron-sl-mx8mm: Add support for loading from SPI NOR in SPL
  imx: kontron-sl-mx8mm: Remove custom board_boot_order() workaround
  imx: kontron-sl-mx8mm: Increase CONFIG_SYS_CBSIZE to 2K
  imx: kontron-sl-mx8mm: Enable MTD command
  imx: kontron-sl-mx8mm: Add redundant environment and SPI NOR
    partitions
  imx: kontron-sl-mx8mm: Enable environment in MMC
  imx: kontron-sl-mx8mm: Migrate to use CONFIG_EXTRA_ENV_TEXT
  imx: kontron-sl-mx8mm: Enable bootaux command
  imx: kontron-sl-mx8mm: lpddr4_timing.c: Add spaces for proper
    alignment
  imx: kontron-sl-mx8mm: Remove 100mt DDR setpoint
  imx: kontron-sl-mx8mm: Use new LPDDR4 config parameters
  imx: kontron-sl-mx8mm: Prepare for other i.MX8MM SoM types
  imx: kontron-sl-mx8mm: Adjust devicetree names, compatibles and model
    strings
  imx: kontron-sl-mx8mm: Use the VSELECT signal to switch SD card IO
    voltage
  imx: kontron-sl-mx8mm: Use voltage rail names from schematic for PMIC
    regulator-names
  imx: kontron-sl-mx8mm: Simplify code in spl.c
  imx: kontron-sl-mx8mm: Add support for Kontron Electronics SoM SL
    i.MX8MM OSM-S
  imx: kontron-sl-mx8mm: Prepare for I2C display detection in
    environment script

 arch/arm/dts/Makefile                         |    4 +-
 ...i => imx8mm-kontron-bl-common-u-boot.dtsi} |   21 +-
 .../dts/imx8mm-kontron-bl-osm-s-u-boot.dtsi   |   14 +
 arch/arm/dts/imx8mm-kontron-bl-osm-s.dts      |  376 ++++
 arch/arm/dts/imx8mm-kontron-bl-u-boot.dtsi    |   14 +
 ...tron-n801x-s.dts => imx8mm-kontron-bl.dts} |    9 +-
 .../imx8mm-kontron-n801x-s-lvds-u-boot.dtsi   |    6 -
 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts  |  117 -
 .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi    |    6 -
 arch/arm/dts/imx8mm-kontron-osm-s.dtsi        |  330 +++
 ...-n801x-som.dtsi => imx8mm-kontron-sl.dtsi} |   53 +-
 board/kontron/sl-mx8mm/MAINTAINERS            |    2 +-
 board/kontron/sl-mx8mm/lpddr4_timing.c        | 1969 ++++++++---------
 board/kontron/sl-mx8mm/sl-mx8mm.c             |   45 +
 board/kontron/sl-mx8mm/sl-mx8mm.env           |    7 +
 board/kontron/sl-mx8mm/spl.c                  |  115 +-
 configs/kontron-sl-mx8mm_defconfig            |   19 +-
 doc/board/kontron/sl-mx8mm.rst                |   13 +-
 include/configs/kontron-sl-mx8mm.h            |   16 +-
 19 files changed, 1810 insertions(+), 1326 deletions(-)
 rename arch/arm/dts/{imx8mm-kontron-n801x-u-boot.dtsi => imx8mm-kontron-bl-common-u-boot.dtsi} (83%)
 create mode 100644 arch/arm/dts/imx8mm-kontron-bl-osm-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx8mm-kontron-bl-osm-s.dts
 create mode 100644 arch/arm/dts/imx8mm-kontron-bl-u-boot.dtsi
 rename arch/arm/dts/{imx8mm-kontron-n801x-s.dts => imx8mm-kontron-bl.dts} (96%)
 delete mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi
 delete mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts
 delete mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx8mm-kontron-osm-s.dtsi
 rename arch/arm/dts/{imx8mm-kontron-n801x-som.dtsi => imx8mm-kontron-sl.dtsi} (87%)
 create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.env

-- 
2.37.2



More information about the U-Boot mailing list