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 D3E94C00144 for ; Mon, 1 Aug 2022 10:30:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9EEB880330; Mon, 1 Aug 2022 12:30:38 +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="qploQkVQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 314F98021D; Mon, 1 Aug 2022 12:30:37 +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 1E67880330 for ; Mon, 1 Aug 2022 12:30:33 +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 C6309BFB1D; Mon, 1 Aug 2022 12:30:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1659349832; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=zkMZXxebstWP4lR2sIy7TLsmd2xVm3A0eHf76YXxV5I=; b=qploQkVQ+3iKn9hlFk/ByGkR4cack2g9iP2FChO3TdKG4ESf/zL8vKJ+EnQdONGRZLKdpY C2Dqz1bFGy8nLdgsN/qoGTDgMMS/LB2dMVHyOAKCjYHghctL9uUxDbHhaHWVncjHhp1bPI xamFRAYcnsRVCVjeT7CbFarYrgs7XOjjGLBsKPMT2zUB3KrfqVcCxVFrF5tAx23WNZOadm tYW5fd1L4yhG7qGvSjrZ2spbjNUganPkp5tY5f7VScbDsgDaeIQr5ZKRpXQbFJPSfBfhGK WiOYLwrwjs41ARUlLOyGMmJwCXOiWRbbUG1OJkYywyAA3sSNFucLleIKQUiXJA== From: Frieder Schrempf To: u-boot@lists.denx.de Cc: Frieder Schrempf , Fabio Estevam , Stefano Babic Subject: [PATCH v2 00/19] imx: kontron-sl-mx8mm: Improvements and OSM board support Date: Mon, 1 Aug 2022 12:30:02 +0200 Message-Id: <20220801103027.96820-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). 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 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 board and SoM 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 | 1 - .../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 | 14 +- arch/arm/dts/imx8mm-kontron-n801x-s.dts | 5 +- arch/arm/dts/imx8mm-kontron-n801x-som.dtsi | 51 +- .../dts/imx8mm-kontron-n802x-s-u-boot.dtsi | 14 + arch/arm/dts/imx8mm-kontron-n802x-s.dts | 376 ++++ arch/arm/dts/imx8mm-kontron-n802x-som.dtsi | 309 +++ ...tsi => imx8mm-kontron-n80xx-s-u-boot.dtsi} | 21 +- board/kontron/sl-mx8mm/MAINTAINERS | 1 + board/kontron/sl-mx8mm/lpddr4_timing.c | 1969 ++++++++--------- board/kontron/sl-mx8mm/sl-mx8mm.c | 44 + board/kontron/sl-mx8mm/sl-mx8mm.env | 7 + board/kontron/sl-mx8mm/spl.c | 112 +- configs/kontron-sl-mx8mm_defconfig | 17 +- doc/board/kontron/sl-mx8mm.rst | 7 +- include/configs/kontron-sl-mx8mm.h | 16 +- 18 files changed, 1773 insertions(+), 1314 deletions(-) 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 create mode 100644 arch/arm/dts/imx8mm-kontron-n802x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-kontron-n802x-s.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n802x-som.dtsi rename arch/arm/dts/{imx8mm-kontron-n801x-u-boot.dtsi => imx8mm-kontron-n80xx-s-u-boot.dtsi} (83%) create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.env -- 2.37.1