just restricting a bit the scope.
the HDMI DRM setup alone work for me too!
but i fail to make a proper DTS for a panel setup alone on my A20 table.
BTW there are few sunXi DRM/panel setup [*] and i'm borrowing the pretty
simple *sun5i-a13-q8-tablet.dts:*
/ {
model = "Q8 A13 Tablet";
compatible = "allwinner,q8-a13", "allwinner,sun5i-a13";
panel: panel {
compatible = "urt,umsh-8596md-t", "simple-panel";
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
/* TODO: lcd panel uses axp gpio0 as enable pin */
backlight = <&backlight>;
#address-cells = <1>;
#size-cells = <0>;
panel_input: endpoint@0 {
reg = <0>;
remote-endpoint = <&tcon0_out_lcd>;
};
};
};
};
&be0 {
status = "okay";
};
&tcon0 {
pinctrl-names = "default";
pinctrl-0 = <&lcd_rgb666_pins>;
status = "okay";
};
&tcon0_out {
tcon0_out_lcd: endpoint@0 {
reg = <0>;
remote-endpoint = <&panel_input>;
};
};
Of course with the due change for my A20 pins and so on.. the DRM kernel
spit out these msg:
...
[ 0.698731] [drm:sun4i_drv_probe] Adding component
/soc@1c00000/lcd-controller@1c0d000
[ 0.698767] [drm:sun4i_drv_probe] Adding component
/soc@1c00000/lcd-controller@1c0d000
[ 0.698799] [drm:sun4i_drv_probe] Adding component
/soc@1c00000/lcd-controller@1c0d000
[ 0.698831] [drm:sun4i_drv_probe] Adding component
/soc@1c00000/lcd-controller@1c0c000
[ 0.698858] [drm:sun4i_drv_probe] Endpoint is our panel... skipping
[ 0.698877] [drm:sun4i_drv_probe] Adding component
/soc@1c00000/lcd-controller@1c0d000
[ 0.698909] [drm:sun4i_drv_probe] Adding component
/soc@1c00000/lcd-controller@1c0d000
[ 0.698941] [drm:sun4i_drv_probe] Adding component
/soc@1c00000/lcd-controller@1c0d000
[ 0.699440] initcall sun4i_drv_platform_driver_init+0x0/0x28 returned 0
after 1212 usecs
[ 0.699452] calling sun4i_tcon_platform_driver_init+0x0/0x28 @ 1
[ 0.700309] [drm:compare_of] Comparing of node
/soc@1c00000/lcd-controller@1c0d000 with
/soc@1c00000/display-backend@1e60000
[ 0.700648] initcall sun4i_tcon_platform_driver_init+0x0/0x28 returned 0
after 1152 usecs
[ 0.700659] calling sun4i_tv_platform_driver_init+0x0/0x28 @ 1
[ 0.700803] initcall sun4i_tv_platform_driver_init+0x0/0x28 returned 0
after 126 usecs
[ 0.700812] calling sun6i_drc_platform_driver_init+0x0/0x28 @ 1
[ 0.701010] initcall sun6i_drc_platform_driver_init+0x0/0x28 returned 0
after 180 usecs
[ 0.701021] calling sun4i_backend_platform_driver_init+0x0/0x28 @ 1
[ 0.701269] [drm:compare_of] Comparing of node
/soc@1c00000/lcd-controller@1c0d000 with
/soc@1c00000/display-backend@1e60000
[ 0.701280] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e40000 with
/soc@1c00000/display-backend@1e60000
[ 0.701358] [drm:compare_of] Comparing of node
/soc@1c00000/lcd-controller@1c0d000 with
/soc@1c00000/display-backend@1e60000
[ 0.701369] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e40000 with
/soc@1c00000/display-backend@1e60000
[ 0.701380] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e60000 with
/soc@1c00000/display-backend@1e60000
[ 0.701390] [drm:compare_of] Comparing of node
/soc@1c00000/lcd-controller@1c0d000 with
/soc@1c00000/display-backend@1e40000
[ 0.701401] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e40000 with
/soc@1c00000/display-backend@1e40000
[ 0.701411] [drm:compare_of] Comparing of node
/soc@1c00000/lcd-controller@1c0d000 with
/soc@1c00000/display-backend@1e60000
[ 0.701422] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e40000 with
/soc@1c00000/display-backend@1e60000
[ 0.701432] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e60000 with
/soc@1c00000/display-backend@1e60000
[ 0.701443] [drm:compare_of] Comparing of node
/soc@1c00000/lcd-controller@1c0d000 with
/soc@1c00000/display-backend@1e40000
[ 0.701453] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e40000 with
/soc@1c00000/display-backend@1e40000
[ 0.701463] [drm:compare_of] Comparing of node
/soc@1c00000/lcd-controller@1c0d000 with /soc@1c00000/lcd-controller@1c0c000
[ 0.701473] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e40000 with
/soc@1c00000/lcd-controller@1c0c000
[ 0.701483] [drm:compare_of] Comparing of node
/soc@1c00000/display-backend@1e60000 with
/soc@1c00000/lcd-controller@1c0c000
[ 0.701586] initcall sun4i_backend_platform_driver_init+0x0/0x28
returned 0 after 539 usecs
[ 0.701596] calling sun4i_hdmi_driver_init+0x0/0x28 @ 1
[ 0.701802] initcall sun4i_hdmi_driver_init+0x0/0x28 returned 0 after
188 usecs
[ 0.701812] calling sun8i_mixer_platform_driver_init+0x0/0x28 @ 1
[ 0.701951] initcall sun8i_mixer_platform_driver_init+0x0/0x28 returned
0 after 122 usecs
[ 0.701960] calling dumb_vga_driver_init+0x0/0x28 @ 1
[ 0.702119] initcall dumb_vga_driver_init+0x0/0x28 returned 0 after 142
usecs
[ 0.702131] calling topology_sysfs_init+0x0/0x50 @ 1
[ 0.702195] initcall topology_sysfs_init+0x0/0x50 returned 0 after 51
usecs
...
then no DRI card!
Doesn anyone have a working panel/tcon/DRM DTS excerpt proven working, to
lend me? :-)
bye
andrea
[*] here the return from a grep about panel:
$ grep panel arch/arm/boot/dts/sun*dts
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts: panel: panel {
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts: compatible =
"urt,umsh-8596md-t", "simple-panel";
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts: /* TODO:
lcd panel uses axp gpio0 as enable pin */
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts:
panel_input: endpoint@0 {
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts: remote-endpoint =
<&panel_input>;
arch/arm/boot/dts/sun5i-a13-utoo-p66.dts: /* The lcd panel
i2c interface is hooked up via gpios */
arch/arm/boot/dts/sun6i-a31-colombus.dts: /* The lcd panel
i2c interface is hooked up via gpios */
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts: panel {
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts:
panel_input: endpoint@0 {
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts:
remote-endpoint = <&tcon0_out_panel>;
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts: tcon0_out_panel: endpoint@0
{
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts: remote-endpoint =
<&panel_input>;
Il giorno mercoledì 20 dicembre 2017 13:01:14 UTC+1, Andrea Venturi ha
scritto:
>
> hello,
>
> i've just checked sunxi-next git kernel tree and i didn't found any DTS
> for sun7i A20 tablets with LCD+HDMI support.. does anyone knows if there
> are samples on other trees?
>
> bye
>
> andrea
>
>
--
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.