mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
arm64: dts: ti: k3-am69-aquila: Add Toradex DSI to HDMI Adapter
Add a device tree overlay for the Toradex DSI to HDMI Adapter on the Aquila AM69 DSI_1 interface. Used on Aquila Development Board (J44), where DSI_1 is exposed via a Samtec LSS-130 connector. The adapter is based on the Lontium LT8912B DSI-to-HDMI bridge. Link: https://developer.toradex.com/hardware/accessories/add-ons/dsi-hdmi-adapter Signed-off-by: Vitor Soares <vitor.soares@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Link: https://patch.msgid.link/20260602115123.1324474-10-ivitro@gmail.com Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
parent
fbc32d0ea1
commit
9199488ead
|
|
@ -191,8 +191,12 @@ dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm-csi2-quad-rpi-cam-imx219.dtbo
|
|||
dtb-$(CONFIG_ARCH_K3) += k3-j722s-evm-csi2-quad-tevi-ov5640.dtbo
|
||||
|
||||
# Boards with J784s4 SoC
|
||||
k3-am69-aquila-dev-dsi-to-hdmi-dtbs := k3-am69-aquila-dev.dtb \
|
||||
k3-am69-aquila-dsi-to-hdmi.dtbo
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-clover.dtb
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-dev.dtb
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-dev-dsi-to-hdmi.dtb
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am69-aquila-dsi-to-hdmi.dtbo
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-am69-sk-pcie0-ep.dtbo
|
||||
dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb
|
||||
|
|
|
|||
115
arch/arm64/boot/dts/ti/k3-am69-aquila-dsi-to-hdmi.dtso
Normal file
115
arch/arm64/boot/dts/ti/k3-am69-aquila-dsi-to-hdmi.dtso
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
/*
|
||||
* Copyright (c) Toradex
|
||||
*
|
||||
* Toradex DSI to HDMI Adapter on Aquila AM69 DSI_1.
|
||||
* Used on Development Board (J44), DSI_1 is exposed via a Samtec LSS-130 connector.
|
||||
*
|
||||
* https://developer.toradex.com/hardware/accessories/add-ons/dsi-hdmi-adapter
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
&{/} {
|
||||
hdmi-connector {
|
||||
compatible = "hdmi-connector";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pwm3_dsi_gpio>;
|
||||
ddc-i2c-bus = <&i2c_dsi_1>;
|
||||
/* Aquila PWM_3_DSI (AQUILA B46) */
|
||||
hpd-gpios = <&main_gpio0 33 GPIO_ACTIVE_HIGH>;
|
||||
type = "a";
|
||||
|
||||
port {
|
||||
hdmi_connector_in: endpoint {
|
||||
remote-endpoint = <&dsi_hdmi_bridge_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dphy_tx0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi0_ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
dsi0_out: endpoint {
|
||||
remote-endpoint = <&dsi_hdmi_bridge_in>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
dsi0_in: endpoint {
|
||||
remote-endpoint = <&dpi2_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dss_ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@2 {
|
||||
reg = <2>;
|
||||
|
||||
dpi2_out: endpoint {
|
||||
remote-endpoint = <&dsi0_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Aquila PWM_3_DSI (AQUILA B46) repurposed as HDMI HPD GPIO */
|
||||
&main_ehrpwm5 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&i2c_dsi_0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
hdmi@48 {
|
||||
compatible = "lontium,lt8912b";
|
||||
reg = <0x48>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gpio_20_dsi_1>;
|
||||
/* Aquila GPIO_20_DSI_1 (AQUILA B45) */
|
||||
reset-gpios = <&main_gpio0 18 GPIO_ACTIVE_LOW>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
dsi_hdmi_bridge_in: endpoint {
|
||||
remote-endpoint = <&dsi0_out>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
dsi_hdmi_bridge_out: endpoint {
|
||||
remote-endpoint = <&hdmi_connector_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user