diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2013-03-08 17:01:28 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2013-03-14 09:22:37 +0800 |
commit | 19d4075ff9ad478a17522d16aa0f6484c7e43f5e (patch) | |
tree | 511235d856ab818105289a4d14f81b20d0241504 /lib/string_helpers.c | |
parent | 32b7519a93e2da4d4ec091e2774190ae41ac9503 (diff) |
ENGR00243315-5 ADV7180:Power management adjustment
ADV7180 power down/on can be controlled by a gpio
pin or i2c register setting. The PDBP bit in 0x0f
register chooses the control source, and the PWRDWN
bit in 0x0f register chooses to power down the chip
or power on the chip if control source is i2c.
This patch removes all gpio pin power down/on code
after probe function and uses i2c to do power down/on
operation, as some boards may choose to not connect
ADV7180 power down pin with AP, however, AP's i2c bus
has to be connect with the ADV7180 chip.
Moveover, this patch also adds a 400ms sleep after
the chip is powered on, which is a workaround for
preview scrolling issue(we suspect that the chip
needs some time to in a stable status, so that it
may sends correct data to AP).
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit fc214fa7a0d6cf12cba45b7e269e983d8281e1ad)
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions