From patchwork Mon May 16 11:58:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Krummenacher X-Patchwork-Id: 12850678 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 E3A2CC433F5 for ; Mon, 16 May 2022 11:59:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id A821BC385B8; Mon, 16 May 2022 11:59:20 +0000 (UTC) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 B4364C385AA; Mon, 16 May 2022 11:59:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org B4364C385AA 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-ed1-f44.google.com with SMTP id p26so1751157eds.5; Mon, 16 May 2022 04:59:19 -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=hJWpG604hVqKAeqVG3rB3o4ceVANYTYv7tF5CAO/kdk=; b=Jzxsr2hPhy0ETsv25gjnmcL/zG3n2i4OIDZJoG3qAV7Jk4CT/iGiOHE/XP0smSySD0 UWPdqk0WkjN2uxucNgE3f34WeS0vAMRNp9QASXeLMC8Xt7uLrD/qRmVzUHOB/qkeFVKg GBePV/Ald33VVLB2UEzmtJSYkY4Z68oumqdpo2B92fhd0p8X8stdGs/tSFUc0eUQzeaB z0dkH1Xei/mbNEDvbNcUnJvzZpBCjX61mSGYVcy1G5hpdeyq4XDcmmy7XrHaLvJVeBzZ mIGdSX2rhMOmz8ng24XYgbHErzUKH9gxd5IR5t2sKjb7LMlA8ZgTzRZrBr2j0bNm2nMW dg8g== 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=hJWpG604hVqKAeqVG3rB3o4ceVANYTYv7tF5CAO/kdk=; b=vrgUQJ9F9B3BGV7zRP+8Wh5oUmOitUuSkrr0QU2T0mPckAWjx0uMkZ3BB1qKMZmFGT 3kZRK7mJ1pf/ZMnvr0E1o/Uf7fPgbyrqrakZ3s6XAdeb0EJskhwHPyCos1iWjPIPzX9+ OXuV+g96fNyIojU/XBMa7yDts6yhc5BQZ7VSh2YN2A1kZVeft33iuPkqwd4gleF0DvkL QTJD4bj5b7iyc7DlL7R/zYPg1YYrV3PGg55ibhQnthG75r3q4NPFsPzkWxHsFHd+HxFg em/ceWnC4FHjwQlysrjm05B0kDMcyo89BY5sNa/X7qomYNqMO9hg8GWxrJ1UT3UqaOT+ brUA== X-Gm-Message-State: AOAM530IPOwWxbZfDTjEVGXo60OI4KEDntIJjkIS14DotAlZIq3VGWqn Ys7pezi6eHuHnQ+tjudgUJ0= X-Google-Smtp-Source: ABdhPJyVtXrvnTtQsnVTM/zp1S4ocgsMp3U0juyQ8F3KkqeH5e/nRfIKnUXkifIEftjj8iYExvYPmA== X-Received: by 2002:aa7:d454:0:b0:428:8fe8:b8cf with SMTP id q20-20020aa7d454000000b004288fe8b8cfmr12887809edr.328.1652702357802; Mon, 16 May 2022 04:59:17 -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 s18-20020a170906779200b006f3ef214dacsm3711008ejm.18.2022.05.16.04.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 04:59:17 -0700 (PDT) From: Max Krummenacher To: max.krummenacher@toradex.com List-Id: Cc: Alexander Stein , Arnd Bergmann , Christoph Niedermaier , Fabio Estevam , Krzysztof Kozlowski , Li Yang , Lucas Stach , Marcel Ziswiler , Matthias Schiffer , NXP Linux Team , Oleksij Rempel , Olof Johansson , Pengutronix Kernel Team , Rob Herring , 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/17] ARM: dts: imx6q-apalis: Misc improvements and newly added carrier Date: Mon, 16 May 2022 13:58:28 +0200 Message-Id: <20220516115846.58328-1-max.oss.09@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 From: Max Krummenacher Shawn, this patchset reworks a lot of the imx6qdl-apalis. Commit fa51e1dc4b91 ("ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue") which is in imx/fixes also touches the file. To keep the rebasing work minimal I based the series on top of imx/dt, but did additionally cherry-pick commit fa51e1dc4b91. Is this the way to go in such circumstances? 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. Denys Drozdov (1): ARM: dts: imx6q-apalis: Clean-up sd card support Max Krummenacher (10): 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: 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 | 117 +--- arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 263 +------- arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts | 290 ++++++++ arch/arm/boot/dts/imx6q-apalis-ixora.dts | 103 +-- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 623 ++++++++++++++---- 7 files changed, 840 insertions(+), 558 deletions(-) create mode 100644 arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts