• Jyri Sarha's avatar
    ARM: dts: am335x-boneblack: Add blue-and-red-wiring -property to LCDC node · a291b6b3
    Jyri Sarha authored
    Add blue-and-red-wiring -property to LCDC node. Also adds comments on
    how to get support 24 bit RGB mode. After this patch am335x-boneblack
    support RGB565, BGR888, and XBGR8888 color formats. See details in
    Documentation/devicetree/bindings/display/tilcdc/tilcdc.txt.
    
    The BBB has straight color wiring from am335x to tda19988, however the
    tda19988 can be configured to cross the blue and red wires. The
    comments show how to do that with video-ports property of tda19988
    node and how to tell LCDC that blue and red wires are crossed, with
    blue-and-red-wiring LCDC node property. This changes supported color
    formats from 16 bit RGB and 24 bit BGR to 16 bit BGR and 24 bit RGB.
    Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
    Reviewed-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    a291b6b3
am335x-boneblack.dts 4.91 KB