From patchwork Mon Apr 11 15:22:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12809313 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1FF77C433EF for ; Mon, 11 Apr 2022 15:22:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id DED9AC385A9; Mon, 11 Apr 2022 15:22:44 +0000 (UTC) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id E01CBC385A3; Mon, 11 Apr 2022 15:22:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org E01CBC385A3 Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f51.google.com with SMTP id r13so23526955wrr.9; Mon, 11 Apr 2022 08:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bq4dIdtXKyheEXERu/dkokTXmvj3klAE4IhWeKTikkc=; b=eEcwqL/0GMlDAli3FSZbUpl+NygNa18VLEwUBUq9iSth5Lqd/KsZ0V+ClTULeod8M+ Fu3jsyrAA1MGtPFvLBv3NGvuymp4aA22DKFtHEpZDRMsdgOMipPaU5XxnF8FL9nHGHiV Wjnud9/NFYOoUAnI9QrwAc6bUCDm+/fLtHsPYOqwyVEQhtiXQZs5D8NYuFiatPtMqoIV xmaY+1TY1jGEZ932auNCY8lsJ2HEB93AuzbUQEqpyLayPte77b6RRg1uQA9ZGXgLP/0S 88CHK3mgNy+NRl3nxa8KlhGs7rLzfsWGqUn5ExaLh65Eht8dVpeOHGS1leYCktxhUT5B /SHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bq4dIdtXKyheEXERu/dkokTXmvj3klAE4IhWeKTikkc=; b=B13m2vc57bRWmttWrXl+M+icNHpX0xc6L0shTGrQhD0P4UfWqz9obEbY8avBGbJK/q 55B91jgthfUyfSo0hdCiVWUFX9aPHQtMQ4e45MzYGO5rwhMMntGoel7Y0IT0QbuyB3YR RIRFrdMbOc1jEqNNhIXs83Ex31rjVNFtvKFJdPtCEO3ihKF0XXjCjv9JUHwpkXFdhHR4 QyOSro94kKgpmYQbfe2QZByk9rK+i8zDpdj2cdw5wUq5Glxec42VsNY1oFid3bf3WTQO lfKIpEWzDYM9q0aPvvrOqECnmy6saY9Htv2h4gCTgksijCCKaALoEV/y8umlraW7RZVc rvEg== X-Gm-Message-State: AOAM532mPrmXGE0u06gpaFGoOTRtJA5mRtuHjXaVsY6PM0fWnPenkkd7 WgvbcihtX0ENsJV6ZgznBOA= X-Google-Smtp-Source: ABdhPJzHLV5ITxizeFBwNp55Gv/lQjWoN2lKXUbEs96hO2MWAFI78oKQWP4tE+HZdnGCba3gg8YLOw== X-Received: by 2002:adf:e84a:0:b0:207:a697:462c with SMTP id d10-20020adfe84a000000b00207a697462cmr4511198wrn.312.1649690562040; Mon, 11 Apr 2022 08:22:42 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-124.static.upc.ch. [31.10.206.124]) by smtp.gmail.com with ESMTPSA id a9-20020a7bc1c9000000b0038eb67e966esm5209374wmj.29.2022.04.11.08.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 08:22:41 -0700 (PDT) From: Max Krummenacher To: max.krummenacher@toradex.com List-Id: Cc: Alexander Stein , Alistair Francis , Arnd Bergmann , Christoph Niedermaier , Douglas Anderson , Fabio Estevam , Krzysztof Kozlowski , Li Yang , Lucas Stach , Marcel Ziswiler , Matthias Schiffer , NXP Linux Team , Oleksij Rempel , Olof Johansson , Otavio Salvador , Pascal Zimmermann , Pengutronix Kernel Team , Philippe Schenker , Rob Herring , Russell King , Sam Ravnborg , Sascha Hauer , Sebastian Reichel , Shawn Guo , Tim Harvey , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, soc@kernel.org Subject: [PATCH v2 00/14] ARM: dts: imx6dl-colibri: Misc improvements and newly added carriers Date: Mon, 11 Apr 2022 17:22:20 +0200 Message-Id: <20220411152234.12678-1-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 From: Max Krummenacher This is a general update of the Colibri iMX6 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 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. The series improves the existing Colibri Evaluation Board device tree and adds new device trees for the Aster, Iris, and Iris V2 carrier boards. Additionally it drops the dedicated device tree for SoM V1.1 HW used in a Evaluation board. The regular device tree works well in that combination. The higher SD card speed possible with SoM V1.1 would require HW modification on the carrier board. Improvements: - Specifies GPIO line names for use with libgpiod. - Disables optional accessories. They would be enabled in overlays depending on HW configuration. - Lower power consumption after poweroff. - Move more functionality into the SoM dtsi file to reduce code duplication. - General cleanup to adhere to dtbs bindings and missed alphabetically ordering. Fixes: - Copy/paste error in i2c2 pinmuxing resulting in i2c2 being nonfunctional. Adds: - imx6dl-colibri-aster.dtb: used for a Colibri iMX6 mated in an Aster carrier board. - imx6dl-colibri-iris.dtb: used for a Colibri iMX6 mated in an Iris V1.x carrier board. - imx6dl-colibri-iris-v2.dtb: used for a Colibri iMX6 mated in an Iris V2.x carrier board. Drops: - imx6dl-colibri-v1_1-eval-v3.dtb, imx6dl-colibri-eval-v3.dtb is good enough. Changes in v2: - Addressed 'From' address as reported by checkpatch / Shawn's feedback. - Added Rob's Ack to the 'dt-bindings' patches. Max Krummenacher (13): dt-bindings: arm: fsl: imx6dl-colibri: Drop dedicated v1.1 bindings dt-bindings: arm: fsl: Add carriers for toradex,colibri-imx6dl ARM: dts: imx6dl-colibri: Drop dedicated v1.1 device tree ARM: dts: imx6dl-colibri: Fix I2C pinmuxing ARM: dts: imx6dl-colibri: Disable add-on accessories ARM: dts: imx6dl-colibri: Command pmic to standby for poweroff ARM: dts: imx6dl-colibri: Add additional pingroups ARM: dts: imx6dl-colibri: Move common nodes to SoM dtsi ARM: dts: imx6dl-colibri: Cleanup ARM: dts: imx6dl-colibri: Add usdhc1 sleep pin configuration ARM: dts: imx6dl-colibri: Add support for Toradex Iris carrier boards ARM: dts: imx6dl-colibri: Add support for Toradex Aster carrier board ARM: imx_v6_v7_defconfig: Enable the ADC part of the STMPE MFD Oleksandr Suvorov (1): ARM: dts: imx6dl-colibri: Add gpio-line-names .../devicetree/bindings/arm/fsl.yaml | 11 +- arch/arm/boot/dts/Makefile | 4 +- arch/arm/boot/dts/imx6dl-colibri-aster.dts | 113 +++ arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 110 +-- arch/arm/boot/dts/imx6dl-colibri-iris-v2.dts | 46 ++ arch/arm/boot/dts/imx6dl-colibri-iris.dts | 152 ++++ .../boot/dts/imx6dl-colibri-v1_1-eval-v3.dts | 31 - .../boot/dts/imx6qdl-colibri-v1_1-uhs.dtsi | 44 - arch/arm/boot/dts/imx6qdl-colibri.dtsi | 771 ++++++++++++++---- arch/arm/configs/imx_v6_v7_defconfig | 1 + 10 files changed, 919 insertions(+), 364 deletions(-) create mode 100644 arch/arm/boot/dts/imx6dl-colibri-aster.dts create mode 100644 arch/arm/boot/dts/imx6dl-colibri-iris-v2.dts create mode 100644 arch/arm/boot/dts/imx6dl-colibri-iris.dts delete mode 100644 arch/arm/boot/dts/imx6dl-colibri-v1_1-eval-v3.dts delete mode 100644 arch/arm/boot/dts/imx6qdl-colibri-v1_1-uhs.dtsi