summaryrefslogtreecommitdiff
path: root/drivers/media/video/em28xx/em28xx-reg.h
diff options
context:
space:
mode:
authorDevin Heitmueller <devin.heitmueller@gmail.com>2008-11-12 02:05:06 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:32 -0200
commit6a1acc3bc5144e004996029b20e46e6020d128a7 (patch)
treeeb49b54db622afdbcca0a119f07533c0b98727d3 /drivers/media/video/em28xx/em28xx-reg.h
parent600bd7f0edee0f9687c3c77e6fe63c74452acbfa (diff)
downloadlinux-3.10-6a1acc3bc5144e004996029b20e46e6020d128a7.tar.gz
linux-3.10-6a1acc3bc5144e004996029b20e46e6020d128a7.tar.bz2
linux-3.10-6a1acc3bc5144e004996029b20e46e6020d128a7.zip
V4L/DVB (9584): Support different GPIO/GPO registers for newer devices
Empia moved the location of the GPIO/GPO registers in newer devices. Add the ability to specify the relocated registers (including caching of register contents). Thanks for Ray Lu from Empia for providing the em2874 datasheet. Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-reg.h')
-rw-r--r--drivers/media/video/em28xx/em28xx-reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-reg.h b/drivers/media/video/em28xx/em28xx-reg.h
index 0892df17f18..1f0e8a34e8c 100644
--- a/drivers/media/video/em28xx/em28xx-reg.h
+++ b/drivers/media/video/em28xx/em28xx-reg.h
@@ -76,6 +76,9 @@
#define EM28XX_R10_LINE_IN_AC97 0x10
#define EM28XX_R14_VIDEO_AC97 0x14
+/* em2874 registers */
+#define EM2874_R80_GPIO 0x80
+
/* register settings */
#define EM2800_AUDIO_SRC_TUNER 0x0d
#define EM2800_AUDIO_SRC_LINE 0x0c