diff options
author | Jonathan Corbet <corbet@lwn.net> | 2007-05-22 05:37:58 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-22 21:16:27 +0200 |
commit | 7acf90c70c6ee063f7465b2f10e2083bc49f355b (patch) | |
tree | 6b00a98e964864b400ec03dc52598cb5aa0c1ea7 /drivers/media/video/cafe_ccic-regs.h | |
parent | V4L/DVB (5680): Tuner-simple.c fix suport for SECAM with FI1216MF (diff) | |
download | linux-7acf90c70c6ee063f7465b2f10e2083bc49f355b.tar.xz linux-7acf90c70c6ee063f7465b2f10e2083bc49f355b.zip |
V4L/DVB (5690): Cafe_ccic: Properly power down the sensor
The proper method for powering down the sensor on OLPC systems has
changed somewhat; in particular, the sensor must be powered down
completely (rather than simply told to power down) or the associated
"camera active" LED will stay on.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cafe_ccic-regs.h')
-rw-r--r-- | drivers/media/video/cafe_ccic-regs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/cafe_ccic-regs.h b/drivers/media/video/cafe_ccic-regs.h index b2c22a0d6643..8e2a87cdc791 100644 --- a/drivers/media/video/cafe_ccic-regs.h +++ b/drivers/media/video/cafe_ccic-regs.h @@ -150,6 +150,12 @@ #define REG_GL_IMASK 0x300c /* Interrupt mask register */ #define GIMSK_CCIC_EN 0x00000004 /* CCIC Interrupt enable */ +#define REG_GL_FCR 0x3038 /* GPIO functional control register */ +#define GFCR_GPIO_ON 0x08 /* Camera GPIO enabled */ +#define REG_GL_GPIOR 0x315c /* GPIO register */ +#define GGPIO_OUT 0x80000 /* GPIO output */ +#define GGPIO_VAL 0x00008 /* Output pin value */ + #define REG_LEN REG_GL_IMASK + 4 |