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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit0cacc6b6c67dd636324b95d515e93e89af9a801f
tree14204ba0e91571096a0c77e085cc42b50ba2b950
parent4ba9b7ab255c34e5a10578576e1699fa00d75f10
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>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c