mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-29 11:14:56 -04:00
ARM: dts: ls1021a-tqmals1021a: Add overlay for CDTech FC21 RGB display
This adds an overlay for the supported RGB display CDTech FC21. DCU graphics chain is configured accordingly. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
committed by
Shawn Guo
parent
fbfd01d753
commit
43db162d0c
@@ -9,5 +9,7 @@ dtb-$(CONFIG_SOC_LS1021A) += \
|
||||
|
||||
ls1021a-tqmls1021a-mbls1021a-hdmi-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-hdmi.dtbo
|
||||
ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtbo
|
||||
ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtbo
|
||||
dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-hdmi.dtb
|
||||
dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-lvds-tm070jvhg33.dtb
|
||||
dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtb
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
|
||||
/*
|
||||
* Copyright 2013-2014 Freescale Semiconductor, Inc.
|
||||
* Copyright 2018-2025 TQ-Systems GmbH <linux@ew.tq-group.com>,
|
||||
* D-82229 Seefeld, Germany.
|
||||
* Author: Alexander Stein
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
&backlight_dcu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dcu {
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
dcu_out: endpoint {
|
||||
remote-endpoint = <&panel_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&display {
|
||||
compatible = "cdtech,s070pws19hp-fc21";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
polytouch: touchscreen@38 {
|
||||
compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
|
||||
reg = <0x38>;
|
||||
interrupt-parent = <&pca9554_0>;
|
||||
interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
|
||||
/* LCD_PWR_EN -> TSC_WAKE */
|
||||
wake-gpios = <&pca9554_1 4 GPIO_ACTIVE_HIGH>;
|
||||
iovcc-supply = <®_3p3v>;
|
||||
vcc-supply = <®_3p3v>;
|
||||
gain = <20>;
|
||||
touchscreen-size-x = <800>;
|
||||
touchscreen-size-y = <480>;
|
||||
};
|
||||
};
|
||||
|
||||
&panel_in {
|
||||
remote-endpoint = <&dcu_out>;
|
||||
};
|
||||
Reference in New Issue
Block a user