summaryrefslogtreecommitdiff
path: root/drivers/misc/ad525x_dpot-spi.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-01-07 10:46:49 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-25 10:59:13 -0200
commit09aa2609fe69fd4878e5c0f1319410b46afaab8f (patch)
treebbff00b1feffb1e7d0c6152f283eb7383251cd3d /drivers/misc/ad525x_dpot-spi.c
parent367298c6b9dbcf393527ab23aa2b4314ca01bf28 (diff)
[media] tvp5150: Initialize the chip on probe
After power-up, the tvp5150 decoder is in a unknown state until the RESETB pin is driven LOW which reset all the registers and restarts the chip's internal state machine. The init sequence has some timing constraints and the RESETB signal can only be used if the PDN (Power-down) pin is first released. So, the initialization sequence is as follows: 1- PDN (active-low) is driven HIGH so the chip is power-up 2- A 20 ms delay is needed before sending a RESETB (active-low) signal. 3- The RESETB pulse duration is 500 ns. 4- A 200 us delay is needed for the I2C client to be active after reset. This patch used as a reference the logic in the IGEPv2 board file from the ISEE 2.6.37 vendor tree. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/misc/ad525x_dpot-spi.c')
0 files changed, 0 insertions, 0 deletions