mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
0e6a73b1e6
omap3-devkit8000-common.dtsi defines a graph connection for DVI, but then omap3-devkit8000-lcd-common.dtsi overrides that with a graph connection for the LCD as the same output signals are used. This leaves an incomplete graph as the TFP410 output has only half a connection. The result is the following warning: arch/arm/boot/dts/omap3-devkit8000-lcd70.dtb: Warning (graph_endpoint): /encoder0/ports/port@0/endpoint: graph connection to node '/ocp@68000000/dss@48050000/port/endpoint' is not bidirectional Fix this by defining multiple endpoints which is the correct way to show a 1 to many connection. Cc: "Benoît Cousson" <bcousson@baylibre.com> Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
77 lines
1.5 KiB
Plaintext
77 lines
1.5 KiB
Plaintext
/*
|
|
* Author: Anthoine Bourgeois <anthoine.bourgois@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include "omap3-devkit8000-common.dtsi"
|
|
/ {
|
|
aliases {
|
|
display0 = &lcd0;
|
|
display1 = &dvi0;
|
|
display2 = &tv0;
|
|
};
|
|
|
|
lcd0: display {
|
|
compatible = "panel-dpi";
|
|
label = "lcd";
|
|
|
|
enable-gpios = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;
|
|
|
|
port {
|
|
lcd_in: endpoint {
|
|
remote-endpoint = <&dpi_lcd_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&dss {
|
|
port {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
dpi_lcd_out: endpoint@1 {
|
|
reg = <1>;
|
|
remote-endpoint = <&lcd_in>;
|
|
data-lines = <24>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&vio {
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
|
|
&mcspi2 {
|
|
|
|
/* touch controller */
|
|
ads7846@0 {
|
|
compatible = "ti,ads7846";
|
|
vcc-supply = <&vio>;
|
|
|
|
reg = <0>; /* CS0 */
|
|
spi-max-frequency = <1500000>;
|
|
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <27 0>; /* gpio_27 */
|
|
pendown-gpio = <&gpio1 27 GPIO_ACTIVE_HIGH>;
|
|
|
|
ti,x-min = /bits/ 16 <0x0>;
|
|
ti,x-max = /bits/ 16 <0x0fff>;
|
|
ti,y-min = /bits/ 16 <0x0>;
|
|
ti,y-max = /bits/ 16 <0x0fff>;
|
|
ti,x-plate-ohms = /bits/ 16 <180>;
|
|
ti,pressure-max = /bits/ 16 <255>;
|
|
ti,debounce-max = /bits/ 16 <10>;
|
|
ti,debounce-tol = /bits/ 16 <5>;
|
|
ti,debounce-rep = /bits/ 16 <1>;
|
|
ti,keep-vref-on = <1>;
|
|
ti,settle-delay-usec = /bits/ 16 <150>;
|
|
|
|
wakeup-source;
|
|
};
|
|
};
|