Message ID | 20240210012114.489102-1-sre@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-60219-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1236253dyd; Fri, 9 Feb 2024 17:23:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEyI0AHbW6UNhU3k8g/lg0pamps4PLw1TvVkTgZFrZDyDv4h70sYBW8v698VRtXS6XP3CWj X-Received: by 2002:a17:906:2dd5:b0:a38:107a:94e9 with SMTP id h21-20020a1709062dd500b00a38107a94e9mr2368183eji.2.1707528196454; Fri, 09 Feb 2024 17:23:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707528196; cv=pass; d=google.com; s=arc-20160816; b=NYMUkAlN7nXs0RPbIlVP671kCRwcD4h/jHqEZHi31FRYMGZ9vABqbmskhcrBMIClr1 vcNEyXLISkqVEMbFoYNUOUB/hjWpYSDNPkF1iry5nTeKGaRhzBbrh5xWXZpBCvuNtS9d EO5l2qJVI1dDuapxug9yasWSmqjvXvPBoz/lzEJPa5tVCDhrmJaa/XkGTfcMLa9G+ZhN hDY/rV7SrAi5kKeTTb1jipFjqprP9UaEDp4IsqAg/udpedDnnU4EiVyzH4p/rgLh0RY5 9unTmzgOyE9zVzI9qRYFZqm8XuFcUXiL6HdlsJYUXpglfurPgNrfWqeSJJInfGbWB8bF EWsQ== 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=XwvLc5ehWCCwv8crFT6WzhQZ5sD5aI42AtsbMk1Z+Wc=; b=TDsT5LErP2r7a93xBSu4mZjxnpKhtUOt9yYUk7ipl3esd+nv9MOFbVEZgiag8M++hI QL25xFSZSHsi/lyoPA6sCWIPRE3ytefaWXWFKJXw9sjczyJ+IXMGncxedUqp+NxUz+Nx OJE4GzemTWpzRYqoeURlz+5/udng9Q7IEgmZqTyfaZt/ShRLDzoa1pQwqDw8jNLEdtN6 prK1DbkANQ3sbGR6aIvHEcM29rygz9QayPfTWW2entwRxhKl2sAfZOWs1llZ5aHzKPMr zPZCM3d59vgYqhjH8bjESGXdsHdWiDXLerONtD+gz3E7jGQIgnFuhCq1+O4EhKTxcVL2 PbwA==; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60219-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVwA8YlXLVkEXtrICRsKx7D/8cBTpiT/yNtSav9wUN7TKPW0rvLwKhujLMFNvGqGcOpi3qg4izFhw4taOmou8iVJGNm1w== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o25-20020a17090611d900b00a383ec38d84si1436640eja.3.2024.02.09.17.23.16 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 17:23:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60219-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60219-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 015761F2A2EE for <ouuuleilei@gmail.com>; Sat, 10 Feb 2024 01:22:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 261E91E892; Sat, 10 Feb 2024 01:21:22 +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 <sre@kernel.org> To: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, NXP Linux Team <linux-imx@nxp.com> Cc: Dong Aisheng <aisheng.dong@nxp.com>, Linus Walleij <linus.walleij@linaro.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Mark Brown <broonie@kernel.org>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel <sebastian.reichel@collabora.com> 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790473086034960603 X-GMAIL-MSGID: 1790473086034960603 |
Series |
UNI-T UTi260B support
|
|
Message
Sebastian Reichel
Feb. 10, 2024, 1:18 a.m. UTC
From: Sebastian Reichel <sebastian.reichel@collabora.com>
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