From patchwork Mon Mar 14 16:29:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12780375 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 3CF86C433EF for ; Mon, 14 Mar 2022 16:32:03 +0000 (UTC) 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=oA3L9+SRUGUbeFrk63nOtlYx2stwMxKokKazvXB1rDU=; b=3tt8DyK9ZKevJD fEnbxAnfRF5ChhtwlVPVeHeMC+eV8x2B4SvKRaNJccbYFrLA6DiBWosj0wgigZmNmMgzNY1d6oJxA BZifg8mz631t1TzpC6qmrNHo9a8eTLYncrs2ecLqvHv+HXsAaD8CTtFA67DsrmphcKMdnHmn20rL5 qejvIWKOvzj/j8Z2vulvE7/Ni7b46A+Mp+lEUTAqyxG81GIS67437c13+2Ky1pUK05eI5PK84jfdf ysiDJJ0nkfwbTh1NVb2fjbJL7MRLzKIV0KTwsLNlX7hpcBxiXgi1lZVaMuubDDvMO2S269KgSr5Ym UF/+775+qwR2DPIF/7Rw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTnaG-0060z1-TH; Mon, 14 Mar 2022 16:30:13 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTnaC-0060xv-HX for linux-arm-kernel@lists.infradead.org; Mon, 14 Mar 2022 16:30:10 +0000 Received: by mail-wm1-x32c.google.com with SMTP id r4-20020a1c4404000000b0038a12987e21so130654wma.4 for ; Mon, 14 Mar 2022 09:30:06 -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=XvhrMTIMvKzPGRJgmngvFLAfyO2VzTvVeYWKjcIpGxA=; b=e3Sah/Di09yh5ceRUwRXYNtdeD4LgUZUDEv4lgZApVQ9EiAuyz3bem7EmaGfSLDu6p FeToxKOAq+aDXzDUC5tLjoLP/JO6pb9LER4kJ+k/NSjYb0BY2+Z/LKiIqW9L7zS+z8Fm walWjQ0D2fQ7qjarnBog9+z2VbBw/A+iRyhArLY80DIHNaDVPyxugLP4H8Fbssz10geb 029xSVHE5uJoLt8JUyOIYN4Ho5cRbtizTB19zaSNlvzAUoqzb4pObw3CREBgpeOPgxo4 L8DdPofEYV6GG98O3/P/xy0WsFiRN1DzRNMSZBtGDkEWeHzyH9uMGTXdfcOleqmgowqv ShYA== 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=XvhrMTIMvKzPGRJgmngvFLAfyO2VzTvVeYWKjcIpGxA=; b=4Y+YgUHVlU90GXuc2FVfk96Gr4uYBjsuL2dKDM8fKps5bHdEroENg/ne5e+0ztv1ID SCYTai8xbsk2xNoCB4h76/sgCv1nAQkzBgtb8e4DMoQpFtYmCTL3Lf0XTjLAnyyFtTi7 YOYwPjdVrKFqOqjsuIejhn2dIswvfpSmtbqgvAy3TLMKha6ebDyhLt3EycvpqMh1d5gw Y6nnCOew38q43bkRFNsnPyqeeYzcyIMNaoULOGcwztL0fnYBJCFVG+2rNLpu4/9Ew4jS wk1RKLTc9hSrmatE0E748snulwVWDOnogr15BZ8yxVOOipsa+zYHn70wh8v1t1xftOMF gDbg== X-Gm-Message-State: AOAM5304SmKr5/M5bz/880BYOCyuUclv0pGUwIXVep56tnerEsQtvNeu /fqS1ZOdyvZPoAc7GMI/Tdc= X-Google-Smtp-Source: ABdhPJyFNTB3mLdxXVKW9CXVu9oHJ446cfD46sOj4wFh4o9HnBId3wNCqgcQb+12uGlh3N5FH/1Veg== X-Received: by 2002:a05:600c:21c3:b0:389:ee24:caf2 with SMTP id x3-20020a05600c21c300b00389ee24caf2mr45862wmj.20.1647275405179; Mon, 14 Mar 2022 09:30:05 -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 w10-20020a5d680a000000b001f1dabec837sm13476817wru.113.2022.03.14.09.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 09:30:04 -0700 (PDT) From: Max Krummenacher X-Google-Original-From: Max Krummenacher To: max.krummenacher@toradex.com Cc: Alexander Stein , Alistair Francis , Ariel D'Alessandro , Arnd Bergmann , Christoph Niedermaier , Douglas Anderson , Fabio Estevam , Johann Neuhauser , Krzysztof Kozlowski , Li Yang , Lucas Stach , Marcel Ziswiler , Matthias Schiffer , NXP Linux Team , Oleksij Rempel , Olof Johansson , Pascal Zimmermann , Pengutronix Kernel Team , Philippe Schenker , Rob Herring , Russell King , 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 v1 00/14] ARM: dts: imx6dl-colibri: Misc improvements and newly added carriers Date: Mon, 14 Mar 2022 17:29:44 +0100 Message-Id: <20220314162958.40361-1-max.krummenacher@toradex.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-20220314_093008_615748_47C86780 X-CRM114-Status: GOOD ( 16.58 ) 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. 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