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: 12850671 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 69C18C433F5 for ; Mon, 16 May 2022 12:00:45 +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=s1hHgqf5gIHFZ4WjfOJnzlYqxiDlvGd+WYOAlv/LKQg=; b=ackj+pv4pTkkZe rBTECHoZGQlkre4s5fnnHVPKE65LaRP9KMYwlDaLqetkQ2o4lyI1DWBBX1q8Ee9ZblRW86VFiLtCB behRSdbHcyRDlwsM24ZOUmK/q5TMxKQ0KjlPvW4uJhRRj678zN0TuwgneM9JOXw0WkR8+b7dMrq4o gnH1NqTDKOiSD264tTL96nrZCsmoJXWyR0yE5HJmZLZt4Nl7iacKzFOOs03eHUkhxHkMdifNCEjwb 1+TDkz5mdBDFSCdDvYzDCm6xyBukEyfcyTY4lzh0QvsO+eEFFPEgXHADw3S+QSyXt4CZU5xSrRuhd FROkcb02uQHu2ci66A/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqZNj-007PYG-22; Mon, 16 May 2022 11:59:23 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqZNg-007PXZ-MV for linux-arm-kernel@lists.infradead.org; Mon, 16 May 2022 11:59:22 +0000 Received: by mail-ed1-x52b.google.com with SMTP id eg11so4119891edb.11 for ; 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=j+wjkeXDQwNmimIAY5AOyifM2fI0whFea1ztjq11ulCy33tmY+Tp20EtWWzU/noRGa mb0Hkvi4o69Wf1yz+Tg7NcQ6FoScNbhUp+1CnM2suT/wI2zjqJ8gEhncUhtgqm2mmqph E+H4pAI5GR7BwISSDw7wvc4qNhgoGhAkEuvpw+BgJlHiIUbbSxa0N9sOZM4upqqL23D4 UG7H5tmyMnNnNyIMHtqI1v4V2e1Jbh6I98AXbjy8mpyv9irdBFH3kpoPMozijffrOE0m nS+Bi64gebq3JNVeJGnjnGzF4ueheNc4mvSNwRuzZ5UTDIIimTXEKs0zhDhTUq5/dqQF pwtg== X-Gm-Message-State: AOAM533hh47VnzljYIZGKuqvIwo7Z385dd4zt9nY0mAFDJmrr7TkdDTq jPTLcLNjJ6atZUhWXcCP9RA= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220516_045920_775868_D5D24EA0 X-CRM114-Status: GOOD ( 17.09 ) 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 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