From patchwork Wed Jun 15 11:49:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12882224 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 5BFE8C43334 for ; Wed, 15 Jun 2022 11:51:58 +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=aQJ8EZNL01ahZawOejrOVPSvGFR5PNXy4vslCJi8VDE=; b=L3VX7Vi9Di8Rtv uSm+KWuDOm0p6IogPVGKCgCbpuU4grtvNC+kfRusyia91/mNWMaAAbkl4edGLCwLaRMKal/tFg0r+ fO+7R3ajk7iDksUlYhqBepgyMB6jgs58DGjyZhCOZTrZRYufO2Kold0e+1KXYlewX0DJO9QvLLUJC OrJL1dHYlKorn7gdd91eEsBIdmspWaLov8WLb/2FI6zNszlY/6vssWlwqWwlOapqVUnZAWsqDvsgn eRPnhmRY+X74hQEaSb54ltG7FtdqoZh6/1FxwhHa3N03SfaU7UINR10DU3Ul4sB+NUd1Y6EdetPzv 3yijpOJq0L0mdsWhZjdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1RXr-00EGhY-2M; Wed, 15 Jun 2022 11:50:47 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1RXn-00EGfU-DI for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 11:50:44 +0000 Received: by mail-ed1-x52c.google.com with SMTP id c2so15746424edf.5 for ; Wed, 15 Jun 2022 04:50:40 -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=nIRvc0ONAOH4KeBatJrKu9r/BO2Atl4Fv8lTxvlA9V4=; b=XjFqVY5CjGeNsB4WO+15swlrY97cAoa/7Rr9ZXozRJgxzZWMOXI5tZU0Amtmeiu5LF rcGhGa+P/QC3zD9MRnEzwEnx55MOtR0GLLjdZi9Mu179EsRnjvK1Te9aATm5pcJ/HcaD FzPO70IytC5LTDJzuGgtcLSVChuUWGfTwdYdB7d2vqQCnEWc5/PTRSDa8ejx6Lso17GE f7LQZFg5ZhzzLwF47PYp0uMF/DV2PWTZkj5ukqelBNW0q5oZzDLnOefL1Q+tI0hfSCdi Dt9qUcXf07N32MJXfeS0RtZERhwcTTKAQ8eMYBcBEM6lcLkqZSUa5L61XBd8tprD+Rdq APgw== 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=nIRvc0ONAOH4KeBatJrKu9r/BO2Atl4Fv8lTxvlA9V4=; b=tiUPSpNlPJHGfeg2ehqXL368+opiosZ32Tfg1QTKrww3XQU5TVgxj9UHXScXOmQ2ar 8sWBw0tMbV/FZ0MG9bzLagAcvQpqgiToEKbzkQQJ6HYahNNJpaR0tE6zbk5AYmcnZAAJ P12PDsnm84fg7GB3K6E1Kp+UduvZwSYwrU+iQZFAj5p4oFtkLrAcFtzxLtDhijECOqtc wznIHny7hFfGZWU1ajKgL5hkNTO8HQvl6uT3tZjHPHKBlxDC1QU9H4i+hCgUuqjGj6yp Kdi4t+9pXhvvRfaugjs7iMzvrdlpQ9mtPtEI/884VhDSnrYyfkszoOD9m8POMSqgsQhH 5r0Q== X-Gm-Message-State: AOAM530d8orijf5oauu+lNeojRCOS6M9+kscMqCf4ZKF0TEmUd8pDZDz SNLE8t0lVZ8z6MFri7jMlFE= X-Google-Smtp-Source: AGRyM1vmlsVma0i28k6gG0bFleMQyWIMb/6Gu8tm/KbSZmxHGGV+NkhwsaKkn15fwpNDrrj+HLVxdA== X-Received: by 2002:a05:6402:3482:b0:42d:e063:7c1d with SMTP id v2-20020a056402348200b0042de0637c1dmr12500732edc.40.1655293839096; Wed, 15 Jun 2022 04:50:39 -0700 (PDT) Received: from linuxdev2.toradex.int (31-10-206-125.static.upc.ch. [31.10.206.125]) by smtp.gmail.com with ESMTPSA id t6-20020a17090616c600b00715a02874acsm4561158ejd.35.2022.06.15.04.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 04:50:38 -0700 (PDT) From: Max Krummenacher To: max.krummenacher@toradex.com Cc: Alexander Stein , Arnd Bergmann , Denys Drozdov , Fabio Estevam , Fabio Estevam , Krzysztof Kozlowski , Li Yang , Lucas Stach , Marcel Ziswiler , Marek Vasut , Matthias Schiffer , NXP Linux Team , Olof Johansson , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, soc@kernel.org Subject: [PATCH v2 00/18] ARM: dts: imx6q-apalis: Misc improvements and newly added carrier Date: Wed, 15 Jun 2022 13:49:48 +0200 Message-Id: <20220615115006.45672-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-20220615_045043_522716_9EB4BD3D X-CRM114-Status: GOOD ( 16.75 ) 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 From: Max Krummenacher This is a general update of the Apalis iMX6 device tree files. The Toradex Apalis 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 Apalis carrier board device trees and adds a new device trees for the Ixora V1.2 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. - PWM backlight for backlights with inverted logic on its PWM input. Fixes: - STMPE ADC not functional due to wrong node name in dts. Adds: - imx6q-apalis-ixora-v1.2.dtb: used for a Apalis iMX6 mated in an Ixora V1.2 carrier board. - Adds disable support for a OV5640 MIPI-CSI2 Camera and a ADV7280 Video ADC on a parallel video input. Changes in v2: - Moved cleanup for things added in earlier commits of the series to the those commit rather than cleaning up later. - Added reviewed-by tags - Fixed '-' vs. '_' in node name as pointed out by Fabio - Added "adv,force-bt656-4" property as suggested by Fabio. - Added commit "ARM: dts: imx6q-apalis: move gpio-keys to SoM dtsi" and followed that in the commit adding the Ixora V1.2. - Rebased on top of imx/dt, 5.19-rc1 Denys Drozdov (1): ARM: dts: imx6q-apalis: Clean-up sd card support Max Krummenacher (11): dt-bindings: arm: fsl: Add carrier for toradex,apalis-imx6q Revert "ARM: dts: imx6qdl-apalis: Avoid underscore in node name" ARM: dts: imx6q-apalis: Add gpio-line-names ARM: dts: imx6q-apalis: Command pmic to standby for poweroff ARM: dts: imx6q-apalis: Move Atmel MXT touch ctrl to SoM dtsi ARM: dts: imx6q-apalis: move gpio-keys to SoM dtsi ARM: dts: imx6q-apalis: Disable HDMI ARM: dts: imx6q-apalis: Add support for Toradex Ixora V1.2 carrier boards ARM: dts: imx6q-apalis: backlight pwm: Simplify inverted backlight ARM: dts: imx6q-apalis: backlight pwm: Adapt brightness steps ARM: dts: imx6q-apalis: Cleanup Oleksandr Suvorov (6): ARM: dts: imx6q-apalis: Move parallel rgb interface to SoM dtsi ARM: dts: imx6q-apalis: Move pinmux groups to SoM dtsi ARM: dts: imx6q-apalis: Add LVDS panel support ARM: dts: imx6q-apalis: Disable stmpe touchscreen ARM: dts: imx6q-apalis: Add ov5640 mipi csi camera ARM: dts: imx6q-apalis: Add adv7280 video input .../devicetree/bindings/arm/fsl.yaml | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-apalis-eval.dts | 127 +--- arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 263 +------- arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts | 276 ++++++++ arch/arm/boot/dts/imx6q-apalis-ixora.dts | 113 +--- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 638 ++++++++++++++---- 7 files changed, 837 insertions(+), 582 deletions(-) create mode 100644 arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts