Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1288834rdb; Fri, 9 Feb 2024 17:21:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5yIov8/ZwdkgLsDTEWwsNBmxCvOvuEyXTHklbfyt+3ijqR6Ru7P0SaL6Ax/+6Bn4ubhad X-Received: by 2002:a17:90b:4009:b0:295:ade7:cdf2 with SMTP id ie9-20020a17090b400900b00295ade7cdf2mr701733pjb.13.1707528106273; Fri, 09 Feb 2024 17:21:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707528106; cv=pass; d=google.com; s=arc-20160816; b=HEWyS/1De3Fdm0aSjIckyEt9Q/9e1SNydeLXRio89ylKoIBeXHMduMk5C2TxWprqvL Vwd+PEEyTh6G8HHx8EpQN7Wb0heYGCIdZZNhO2ETe8hq9a0ON1JFfa/NeAUcEWe7zCaz M0LOnSaB2PlQDqapKQzjb28TYtIIfNVby+ICKSnleMWMpRcVs42zoyW8O2Grkn+oAsBu Af7pK4dkupjUa7Vka5a71ov60KFEWeswhhFuhdUxFWAvy/ZLRk2YITD1Rznt3oQaqMcr seGRr2TL4uHagIkcC8j0DUZfbmG0Uj7PUOGQ2uXTSr4I+quriLrLsqW8rqIdTwf2eIIH AnRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ftpMrEy+cqypsw5OUIZf34V1FsfeD7UV9NGJctpnOOE=; fh=1YHlETtUThDToZQxsuATlOSxOdv9fDMYED9gpv4ADmk=; b=fE023VJvwExXbsbqNDXTp2DfEsndToFMI62hkwLbepX9lqqw17XZ4xTCoQoQLJaJqz TWLUFI/f/YFNbfj/vZuHJ5vba3kgOpWc9I56Cusq3jOxcHC6ywfPHVwslfSpO/Krnf4l 40HZ/oNruDUGqcqjS+ZMOBNqWpXDhzxJ2J3+xWCGhvdcr0vLQEsy97rln6US+DF1p39h WfzLA4E7zoqn3zJh3ZLK37rxf3nsrR948BQM+w3eLTDwSlYvgN/+k1N8dXjJhslRd6R7 n0vrN1GYIXHT9PKIl0i+J8fBwy7DBFzaC+2WQCinDMguOet6po4/GtI8rQOMPLyWPWo4 wp7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KVuqAgss; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60219-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60219-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWMX3Wq9/sEL8BVt+REeQwwUG0ZWU3evr40ISuSgN/WsId2VrYHKQ/ImqCz6VXr0zFZH21labD1lYwWjAczNhcmP7OuEKDDBJFCJmM2GQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s65-20020a17090a2f4700b0028c86e12f01si2508099pjd.41.2024.02.09.17.21.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 17:21:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60219-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KVuqAgss; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60219-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60219-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EE80828B000 for ; Sat, 10 Feb 2024 01:21:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 181FD569F; Sat, 10 Feb 2024 01:21:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KVuqAgss" 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.subspace.kernel.org (Postfix) with ESMTPS id 2814C210D; Sat, 10 Feb 2024 01:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707528079; cv=none; b=ksmsN4EgNE3yDrMFXcs34EbRAqOnddOq3Mt7SvDJsYqcStb8QADsMiBOrpv2fKW29NqkSowvmnPb+JEWbz9SF6e7SqdbGB9WqlCqd3f2tEdbEjMznPr5MFPP7RpFkeaRcxCFUcxjeSZu5tDOyeDn5wnhwyvhs/fpWrLy523gRzs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707528079; c=relaxed/simple; bh=dWxu+A0eskxCxCyAgj4qP+QeMpzGHP95MeA7XhDzexc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ubV8squbsguX1BVGJkl9cHfRJfED+PXVF9s9358jDcjl+3eGdL/3gdJuizRGblqCANCY5dk4UBY54YRagqVQ38phssbAsAsKSOgbZ98j786lmvaIHdmcOgsVQ2xAjdQ40wETj8kWL1K5VFocyOSCZkGmIGxeB95NkDSOrPraM3E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KVuqAgss; arc=none smtp.client-ip=10.30.226.201 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 -- 2.43.0