rk3568-pinctrl for LCD RGB666/RGB656
Andy Yan
andy.yan at rock-chips.com
Wed Jun 1 18:38:27 PDT 2022
Hi Michael:
On 5/27/22 20:46, Michael Riesch wrote:
> Hello Liang,
>
> According to the RK3568 TRM the Video Output Processor (VOP2) is able to
> emit parallel RGB data to LCDs in 24-bit (888), 18-bit (666) and 16-bit
> (565) format. Based on this I would have expected that
> rk3568-pinctrl.dtsi specifies one group of control pins (clock, hsync,
> vsync, data enable) and three groups of data pins (with 24, 18, 16 pins,
> respectively). Does this sound reasonable?
>
> However, there is only one group with the control pins and the data pins
> D0 - D23. I cannot tell which pins have to be assigned to the different
> groups. They are mapped 1:1 to Rockchip pin names (e.g., D0 is mapped to
> GPIO2_PD0) but it is not clear which function (channel, bit) each pin
> has in this context. Could you please elaborate on the mapping of the D0
> - D23 pins in the different operating modes?
For 18-bit(RGB666),
R0~R5 map to D18~D23
G0~G5 map to D10~D15
B0~B5 map to D2~D7
for 16-bit(RGB565)
R0~R4 map to D17~D23
G0~G5 map to D10~D15
B0~B4 map to D3~D7
> Thanks and regards,
> Michael
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
More information about the Linux-rockchip
mailing list