Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3347340iob; Mon, 16 May 2022 20:14:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpTlcTILFBTrCVrZt2BlKzhdeyutyKyXzMqLSfuNmgpTd6gT5zeGQSAOH1oQeSxz5DKTLV X-Received: by 2002:a05:6a00:298a:b0:50e:8e3:b673 with SMTP id cj10-20020a056a00298a00b0050e08e3b673mr20254449pfb.28.1652757263300; Mon, 16 May 2022 20:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652757263; cv=none; d=google.com; s=arc-20160816; b=I7bXrTp/9/JK2Dv3Lc01tmxArxUr1c4HfgMNktBEP9n8rbYEvERAZUZUUpy80x1fKF BLHBvcbjo9C3trC7xmU9UlfTqgaqroWr2FSk5eZVNPXI4+1/cMLorQae7xCgLD6RTQSf 1smM9RCU4NEa5a6bdeAKYF2yJYAMUr6gplHh7j6UBvnzZk5w3mAnmOAxKXoCuMIo6Frf p6mNVtHWZKttm95iZ/N2C75OHOfroav4bUYdv2djT26sbSIPcEIDb4ztLfcDyxlzRZok zUhTJwwMjhrUQ4WVd1Gzvo6+mWUzXnxWTsiAORJzEo1vQD87XlEwsfADhbnPt3wb9Vrv 9D2g== 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=wvMQXomLpSeVDzPfb8fzeasQMIWhdlu99eM7zh10VNA=; b=Z239oOsJyEVMh44TpiYjePvrUNrrxctQoRbWfRpC3bzyNKlT2a4BGkXp87V7xYWiyl OPyB0yh4nnJzZmtZAa4FX0q2NDuxsZnBHW8UYvBBjUBEDb3i+JhKN9cLSFXanGo9LwSw /7kOM1468MvT73CRmdRwcJto803i7nlJkRISCg2kYLqPuiN1bbLfK7A7WqqBnGRhGn92 GFMfSJUx3Sm4S/yDr22eUTdeTcAm2iBRSn7IrfXHaL497yksjNL5cMi0pr3lyLBQHnNA xOEHrUk2SUDY18GPI/Ovoo2tHQ2LF/iHwFLoi9iamww7hGE9O369V6aHPfUlg5wXWtFS vzNw== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a170902f60900b0016148fd0b00si11332415plg.369.2022.05.16.20.14.10; Mon, 16 May 2022 20:14:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243148AbiEPNss (ORCPT + 99 others); Mon, 16 May 2022 09:48:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240731AbiEPNsV (ORCPT ); Mon, 16 May 2022 09:48:21 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BECD139149; Mon, 16 May 2022 06:48:19 -0700 (PDT) Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MGCMz-1o4dJR24Pf-00FESy; Mon, 16 May 2022 15:47:51 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marcel Ziswiler , Alexander Stein , Arnd Bergmann , Denys Drozdov , Fabio Estevam , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , Li Yang , Lucas Stach , Marek Vasut , Matthias Schiffer , Max Krummenacher , NXP Linux Team , Olof Johansson , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Shawn Guo , Stefan Agner , Tim Harvey , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, soc@kernel.org Subject: [PATCH v2 00/24] ARM: dts: imx7-colibri: device tree improvements Date: Mon, 16 May 2022 15:47:10 +0200 Message-Id: <20220516134734.493065-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:u3p4QYBrJIcPxKDVCWF2zgjBva5I01FDyxt+TVltHm5GD/cIGUd xynr4EPaKTsNv+hB6SP838uZrwKxeUo7s9UAygZC7++LdfEaIZDQ6YMDjctSBXAigsNe1Qx N684YimYjb+f2GRRKo+936TZ++RtCy6bMwF8vWiporJL6Tg7TZQHEjEeApbPhunfywbEXKC ZmN1yWrd9g+d+fmRW/eVA== X-UI-Out-Filterresults: notjunk:1;V03:K0:VdckVgwfshQ=:ajcHLGaJHuesGRXoMHgVkM XsO6Q9oil98Jj9jv1rDySk7R6BTXp35Mpr0093yE/NwTev8G37XkFwGOpJpTjWTDjvFwg88lp eTh/ne8PLkFZHpoXaRJuHJm4FRps8Nn2osvR0JbybNVCn5vpwRowNXh1TaBAj4i3Uge+U8YCB dzd+kQhLCQmffNI/lSbDVe68OvZxyKYUGD0SS9MlPpNFEJb++JGDbgsyMgeMZXqRh5NqjeKTl 8hidOBhuLSojVvGF3+hm60KGqTvOcBikMUBvqZaeXioSTglB76qSCLkaDrMh8YmKox6EbN/qF WlITLmnbZG/kiQ9IHzlmm8bFOoLmOq0NkDwafY0JHiQ066XwRLuBClfgDMIaNSOtZSZCPvf5z fFO9HQdBkrbRJOO5uEoR+u9cc0YEQvfeUITx0zzWRug8W1imAmQ7BE7QPBeIuv5fQRDx+Cj0c gU2x7Tg/CXjr/UyCd/qcvCWTCrBF9c5H5US5AfljyyN9qNG4+9abfH0TcxgKYoyjKqvH9LrK1 1+m9p5IBXc2I4IKpAdYJ311emXUofA/oXI+MZzqhmmUh+0MGZZOajevT56o9EnE30cikAZoPB FN7L/79b15OjLCDbs0otyQi0grdTKj8UttJ0vtQ9cJQEWa1TP8i8YS4VAV/2kK6aDjm8QR40G Hfn5HP5YVT0UNzFkyhwSs05BxRuXEeeWIBOqpA39pJCbBhw+Rn3ktP4L8bHh7hbWAbCE= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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. Changes in v2: - Add Krzysztof's acked-by. Thanks! - Revert change on arch/arm/boot/dts/imx6dl-colibri-iris.dts which slipped into this patch set by error. - Re-based on top of Shawn's for-next. 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/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 +- 22 files changed, 1291 insertions(+), 579 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