From: Jai Luthra <jai.luthra@ideasonboard.com>
To: Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
Tero Kristo <kristo@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Robert Nelson <robertcnelson@gmail.com>,
Andrew Davis <afd@ti.com>, Devarsh Thakkar <devarsht@ti.com>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
Rishikesh Donadkar <r-donadkar@ti.com>,
Yemike Abhilash Chandra <y-abhilashchandra@ti.com>,
linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Jai Luthra <jai.luthra@ideasonboard.com>
Subject: [PATCH v3 2/4] arm64: dts: ti: k3-am67a-beagley-ai: Add DSI0/CSI1 mux
Date: Tue, 02 Jun 2026 18:29:28 +0530 [thread overview]
Message-ID: <20260602-beagley-cameras-v3-2-fe6ae35b7eda@ideasonboard.com> (raw)
In-Reply-To: <20260602-beagley-cameras-v3-0-fe6ae35b7eda@ideasonboard.com>
The DSI0 connector is shared with the CSI1 and selectable via the
TMUX646 switch present on the board. Model it using a gpio-mux so that
camera sensor or DSI panel overlays can override it.
Link: https://docs.beagle.cc/boards/beagley/ai/03-design.html#dsi
Reviewed-by: Rishikesh Donadkar <r-donadkar@ti.com>
Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
---
Changes in v3:
- Add Rishikesh's R-by
- Add Link to BeagleY schematics for the DSI0 connector and mux
- No changes in the patch itself
---
arch/arm64/boot/dts/ti/k3-am67a-beagley-ai.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am67a-beagley-ai.dts b/arch/arm64/boot/dts/ti/k3-am67a-beagley-ai.dts
index 890d3a745375..bb1db8c6a91f 100644
--- a/arch/arm64/boot/dts/ti/k3-am67a-beagley-ai.dts
+++ b/arch/arm64/boot/dts/ti/k3-am67a-beagley-ai.dts
@@ -146,6 +146,19 @@ led-1 {
default-state = "on";
};
};
+
+ dsi_csi_mux: mux-controller {
+ compatible = "gpio-mux";
+ #mux-state-cells = <1>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&dsi_csi_mux_pins_default>;
+
+ mux-gpios = <&main_gpio0 2 GPIO_ACTIVE_HIGH>,
+ <&main_gpio0 1 GPIO_ACTIVE_HIGH>;
+
+ /* state = SEL + 2*OE : 0 = DSI0, 1 = CSI1, 2,3 = off */
+ idle-state = <2>;
+ };
};
&main_pmx0 {
@@ -199,6 +212,13 @@ J722S_IOPAD(0x015c, PIN_INPUT, 0) /* (AD25) MDIO0_MDIO */
>;
};
+ dsi_csi_mux_pins_default: dsi-csi-mux-default-pins {
+ pinctrl-single,pins = <
+ J722S_IOPAD(0x0004, PIN_OUTPUT, 7) /* (L23) OSPI0_LBCLKO.GPIO0_1 */
+ J722S_IOPAD(0x0008, PIN_OUTPUT, 7) /* (L22) OSPI0_DQS.GPIO0_2 */
+ >;
+ };
+
rgmii1_pins_default: rgmii1-default-pins {
pinctrl-single,pins = <
J722S_IOPAD(0x014c, PIN_INPUT, 0) /* (AC25) RGMII1_RD0 */
--
2.54.0
next prev parent reply other threads:[~2026-06-02 13:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 12:59 [PATCH v3 0/4] arm64: dts: ti: BeagleY-AI camera overlays Jai Luthra
2026-06-02 12:59 ` [PATCH v3 1/4] arm64: dts: ti: k3-am67a-beagley-ai: Setup I2C for CSI/DSI connectors Jai Luthra
2026-06-02 12:59 ` Jai Luthra [this message]
2026-06-02 12:59 ` [PATCH v3 3/4] arm64: dts: ti: k3-am67a-beagley-ai: Add overlay for IMX219 on CSI0 Jai Luthra
2026-06-02 12:59 ` [PATCH v3 4/4] arm64: dts: ti: k3-am67a-beagley-ai: Add overlay for IMX219 on CSI1 Jai Luthra
2026-07-28 9:14 ` [PATCH v3 0/4] arm64: dts: ti: BeagleY-AI camera overlays Rishikesh Donadkar
2026-08-04 4:58 ` Vignesh Raghavendra
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=20260602-beagley-cameras-v3-2-fe6ae35b7eda@ideasonboard.com \
--to=jai.luthra@ideasonboard.com \
--cc=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=devarsht@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=r-donadkar@ti.com \
--cc=robertcnelson@gmail.com \
--cc=robh@kernel.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=vigneshr@ti.com \
--cc=y-abhilashchandra@ti.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
all inboxes | Powered by JetHome®