07.10.2016, 00:06, "Chen-Yu Tsai" <wens at csie.org>: > Sinlinx SinA31s comes with an optional 7" 1024x600 LCD panel with > capacitive touch panel that bolts on to the board. > > Enable the display using a panel with close timings. This patch is more > of a proof of concept. The LCD panel has no markings whatsoever, and > the timings are not exactly the same, and as a result the display produces > glitch lines sometimes.
As you say, you can use the panel of SinA33... > > Signed-off-by: Chen-Yu Tsai <wens at csie.org> > --- > Â arch/arm/boot/dts/sun6i-a31s-sina31s.dts | 30 ++++++++++++++++++++++++++++++ > Â 1 file changed, 30 insertions(+) > > diff --git a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts > b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts > index 6ead2f5c847a..2d5cf8c9a12f 100644 > --- a/arch/arm/boot/dts/sun6i-a31s-sina31s.dts > +++ b/arch/arm/boot/dts/sun6i-a31s-sina31s.dts > @@ -63,6 +63,23 @@ > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â gpios = <&pio 7 13 > GPIO_ACTIVE_HIGH>; /* PH13 */ > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â }; > Â Â Â Â Â Â Â Â Â }; > + > + panel: panel { > + compatible = "avic,tm070ddh03", "simple-panel"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + port at 0 { > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + panel_input: endpoint at 0 { > + reg = <0>; > + remote-endpoint = <&tcon0_out_lcd>; > + }; > + }; > + }; > Â }; > > Â &ehci0 { > @@ -148,6 +165,19 @@ > Â Â Â Â Â Â Â Â Â regulator-name = "vcc-gmac-phy"; > Â }; > > +&tcon0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&lcd0_rgb888_pins>; > + status = "okay"; > +}; > + > +&tcon0_out { > + tcon0_out_lcd: endpoint at 0 { > + reg = <0>; > + remote-endpoint = <&panel_input>; > + }; > +}; > + > Â &usbphy { > Â Â Â Â Â Â Â Â Â status = "okay"; > Â }; > -- > 2.9.3 > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to linux-sunxi+unsubscribe at googlegroups.com. > For more options, visit https://groups.google.com/d/optout.