diff options
author | Djamil Elaidi <d-elaidi@ti.com> | 2011-09-13 19:06:46 +0200 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2011-10-21 14:18:08 -0700 |
commit | 66d94c78e595ce8e3dcd5d9aef9690c28b67fd79 (patch) | |
tree | 8e62e448e57df561aea2fd0fa56b956dc60b9718 /drivers/omap_hsi/hsi-if.h | |
parent | f3ff104022b57da9e63f4f13640a2636a6fb214f (diff) | |
download | kernel_samsung_tuna-66d94c78e595ce8e3dcd5d9aef9690c28b67fd79.zip kernel_samsung_tuna-66d94c78e595ce8e3dcd5d9aef9690c28b67fd79.tar.gz kernel_samsung_tuna-66d94c78e595ce8e3dcd5d9aef9690c28b67fd79.tar.bz2 |
OMAP4: HSI: Added MIPI 3-wires mode support
Added support RX 3-wires wake mode
Add APIs + IOCTL to enter 3-wires RX wake mode (wakeup using CA_DATA/CA_FLAG)
Add APIs + IOCTL to enter 4-wires RX wake mode (wakeup using CA_WAKE)
* HSI_SET_WAKE register is changed between 3 and 4 wires
* SYSCONFIG register is modified to take care of HW errata HSI-C1BUG00085
* CAWAKE interrupt is enabled/disabled according to mode
Change-Id: I21792a202b7196801e63a31494f6462dbe510f1e
Signed-off-by: Richard Gong <rgong@ti.com>
Signed-off-by: Djamil Elaidi <d-elaidi@ti.com>
Diffstat (limited to 'drivers/omap_hsi/hsi-if.h')
-rw-r--r-- | drivers/omap_hsi/hsi-if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/omap_hsi/hsi-if.h b/drivers/omap_hsi/hsi-if.h index 96afdd4..fe83aa8a 100644 --- a/drivers/omap_hsi/hsi-if.h +++ b/drivers/omap_hsi/hsi-if.h @@ -52,6 +52,7 @@ void if_hsi_bootstrap(int ch); void if_hsi_set_acwakeline(int ch, unsigned int state); void if_hsi_get_acwakeline(int ch, unsigned int *state); void if_hsi_get_cawakeline(int ch, unsigned int *state); +void if_hsi_set_wake_rx_3wires_mode(int ch, unsigned int state); int if_hsi_set_rx(int ch, struct hsi_rx_config *cfg); void if_hsi_get_rx(int ch, struct hsi_rx_config *cfg); int if_hsi_set_tx(int ch, struct hsi_tx_config *cfg); |