summaryrefslogtreecommitdiff
path: root/v4l2-apps
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-20 02:42:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-20 02:42:34 -0300
commit9f85fbc44d99a2327bf2fb9be850bb9844c8c8c7 (patch)
tree0324b3b860c87deb12ebf9db240678d402302f01 /v4l2-apps
parentd1f8343e844fdb906b58a31d33e5d69c8e7853ad (diff)
parent94a0e644a33260b89beb679752d5da322e1474c4 (diff)
downloadmediapointer-dvb-s2-9f85fbc44d99a2327bf2fb9be850bb9844c8c8c7.tar.gz
mediapointer-dvb-s2-9f85fbc44d99a2327bf2fb9be850bb9844c8c8c7.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-cafe
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l2-apps')
-rw-r--r--v4l2-apps/util/v4l2-dbg.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/v4l2-apps/util/v4l2-dbg.cpp b/v4l2-apps/util/v4l2-dbg.cpp
index f427d4442..424b0fffe 100644
--- a/v4l2-apps/util/v4l2-dbg.cpp
+++ b/v4l2-apps/util/v4l2-dbg.cpp
@@ -713,6 +713,9 @@ int main(int argc, char **argv)
case V4L2_IDENT_CX23418:
name = "cx23418";
break;
+ case V4L2_IDENT_CAFE:
+ name = "cafe";
+ break;
default:
if (get_reg.match.type == V4L2_CHIP_MATCH_I2C_DRIVER)
name = get_reg.match.name;
@@ -726,6 +729,8 @@ int main(int argc, char **argv)
print_regs(fd, &get_reg, 0, 0xff, stride);
} else if (name == "saa7127") {
print_regs(fd, &get_reg, 0, 0x7f, stride);
+ } else if (name == "ov7670") {
+ print_regs(fd, &get_reg, 0, 0x89, stride);
} else if (name == "cx25840") {
print_regs(fd, &get_reg, 0, 2, stride);
print_regs(fd, &get_reg, 0x100, 0x15f, stride);
@@ -738,6 +743,11 @@ int main(int argc, char **argv)
print_regs(fd, &get_reg, 0x02000000, 0x020000ff, stride);
} else if (name == "cx23418") {
print_regs(fd, &get_reg, 0x02c40000, 0x02c409c7, stride);
+ } else if (name == "cafe") {
+ print_regs(fd, &get_reg, 0, 0x43, stride);
+ print_regs(fd, &get_reg, 0x88, 0x8f, stride);
+ print_regs(fd, &get_reg, 0xb4, 0xbb, stride);
+ print_regs(fd, &get_reg, 0x3000, 0x300c, stride);
} else {
/* unknown chip, dump 0-0xff by default */
print_regs(fd, &get_reg, 0, 0xff, stride);