mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
arm64: dts: ti: k3-am69-aquila: Add DSI to LVDS adapter with 10.1" display
Add a device tree overlay for the Toradex DSI to LVDS Adapter with the Toradex Capacitive Touch Display 10.1" LVDS. Used on Development Board (J44), where DSI_1 is exposed via a Samtec LSS-130 connector. The adapter is based on the Texas Instruments SN65DSI84 DSI-to-LVDS bridge and drives a LogicTechno LT170410-2WHC 10.1" WXGA LVDS panel. Touch input is provided by an Atmel MaxTouch capacitive touch controller. Link: https://developer.toradex.com/hardware/accessories/add-ons/dsi-lvds-adapter Link: https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds Signed-off-by: Vitor Soares <vitor.soares@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com> Link: https://patch.msgid.link/20260602115123.1324474-11-ivitro@gmail.com Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
parent
9199488ead
commit
c428a42a0c
|
|
@ -197,6 +197,7 @@ 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-aquila-dsi-to-lvds-panel-cap-touch-10inch.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
|
||||
|
|
@ -311,6 +312,9 @@ k3-am68-sk-base-board-csi2-dual-imx219-dtbs := k3-am68-sk-base-board.dtb \
|
|||
k3-j721e-sk-csi2-dual-imx219.dtbo
|
||||
k3-am68-sk-base-board-pcie1-ep-dtbs := k3-am68-sk-base-board.dtb \
|
||||
k3-am68-sk-base-board-pcie1-ep.dtbo
|
||||
k3-am69-aquila-dev-dsi-to-lvds-panel-cap-touch-10inch-dtbs := \
|
||||
k3-am69-aquila-dev.dtb \
|
||||
k3-am69-aquila-dsi-to-lvds-panel-cap-touch-10inch.dtbo
|
||||
k3-am69-sk-csi2-dual-imx219-dtbs := k3-am69-sk.dtb \
|
||||
k3-j721e-sk-csi2-dual-imx219.dtbo
|
||||
k3-am69-sk-pcie0-ep-dtbs := k3-am69-sk.dtb \
|
||||
|
|
@ -394,6 +398,7 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
|
|||
k3-am68-phyboard-izar-peb-av-15.dtb \
|
||||
k3-am68-sk-base-board-csi2-dual-imx219.dtb \
|
||||
k3-am68-sk-base-board-pcie1-ep.dtb \
|
||||
k3-am69-aquila-dev-dsi-to-lvds-panel-cap-touch-10inch.dtb \
|
||||
k3-am69-sk-csi2-dual-imx219.dtb \
|
||||
k3-am69-sk-pcie0-ep.dtb \
|
||||
k3-j7200-evm-pcie1-ep.dtb \
|
||||
|
|
|
|||
|
|
@ -0,0 +1,142 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
/*
|
||||
* Copyright (c) Toradex
|
||||
*
|
||||
* Toradex DSI to LVDS Adapter on Aquila DSI_1 with Capacitive Touch Display 10.1"
|
||||
* Used on Development Board (J44), DSI_1 is exposed via a Samtec LSS-130 connector.
|
||||
*
|
||||
* https://developer.toradex.com/hardware/accessories/displays/capacitive-touch-display-101inch-lvds
|
||||
* https://www.toradex.com/accessories/capacitive-touch-display-10.1-inch-lvds
|
||||
* https://developer.toradex.com/hardware/accessories/add-ons/dsi-lvds-adapter
|
||||
* https://www.toradex.com/accessories/verdin-dsi-to-lvds-adapter
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/pwm/pwm.h>
|
||||
|
||||
&{/} {
|
||||
backlight_pwm3: backlight-pwm3 {
|
||||
compatible = "pwm-backlight";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gpio_19_dsi_1>;
|
||||
brightness-levels = <0 45 63 88 119 158 203 255>;
|
||||
default-brightness-level = <4>;
|
||||
/* Aquila GPIO_19_DSI_1 (AQUILA B44) */
|
||||
enable-gpios = <&main_gpio0 13 GPIO_ACTIVE_HIGH>;
|
||||
/* Aquila PWM_3_DSI (AQUILA B46) */
|
||||
pwms = <&main_ehrpwm5 0 6666667 PWM_POLARITY_INVERTED>;
|
||||
};
|
||||
|
||||
panel-lvds-bridge {
|
||||
compatible = "logictechno,lt170410-2whc";
|
||||
backlight = <&backlight_pwm3>;
|
||||
power-supply = <®_3v3_dsi>;
|
||||
|
||||
port {
|
||||
panel_lvds_bridge_in: endpoint {
|
||||
remote-endpoint = <&dsi_lvds_bridge_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
reg_3v3_dsi: regulator-3v3-dsi {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-name = "+V3.3_DSI";
|
||||
};
|
||||
};
|
||||
|
||||
&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_lvds_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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c_dsi_0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
bridge@2c {
|
||||
compatible = "ti,sn65dsi84";
|
||||
reg = <0x2c>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gpio_20_dsi_1>;
|
||||
/* Aquila GPIO_20_DSI_1 (AQUILA B45) */
|
||||
enable-gpios = <&main_gpio0 18 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
dsi_lvds_bridge_in: endpoint {
|
||||
remote-endpoint = <&dsi0_out>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
|
||||
port@2 {
|
||||
reg = <2>;
|
||||
|
||||
dsi_lvds_bridge_out: endpoint {
|
||||
remote-endpoint = <&panel_lvds_bridge_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
touchscreen@4a {
|
||||
compatible = "atmel,maxtouch";
|
||||
reg = <0x4a>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gpio_17_dsi_1>, <&pinctrl_gpio_18_dsi_1>;
|
||||
/* Aquila GPIO_17_DSI_1 (AQUILA B42) */
|
||||
interrupt-parent = <&main_gpio0>;
|
||||
interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
|
||||
/* Aquila GPIO_18_DSI_1 (AQUILA B43) */
|
||||
reset-gpios = <&main_gpio0 31 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user