IMX6ULL RGB LCD Pinmux Linux kernel device tree and PCB layout

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6ULL RGB LCD Pinmux Linux kernel device tree and PCB layout

405 Views
debug
Contributor II

A custom board in development as little space. The LCD is off the shelf. 24 bit. Board uses an SOM with RGB LCD. The pins on the connector and SOM don't match up nicely, it would means lot of vias. For example the colors pins are on each of the other ends and b0-b7 are on the SOM as b7-0, the worst case of matching up. if the pins could be remapped, for example reverse everything by swapping red and blue and their bits b0-b7 the board layout would be much easier. In the kernel, found

pinctrl_lcdif_dat_24bits: lcdifdatgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79
MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x79
MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x79
MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x79
MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x79

Can these be remapped to anything desired. How is this table interpreted ? for example for an 24 bits list, the entries are R0-R7 , G0-G7 and B0-7, This for example DATA23 could be mapped to R0 etc.. as

pinctrl_lcdif_dat_24bits: lcdifdatgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA00__LCDIF_DATA23 0x79
MX6UL_PAD_LCD_DATA01__LCDIF_DATA22 0x79
MX6UL_PAD_LCD_DATA02__LCDIF_DATA21 0x79
MX6UL_PAD_LCD_DATA03__LCDIF_DATA20 0x79
MX6UL_PAD_LCD_DATA04__LCDIF_DATA19 0x79

Labels (1)
Tags (5)
0 Kudos
Reply
0 Replies