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: 12882229 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 DB9D6C43334 for ; Wed, 15 Jun 2022 11:50:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id A019AC3411C; Wed, 15 Jun 2022 11:50:41 +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 DAE96C34115; Wed, 15 Jun 2022 11:50:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org DAE96C34115 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 v19so15754900edd.4; 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=lW35n5raK6zpTnYTW/SeAQj/P4aYAHSxy2ZIVa0bMs8+PokfyN+RTMfGOxo8g9Wwad FTo1A5tAZQ6g9NJLzyTU2MbGrD2maFoe9qha/FeAJCMDOBeg9Ce6gRca7Y6gvV7b4ZTf 26FKI3M0gXPOlMWo00GlIM3PS9cOE1UiipPsY1iYpGXXGyFPZN8OrwLWGpI4vQSeaEM3 gDWNHdDIqNNqO1ajQ/8U5GDMa0wn/Bo/L1vhzInMXn+enqUYhwymN/jnNFHakFyckfuA fsT+xB2baCe0p1p5fCNqZ9ZfTQ48iSwodDJ31QBChy3U4exKa0nsVc99NeTJMhC3PFi2 qJhA== X-Gm-Message-State: AOAM532700fdq+xDxmB67qhnvipg829JKUDUaj5i0H0djrsY31k1pZYf s032Fg11pT4f/pdnEiMdRzk= 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 List-Id: 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 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