MLK-12144 epdc: fix gpio active level to enable epdc signal
authorRobby Cai <robby.cai@nxp.com>
Thu, 7 Jan 2016 10:19:34 +0000 (18:19 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:41 +0000 (14:49 -0500)
commite83029008f6b0daf4db914c92a873939147d4498
tree599d3925cbde5ecaccef696548b2f927476ef0cd
parent720439e65936ae38cf26c123ae1f66e03993ea61
MLK-12144 epdc: fix gpio active level to enable epdc signal

There's a GPIO pin to enable epdc signals on some platform like i.MX7D SDB.
However, it's changed from active-low to active-high on i.MX7D SDB RevB board.
Enhance the driver to handle the active level automatically,
then only need to adjust gpio as well as active level in dts file if necessary.

Signed-off-by: Robby Cai <robby.cai@nxp.com>
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c