On Sun, Oct 02, 2016 at 12:21:59PM +0300, Priit Laes wrote: > TODO: > 1) Figure out how to specify that LVDS is used instead of RGB.
This could be done through a property in the TCON's endpoint > 2) Should we move the tcon0, fe0 and be0 bits to a10.dtsi? Yes. > > Signed-off-by: Priit Laes <[email protected]> > --- > arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 175 > +++++++++++++++++++++++++++++-- > 1 file changed, 166 insertions(+), 9 deletions(-) > > diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts > b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts > index ac64781..e2c9e49 100644 > --- a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts > +++ b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts > @@ -1,5 +1,5 @@ > /* > - * Copyright 2015 Priit Laes > + * Copyright 2015, 2016 Priit Laes > * > * Priit Laes <[email protected]> > * > @@ -53,6 +53,17 @@ > model = "Gemei G9 Tablet"; > compatible = "gemei,g9", "allwinner,sun4i-a10"; > > + /* > + * TODO: > + * 2x cameras via CSI > + * AXP battery management > + * NAND > + * OTG > + * Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48 > + * Panel backlight (PH7) and PWM (PB2) > + * HDMI output > + */ > + > aliases { > serial0 = &uart0; > }; > @@ -60,16 +71,140 @@ > chosen { > stdout-path = "serial0:115200n8"; > }; > + > + panel: panel { > + /* TODO: Backlight PWM (PB2) */ You have a backlight property for that. > + /* TODO: Specify that output is LVDS */ > + compatible = "lg,lp097x02-slq2"; > + pinctrl-names = "default"; > + pinctrl-0 = <&lcd_backlight_pin>, <&lcd_enable_pin>, > <&lcd_lvds0_pins>; > + enable-gpios = > + <&pio 7 8 GPIO_ACTIVE_HIGH>, /* Power (PH8) */ > + <&pio 7 7 GPIO_ACTIVE_HIGH>; /* Backlight (PH7) */ And this should be in the backlight too. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
