Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2D156C32796 for ; Wed, 24 Aug 2022 13:53:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2C759847FC; Wed, 24 Aug 2022 15:53:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=fris.de header.i=@fris.de header.b="je0BoqLz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D0866845C1; Wed, 24 Aug 2022 15:53:17 +0200 (CEST) Received: from mail.fris.de (mail.fris.de [IPv6:2a01:4f8:c2c:390b::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A44DE8481B for ; Wed, 24 Aug 2022 15:53:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=frieder@fris.de Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 837D1C010E; Wed, 24 Aug 2022 15:53:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1661349193; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=gBz3ue0fE0pcKRtm+iwTVoe76i4vdLSKtNdJ8HzMqyw=; b=je0BoqLzgJdJlqa9vSx1+yOvM4GrQ74CU1+gdQ0nI9WWeVrmlLgHmjVZVoMKtuUhyA94CR HvD3FRZR57tOWDi9paYDT0qDtT1Xy/s34IFcFYgvyukIYf2Cbbz2aKK5iqvNSo5Y6rmzLR kLm2zt+DwQaEoobYyirM1fGdsFGd30Ho/KGz+lUg32CW2VoVhqoFNYarhbIJETIiodZmXf /GVx2FeP6YfqGJx3yMKeKS1h9lWBafEbdD1j10Em4HJkGNTXf5sjvtSigQ4Yr58X6nLKJC xdVHEGfCUVpa0ZT1hpwD50G69r0WSAs+4qdP4Yfjyzw+hCGdET5NftboeLMbPQ== From: Frieder Schrempf To: u-boot@lists.denx.de Cc: Frieder Schrempf , Fabio Estevam , Stefano Babic Subject: [PATCH v3 00/19] imx: kontron-sl-mx8mm: Improvements and OSM board support Date: Wed, 24 Aug 2022 15:52:22 +0200 Message-Id: <20220824135247.1842799-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean From: Frieder Schrempf 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