From: Sebastian LaVine <slavine@d3embedded.com>
To: devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org
Cc: "Nícolas F. R. A. Prado" <nfraprado@collabora.com>,
"Abel Vesa" <abel.vesa@linaro.org>,
"Achath Vaishnav" <vaishnav.a@ti.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Ard Biesheuvel" <ardb@kernel.org>,
"Benjamin Mugnier" <benjamin.mugnier@foss.st.com>,
"Biju Das" <biju.das.jz@bp.renesas.com>,
"Bjorn Andersson" <quic_bjorande@quicinc.com>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Conor Dooley" <conor+dt@kernel.org>,
"Dmitry Baryshkov" <dmitry.baryshkov@linaro.org>,
"Elinor Montmasson" <elinor.montmasson@savoirfairelinux.com>,
"Fabio Estevam" <festevam@gmail.com>,
"Geert Uytterhoeven" <geert+renesas@glider.be>,
"Hans Verkuil" <hverkuil@xs4all.nl>,
"Javier Carrasco" <javier.carrasco@wolfvision.net>,
"Jianzhong Xu" <xuj@ti.com>,
"Julien Massot" <julien.massot@collabora.com>,
"Kieran Bingham" <kieran.bingham@ideasonboard.com>,
"Kory Maincent" <kory.maincent@bootlin.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Mikhail Rudenko" <mike.rudenko@gmail.com>,
"Nishanth Menon" <nm@ti.com>,
"Pengutronix Kernel Team" <kernel@pengutronix.de>,
"Rob Herring" <robh@kernel.org>,
"Sakari Ailus" <sakari.ailus@linux.intel.com>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Sebastian LaVine" <slavine@d3embedded.com>,
"Shawn Guo" <shawnguo@kernel.org>,
"Stuart Burtner" <sburtner@d3embedded.com>,
"Tero Kristo" <kristo@kernel.org>,
"Thakkar Devarsh" <devarsht@ti.com>,
"Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>,
"Umang Jain" <umang.jain@ideasonboard.com>,
"Vignesh Raghavendra" <vigneshr@ti.com>,
"Will Deacon" <will@kernel.org>, "Zhi Mao" <zhi.mao@mediatek.com>
Subject: [PATCH 4/4] arm64: dts: ti: Add overlays for IMX728 RCM
Date: Wed, 12 Feb 2025 14:56:56 -0500 [thread overview]
Message-ID: <20250212195656.69528-5-slavine@d3embedded.com> (raw)
In-Reply-To: <20250212195656.69528-1-slavine@d3embedded.com>
Adds overlays for the D3 IMX728 RCM.
Only a connection on port 0 is currently supported.
Signed-off-by: Sebastian LaVine <slavine@d3embedded.com>
Mentored-by: Stuart Burtner <sburtner@d3embedded.com>
---
MAINTAINERS | 1 +
arch/arm64/boot/dts/ti/Makefile | 3 +
.../dts/ti/k3-fpdlink-imx728-rcm-0-0.dtso | 108 ++++++++++++++++++
3 files changed, 112 insertions(+)
create mode 100644 arch/arm64/boot/dts/ti/k3-fpdlink-imx728-rcm-0-0.dtso
diff --git a/MAINTAINERS b/MAINTAINERS
index bf6a48da0887..f109b5dc8fa5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -21891,6 +21891,7 @@ L: linux-media@vger.kernel.org
S: Odd Fixes
F: Documentation/devicetree/bindings/media/i2c/sony,imx728.yaml
F: arch/arm64/boot/dts/ti/k3-am62a7-sk-fusion-2.dtso
+F: arch/arm64/boot/dts/ti/k3-fpdlink-imx728-rcm-0-0.dtso
F: drivers/media/i2c/imx728.c
SONY MEMORYSTICK SUBSYSTEM
diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
index fcd8d11e5678..6c8bbea246f1 100644
--- a/arch/arm64/boot/dts/ti/Makefile
+++ b/arch/arm64/boot/dts/ti/Makefile
@@ -240,6 +240,9 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
k3-j784s4-evm-quad-port-eth-exp1.dtb \
k3-j784s4-evm-usxgmii-exp1-exp2.dtb
+# FPDLink Sensors
+dtb-$(CONFIG_ARCH_K3) += k3-fpdlink-imx728-rcm-0-0.dtbo
+
# Enable support for device-tree overlays
DTC_FLAGS_k3-am625-beagleplay += -@
DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@
diff --git a/arch/arm64/boot/dts/ti/k3-fpdlink-imx728-rcm-0-0.dtso b/arch/arm64/boot/dts/ti/k3-fpdlink-imx728-rcm-0-0.dtso
new file mode 100644
index 000000000000..97631184ff65
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-fpdlink-imx728-rcm-0-0.dtso
@@ -0,0 +1,108 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * D3 IMX728 FPD-Link 4 Camera Module
+ *
+ * Copyright (c) 2024 Define Design Deploy Corp - https://www.d3embedded.com
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/gpio/gpio.h>
+
+&{/} {
+ clk_imx728_fixed_00: imx728-inck-00 {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <24000000>;
+ };
+};
+
+&ds90ub9702_0_ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* FPDLink RX 0 */
+ port@0 {
+ reg = <0>;
+ ub9702_fpd4_1_in: endpoint {
+ remote-endpoint = <&ub971_1_out>;
+ };
+ };
+};
+
+&ds90ub9702_0_links {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ link@0 {
+ reg = <0>;
+ i2c-alias = <0x44>;
+
+ ti,cdr-mode = <1>;
+ ti,rx-mode = <3>;
+
+ serializer: serializer {
+ compatible = "ti,ds90ub971-q1";
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ #clock-cells = <0>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ ub971_1_in: endpoint {
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&sensor_1_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ ub971_1_out: endpoint {
+ remote-endpoint = <&ub9702_fpd4_1_in>;
+ };
+ };
+ };
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sens_exp: gpio@70 {
+ compatible = "nxp,pca9538";
+ reg = <0x70>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-line-names = "IMG_RESET", "IMG_ERR0",
+ "IMG_ERR1", "IMG_GPI0",
+ "IMG_GPI1", "NC",
+ "NC", "NC";
+ };
+
+ sensor@1a {
+ compatible = "sony,imx728";
+ reg = <0x1a>;
+
+ clocks = <&clk_imx728_fixed_00>;
+ clock-names = "inck";
+
+ reset-gpios = <&sens_exp 0 GPIO_ACTIVE_LOW>;
+ error0-gpios = <&sens_exp 1 GPIO_ACTIVE_HIGH>;
+ error1-gpios = <&sens_exp 2 GPIO_ACTIVE_HIGH>;
+
+ port {
+ sensor_1_out: endpoint {
+ remote-endpoint = <&ub971_1_in>;
+ };
+ };
+ };
+ };
+ };
+ };
+};
--
2.34.1
Please be aware that this email includes email addresses outside of the organization.
next prev parent reply other threads:[~2025-02-12 19:57 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-12 19:56 [PATCH 0/4] media: i2c: Add driver for Sony IMX728 Sebastian LaVine
2025-02-12 19:56 ` [PATCH 1/4] media: dt-bindings: Add " Sebastian LaVine
2025-02-12 20:07 ` Krzysztof Kozlowski
2025-02-26 19:15 ` Sebastian LaVine
2025-02-13 9:26 ` Krzysztof Kozlowski
2025-02-26 17:50 ` Sebastian LaVine
2025-02-26 18:53 ` Sebastian LaVine
2025-02-26 21:38 ` Krzysztof Kozlowski
2025-02-12 19:56 ` [PATCH 2/4] media: i2c: Add driver for " Sebastian LaVine
2025-02-12 20:11 ` Krzysztof Kozlowski
2025-02-26 20:13 ` Sebastian LaVine
2025-02-26 21:40 ` Krzysztof Kozlowski
2025-02-13 10:19 ` Laurent Pinchart
2025-03-10 19:39 ` Sebastian LaVine
2025-03-11 10:18 ` Sakari Ailus
2025-02-13 18:19 ` Krzysztof Kozlowski
2025-03-07 21:21 ` Sebastian LaVine
2025-02-19 17:51 ` Markus Elfring
2025-02-26 21:17 ` Sebastian LaVine
2025-02-12 19:56 ` [PATCH 3/4] arm64: dts: ti: k3-am62a7-sk: Add overlay for fusion 2 board Sebastian LaVine
2025-02-12 20:13 ` Krzysztof Kozlowski
2025-02-26 22:00 ` Sebastian LaVine
2025-02-18 18:45 ` Nishanth Menon
2025-02-26 22:04 ` Sebastian LaVine
2025-02-18 19:07 ` Vaishnav Achath
2025-03-10 18:32 ` Sebastian LaVine
2025-02-19 9:31 ` Tomi Valkeinen
2025-02-26 22:06 ` Sebastian LaVine
2025-02-12 19:56 ` Sebastian LaVine [this message]
2025-02-18 18:46 ` [PATCH 4/4] arm64: dts: ti: Add overlays for IMX728 RCM Nishanth Menon
2025-02-12 20:04 ` [PATCH 0/4] media: i2c: Add driver for Sony IMX728 Krzysztof Kozlowski
2025-02-26 16:50 ` Sebastian LaVine
2025-02-13 10:40 ` Kieran Bingham
2025-02-26 17:05 ` Sebastian LaVine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250212195656.69528-5-slavine@d3embedded.com \
--to=slavine@d3embedded.com \
--cc=abel.vesa@linaro.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=ardb@kernel.org \
--cc=benjamin.mugnier@foss.st.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devarsht@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=elinor.montmasson@savoirfairelinux.com \
--cc=festevam@gmail.com \
--cc=geert+renesas@glider.be \
--cc=hverkuil@xs4all.nl \
--cc=imx@lists.linux.dev \
--cc=javier.carrasco@wolfvision.net \
--cc=julien.massot@collabora.com \
--cc=kernel@pengutronix.de \
--cc=kieran.bingham@ideasonboard.com \
--cc=kory.maincent@bootlin.com \
--cc=kristo@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mike.rudenko@gmail.com \
--cc=nfraprado@collabora.com \
--cc=nm@ti.com \
--cc=quic_bjorande@quicinc.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sakari.ailus@linux.intel.com \
--cc=sburtner@d3embedded.com \
--cc=shawnguo@kernel.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=umang.jain@ideasonboard.com \
--cc=vaishnav.a@ti.com \
--cc=vigneshr@ti.com \
--cc=will@kernel.org \
--cc=xuj@ti.com \
--cc=zhi.mao@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox