From patchwork Sat Feb 10 01:18:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13552028 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 159BCC4829D for ; Sat, 10 Feb 2024 01:21:44 +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=tKLH54xTI7gBIT2JKn0J+xzIwwQIxwA6OPoZB1Cp5Qk=; b=QmuxoXP1Sg2ZyY o+3woAYhirRcQpkT5Pk6kMw1cygUZaYLmFgi/GwAMs3OYPUVZ3I7I9Ab43rvxT2MbXaVntjp2GqU5 ky7DvSgs/iwNZQVD0ClH4dcTA/FwWhAqElCl/JLlwA487kyfGvShcC7mArBCud4I6VfjJ0AUl4i5R B8EeFs8dLECkFtp3g/7pNVtmXDYm1KzGNFc6MVHOdqh4g224yJkXpzD0TkVHCzmS1PzNVJJGYDsfE MfTbp3gQrxRFZ5rJ5m23Ydxpzawae97GKf+7yMu61qF5kgLyt1eUnutN6VXlEZtSftyPeuii6GzLd rwLDwIj61socnTTlmLmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYc3d-000000010SU-2TgZ; Sat, 10 Feb 2024 01:21:29 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYc3U-000000010M9-3bZ7 for linux-arm-kernel@lists.infradead.org; Sat, 10 Feb 2024 01:21:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 053E062261; Sat, 10 Feb 2024 01:21:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E554C433B1; Sat, 10 Feb 2024 01:21:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707528078; bh=dWxu+A0eskxCxCyAgj4qP+QeMpzGHP95MeA7XhDzexc=; h=From:To:Cc:Subject:Date:From; b=KVuqAgssv1L9slpliqUn+iqTKKjUAGY1dC6CaT53dMvhw69xqA/0twJaEmQfYnF1v iFiSabfXsv7xi8SuXugRfHdfPNsYc5paMJuXQ3L2WxKjJyRUb8217dN2SP9ENGaDPG g5t3aiUeSiypQaxDtEMA3H94Sb2mt0hAZP/W3NnSrMrmP6KcIlXGPCtb1Wg/5gVVBZ OuI/imin8KFEu5YBjyOQ/iJ74Mq/d0CYE+azGCHlyfc1M91vb8ybHz3XYG2bQ7RDsh N53Od5PKR4u2kXComHMdjyujI5p+2RzyJUFWUvtcqoRmFKQUB2qPGO0qLLSJ8W28zR dgJkVN5BGon/Q== Received: by mercury (Postfix, from userid 1000) id D288210608D6; Sat, 10 Feb 2024 02:21:15 +0100 (CET) From: Sebastian Reichel To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Pengutronix Kernel Team , NXP Linux Team Cc: Dong Aisheng , Linus Walleij , Dmitry Torokhov , Mark Brown , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel Subject: [PATCH v1 00/14] UNI-T UTi260B support Date: Sat, 10 Feb 2024 02:18:04 +0100 Message-ID: <20240210012114.489102-1-sre@kernel.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240209_172121_029027_D6C5CFCE X-CRM114-Status: GOOD ( 17.88 ) 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: Sebastian Reichel Hi, This adds adds support for the UNI-T UTi260B thermal camera, which is based on i.MX6ULL. Patches 1-11 clean up all warnings reported by CHECK_DTBS for i.MX6ULL (i.e. for an empty board). They are not specific to the UTi260B and in fact that machine has most of the IP handled by these patches marked as disabled. Then patches 12+13 introduce the vendor and board compatible DT bindings. Finally the last patches adds support for the thermal camera itself. The DT is based on reverse engineered information. More information about the device can be found in this presentation from Embedded Recipes 2023: * https://embedded-recipes.org/2023/wp-content/uploads/2023/10/Running-FOSS-on-a-Thermal-Camera-Sebastian-Reichel-compressed.pdf * https://www.youtube.com/watch?v=uvObsCG-Cqo I also prepared a branch with these patches (and a minimal kernel config) and published it here: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-misc.git/log/?h=uti260b Greetings, -- Sebastian Sebastian Reichel (14): dt-bindings: pinctrl: fsl,imx6ul-pinctrl: convert to YAML dt-bindings: bus: imx-weim: convert to YAML dt-bindings: sound: fsl,imx-asrc: convert to YAML dt-bindings: input: touchscreen: fsl,imx6ul-tsc convert to YAML dt-bindings: soc: imx: fsl,imx-anatop: add binding dt-bindings: soc: imx: fsl,imx-iomuxc-gpr: add imx6 dt-bindings: lcdif: Do not require power-domains for i.MX6ULL dt-bindings: fsl-imx-sdma: fix HDMI audio index ARM: dts: imx6ull: fix pinctrl node name ARM: dts: imx6ul: Remove fsl,anatop from usbotg1 ARM: dts: imx6ul: add missing #thermal-sensor-cells dt-bindings: vendor-prefixes: add UNI-T dt-bindings: arm: add UNI-T UTi260b ARM: dts: imx6ull-uti260b: Add board .../devicetree/bindings/arm/fsl.yaml | 1 + .../devicetree/bindings/bus/fsl,imx-weim.yaml | 225 +++++++ .../devicetree/bindings/bus/imx-weim.txt | 117 ---- .../bindings/display/fsl,lcdif.yaml | 8 +- .../devicetree/bindings/dma/fsl,imx-sdma.yaml | 3 +- .../input/touchscreen/fsl,imx6ul-tsc.yaml | 92 +++ .../bindings/input/touchscreen/imx6ul_tsc.txt | 38 -- .../bindings/pinctrl/fsl,imx6ul-pinctrl.txt | 37 -- .../bindings/pinctrl/fsl,imx6ul-pinctrl.yaml | 116 ++++ .../bindings/soc/imx/fsl,imx-anatop.yaml | 125 ++++ .../bindings/soc/imx/fsl,imx-iomuxc-gpr.yaml | 18 + .../devicetree/bindings/sound/fsl,asrc.txt | 80 --- .../bindings/sound/fsl,imx-asrc.yaml | 159 +++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/nxp/imx/Makefile | 1 + arch/arm/boot/dts/nxp/imx/imx6ul.dtsi | 2 +- arch/arm/boot/dts/nxp/imx/imx6ull-uti260b.dts | 564 ++++++++++++++++++ arch/arm/boot/dts/nxp/imx/imx6ull.dtsi | 2 +- 18 files changed, 1314 insertions(+), 276 deletions(-) create mode 100644 Documentation/devicetree/bindings/bus/fsl,imx-weim.yaml delete mode 100644 Documentation/devicetree/bindings/bus/imx-weim.txt create mode 100644 Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt delete mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx6ul-pinctrl.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx6ul-pinctrl.yaml create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx-anatop.yaml delete mode 100644 Documentation/devicetree/bindings/sound/fsl,asrc.txt create mode 100644 Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml create mode 100644 arch/arm/boot/dts/nxp/imx/imx6ull-uti260b.dts