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: 1615813 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=uAseVKSM; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=eEcwqL/0; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KcXg15X0Pz9s09 for ; Tue, 12 Apr 2022 01:23:09 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=S8IwypJRKDa6gP9WNLW+rX/+ivJoC5xhGA1cgzyfZfs=; b=uAseVKSMvxx/51 yyDzbhJVewBvi5B1X1thFhF+8o4Gcz82sPyuaDwKxN9aS849Rg+AzhMo6X7hDtTbvNuWK//QRuoVi 8awdybtKv/wF+2z2o9podNdHsOooeiPumQ/vOMqSVTHTQXCr/jRVf1uoDZzHgA//b7J7FYRO5c+QG dbSt3wXRxtuh0xjcG2f79pLWNVhKat2HyrDll/rjcWaGsqLq6SyOu0R0ReiOb8g8DVaCwUeZVI9TP 4F4LtafK7VaujP7zv3SXM+1wXnZhtu0k17QktDg8Oc11wYO4aLdhuERZaeKfIPjh/h3tuaNbUf6YF F3k9cyo0rkxtDfZNlmQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndvsN-009W0s-PF; Mon, 11 Apr 2022 15:22:47 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndvsL-009Vzw-08 for linux-arm-kernel@lists.infradead.org; Mon, 11 Apr 2022 15:22:46 +0000 Received: by mail-wr1-x42e.google.com with SMTP id c7so23639326wrd.0 for ; 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=JFhU5vB1gi6vOGKVyWs70sSYKu7ZiXSpiF2vaopPV9jjnvl1IZwo8VGBye6aElJRi8 MvyNixqCom0zQlP4DQh3Vu7oaBIDdeQOIfsMIMS7jmnW5zXhJCAgfB69xdwRotBIxqs9 KSlP7SpTCoPfOh58JUwvVKxNvZlAWPLeoH8w+JLzU4TjHAMxAbR5+eXVz4Ul2RWyAFUo jmphmpbj8PifM26LjherpBiFhXWhLeJ4fmR4avlJdhKlumltLQPQctoeilkaPnJm0NIY BmYGI02OTyxSk9KAUTiE1/Zut9dNzJtfifDNMUc7NyUbrDntW1nYWP2Ke7uBZM7++/rB HtxA== X-Gm-Message-State: AOAM531UhUF3INW+W59VbE2+UUhqSyNZuHqRHMRptIYuQ/lHpuAr1FF5 Eg0QG6KALVbFpC/13LFtS7I= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220411_082245_100152_2CDD21E4 X-CRM114-Status: GOOD ( 17.30 ) X-Spam-Score: 0.1 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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, ...). Content analysis details: (0.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:42e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [max.oss.09[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [max.oss.09[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org 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