Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4617437iob; Sun, 8 May 2022 19:23:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhpg3LW9bJwdks9vVaQJAq1Nhse415NoWrqB9zo7vOvkYEJysfPlAgwFVUkWk6SX4vTV0y X-Received: by 2002:a17:902:d547:b0:15e:c404:5a3b with SMTP id z7-20020a170902d54700b0015ec4045a3bmr13934896plf.110.1652062981615; Sun, 08 May 2022 19:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652062981; cv=none; d=google.com; s=arc-20160816; b=k+080IL5Dy1TZnAHO9T26HZKj9VzCn5QmKCoZzsNihKq9hAvEzHWnbrQNvQIMF9VNq SAyob/NCmc8OqiDIkFp8/2LCmYFG/68OdM8fAKjzqYN+C0ibGRQAX98O3EFgeYDwSXjR 7xnMFWbJSFQIwkISLu0qWa3ci/2f72xcDB+W3YnhrfPGjclKWQYS/UlBWt7WTK0c354a RqoZ3AaKxWKDAj39w46iDarB8pmnxdU+QM2VnpyFhwR0DwmkcIGa9yWIy+DhxTdCoze8 ShrwzA3WIxhIfn/ceJrf9QzUlULdpgyTmANdvP6MKwMUKJG53M2nvBrbIoF+6KDWd05L c1qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=NHnAs4zkvDXhhOUR0OZ+t2XZuNzKTM6oYo9/ZvqDk00=; b=qjygONYH3LOXtNk48eBqOpjIjjtkXth3fiiyo2DLSlSEzCXZhwmQiKlhDe+lyeYHH7 Rr6VX9ncU9fB3cN3bz4Nsmpbs+xOs7Lh3IETS82O5WCq4CajHzPPXhkqoUIx7LWW2OVw k53rDBcLIJAQpd6mK2jcDjjjJiVDe5PyNTX487sPqo+ClaTPcMULnft0Cc1jWT4knhEQ dy6Te1LV4Hz+mOQbDb1Jwzu03MlCMjhP4P1y4ujYkUn2Avx6j+LcjtoltmhwAo9EEDFm yLjyHwmmSviiMgnhoMWp/Z3eBoGltkYRUpc5HsVut7kvgamqFrnWBT5Cg8p5wlOY14zI hX6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x10-20020a170902ea8a00b0015872da7008si9423910plb.446.2022.05.08.19.23.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:23:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 80A8B5BD20; Sun, 8 May 2022 19:22:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442968AbiEFPd0 (ORCPT + 99 others); Fri, 6 May 2022 11:33:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442883AbiEFPcq (ORCPT ); Fri, 6 May 2022 11:32:46 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCF336D380; Fri, 6 May 2022 08:29:02 -0700 (PDT) Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MGA4m-1napja1jy8-00GXPA; Fri, 06 May 2022 17:28:26 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marcel Ziswiler , Alexander Stein , Ariel D'Alessandro , Arnd Bergmann , Christoph Niedermaier , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , Li Yang , Lucas Stach , Matthias Schiffer , NXP Linux Team , Olof Johansson , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Sebastian Reichel , Shawn Guo , Stefan Agner , Tim Harvey , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, soc@kernel.org Subject: [PATCH v1 00/24] ARM: dts: imx7-colibri: device tree improvements Date: Fri, 6 May 2022 17:27:45 +0200 Message-Id: <20220506152809.295409-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:XOx2fSsaOK9AoIC2eRQNLUkUOALQr1+0y7DzQgopQY9pOdFRfXI cvks6FhZRgSPQaWEcMUNR3gMJZpe6fmd062p5xFksJ0peq8Xo3Jrmk6muLrq1ntDstaYjX8 K0SmNJqIwJTSgUHhtO+87ybvZUdVJ5XX0fqCE7NA1gOzLU3rvw1hMyJnmjf0MsdZakB2IpG 0hlJf+XWG/hCOgRnkFgTA== X-UI-Out-Filterresults: notjunk:1;V03:K0:tISqTnRwdLQ=:peo72rTu+eb7FMxZm2Bsgf zhgjkGwbrf7bfR2NhIpHPouohSj1tlxckF6TejvbLX2Xf71WmLxULfWtAPxpUGLGDC7nAdCoo poLuqNPQlXysKN23y+TjGUY9PaFBdE5AkEjCnSOt95GiSErvC/qmg/exKGrZ0pmpbk3DWnWPq 8leKJ5yf8cwYz8cSQsYQ7kj9LUpypupGjZkk0vwVdA+N+0XV/PfWORFVOTjFuoGYfC3R5eFem 43MpYRigE/mhL+80BffZzIbouQSL/zC5hSm+e511oKkOw0a5vlU0JEsLJY0SQadsdWCLU2SFv 6SAVJUVz0y7ge+YW0rP+XLTL9bX7kc9YDiEVJVZ+SqTHJOBdMnTTExlaTFrK1lMMzkxCXSQU8 wJlrVh20P/EfmRLUUGsYack0iLOwDUtYsdO/C/v9pB6F+5FpY/dBtZBlM6C1P4MNItLo0a8U8 pluxAkaKGcPOqoZOKZ7z2cX+OQMpnMy0KvLyveHiX1rzF4aosoyKf7yC3wQUM7Tkm95Bov7iJ VZLI/lRwddQVXoBX09y6/pAPeG1PaDyehXeyhYMWhm77Vx5ChzZPi/qsDU3NnD9I/R2P4LH9O xLrH9LENvHtI69PMD26TEqYqzDk5DH5XaPZPpU667b/uu6ch4s7WFTNrUWvb43u7euOCBS0ie jPFUYGYrfdhim/ru4fmUQ3Lz/oAjIcKvL+o7TVeJKnl1CrpzvWxhzZ1oituRQt10nUsM= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcel Ziswiler This is a general update of the Colibri iMX7 device tree files. The Toradex Colibri family is composed of a SoM that can be plugged on various carrier boards, with carrier boards allowing multiple optional accessories (e.g. display, camera, ...). The device tree sources are structured into a SoM dtsi and a carrier dts which then includes the SoM dtsi. The SoM dtsi defines and enables the functionality self-contained on the SoM and prepares for the functionality provided by the carrier HW or accessories so that the carrier dts then can enable or amend nodes provided. Accessories are enabled in overlays depending on HW configuration. Please find the following colibri-imx7 device trees improvements: - Display/Touch Functionality Overhaul Rename display interface to match other modules to make it easier to use device tree overlays. The parallel RGB interface (lcdif) and all related stuff turn on in a device tree overlay. Keep them disabled in the main devicetree. As these subsystems are provided by module and not a part of boards, move their definitions into the module-level devicetree. Disable ad7879 touchscreen which turns on in a devic tree overlay. Remains it disabled in the main devicetree. The Toradex 7" Capacitive and 10" LVDS touch screens are Atmel MXT peripherals available on the I2C bus for touchscreen events. Add atmel_mxt_ts node to the module-level device tree. Also, provide pinmux configuration for the INT/RST inputs from SODIMM pins 106/107 for most carrier boards or an external touchscreen adapter inputs configured to SODIMM pins 28/30. - Ethernet Improvements Add the MDIO bus with the respective PHY. Add Ethernet aliases which is required to properly pass MAC address from bootloader. Add delay for on-module phy supply. - USB Device/Host Switching Add usb dual-role switching using extcon. - MMC/SD The original Colibri specification only defined 3.3 volt TTL signaling and relied on external on-carrier pull-ups for the SD_DATA[0..3] lines. The latest carrier boards like Iris V2 on the other hand are now UHS-I compliant by leaving such external on-carrier pull-ups away relying on module- or even SoC-level ones which pull up to resp. signaling voltage. In such cases, the carrier board-level device tree may explicitly delete the no-1-8-v property to enable full UHS-I support. Also, fix SD/MMC regulator for the carrier boards using UHS-I modes. - Add Iris and Iris V2 Carrier Board Device Trees Add support for Toradex Iris carrier boards. Marcel Ziswiler (18): ARM: dts: imx7-colibri: overhaul display/touch functionality ARM: dts: imx7-colibri: add mdio phy node ARM: dts: imx7-colibri: move aliases, chosen, extcon and gpio-keys ARM: dts: imx7-colibri: move regulators ARM: dts: imx7-colibri: clean-up usdhc1 and add sleep config ARM: dts: imx7-colibri: move rtc node ARM: dts: imx7d-colibri-emmc: add cpu1 supply ARM: dts: imx7-colibri-eval-v3: correct can controller comment ARM: dts: imx7-colibri: disable adc2 ARM: dts: imx7-colibri-aster: add ssp aka spi cs aka ss pins ARM: dts: imx7-colibri: add clarifying comments ARM: dts: imx7-colibri: alphabetical re-order ARM: dts: imx7-colibri: clean-up device enabling/disabling ARM: dts: imx7-colibri: remove leading zero from reg address ARM: dts: imx7-colibri: set regulator-name properties ARM: dts: imx7-colibri: clean-up iomuxc pinctrl group naming dt-bindings: arm: fsl: add toradex,colibri-imx7s/d/d-emmc-iris/-v2 ARM: dts: imx7-colibri: add support for Toradex Iris carrier boards Max Krummenacher (1): ARM: dts: imx7-colibri: add ethernet aliases Oleksandr Suvorov (3): ARM: dts: imx7-colibri: improve licensing and compatible strings ARM: dts: imx7-colibri: improve wake-up with gpio key ARM: dts: imx7-colibri: add delay for on-module phy supply Philippe Schenker (1): ARM: dts: imx7-colibri: add usb dual-role switching using extcon Stefan Agner (1): ARM: dts: imx7-colibri: set lcdif clock source to video pll .../devicetree/bindings/arm/fsl.yaml | 6 + arch/arm/boot/dts/Makefile | 6 + arch/arm/boot/dts/imx6dl-colibri-iris.dts | 9 +- arch/arm/boot/dts/imx7-colibri-aster.dtsi | 142 +-- arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 156 +--- arch/arm/boot/dts/imx7-colibri-iris-v2.dtsi | 112 +++ arch/arm/boot/dts/imx7-colibri-iris.dtsi | 108 +++ arch/arm/boot/dts/imx7-colibri.dtsi | 830 +++++++++++------- arch/arm/boot/dts/imx7d-colibri-aster.dts | 30 +- .../arm/boot/dts/imx7d-colibri-emmc-aster.dts | 10 +- .../boot/dts/imx7d-colibri-emmc-eval-v3.dts | 10 +- .../boot/dts/imx7d-colibri-emmc-iris-v2.dts | 21 + arch/arm/boot/dts/imx7d-colibri-emmc-iris.dts | 21 + arch/arm/boot/dts/imx7d-colibri-emmc.dtsi | 17 +- arch/arm/boot/dts/imx7d-colibri-eval-v3.dts | 45 +- arch/arm/boot/dts/imx7d-colibri-iris-v2.dts | 83 ++ arch/arm/boot/dts/imx7d-colibri-iris.dts | 56 ++ arch/arm/boot/dts/imx7d-colibri.dtsi | 13 +- arch/arm/boot/dts/imx7s-colibri-aster.dts | 27 +- arch/arm/boot/dts/imx7s-colibri-eval-v3.dts | 43 +- arch/arm/boot/dts/imx7s-colibri-iris-v2.dts | 78 ++ arch/arm/boot/dts/imx7s-colibri-iris.dts | 51 ++ arch/arm/boot/dts/imx7s-colibri.dtsi | 5 +- 23 files changed, 1295 insertions(+), 584 deletions(-) create mode 100644 arch/arm/boot/dts/imx7-colibri-iris-v2.dtsi create mode 100644 arch/arm/boot/dts/imx7-colibri-iris.dtsi create mode 100644 arch/arm/boot/dts/imx7d-colibri-emmc-iris-v2.dts create mode 100644 arch/arm/boot/dts/imx7d-colibri-emmc-iris.dts create mode 100644 arch/arm/boot/dts/imx7d-colibri-iris-v2.dts create mode 100644 arch/arm/boot/dts/imx7d-colibri-iris.dts create mode 100644 arch/arm/boot/dts/imx7s-colibri-iris-v2.dts create mode 100644 arch/arm/boot/dts/imx7s-colibri-iris.dts -- 2.35.1