History log of /drivers/media/video/au0828/au0828-i2c.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a824f0f445ad2c86a40b4bf43acba26dfd0a98a9 09-Nov-2011 Jean Delvare <khali@linux-fr.org> [media] video: Drop undue references to i2c-algo-bit

There's one comment that has been copied from bttv to many other
media/video drivers:

/* init + register i2c algo-bit adapter */

Meanwhile, many drivers use hardware I2C implementations instead of
relying on i2c-algo-bit, so this comment is misleading. Remove the
reference to "algo-bit" from all drivers, to avoid any confusion. This
is the best way to ensure that the comments won't go out of sync
again. Anyone interested in the implementation details would rather
look at the code itself.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
e81516c58ef84663ee05a43760a53a416d529de7 19-Jun-2009 Jean Delvare <khali@linux-fr.org> V4L/DVB (12343): Stop defining I2C adapter IDs nobody uses

There is no point in defining I2C adapter IDs when no code is using
them. As this field might go away in the future, stop using it when
we don't need to.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
16af6f5a7fc2c56c4d8246b850b96324be2fec13 01-Apr-2009 Devin Heitmueller <dheitmueller@linuxtv.org> V4L/DVB (11343): au0828: make i2c clock speed per-board configurable

Setup the i2c clock speed to be definable on a per-board basis. This allows
us to explicitly set the clock speed to 30 KHz on the 950q, and also gets rid
of code which sets it on a basis of what chip the i2c master is talking to
at any given time (which could have caused issues because i2c slaves should
never receive commands at a clock higher than their supported clock speed).

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
9beb0de9adc789a7da22dac811b03ff342b27b63 01-Apr-2009 Devin Heitmueller <dheitmueller@linuxtv.org> V4L/DVB (11342): au0828: better document i2c registers

Change the #define entries for the i2c registers to be more meaningful, and
document the valid values for the registers. Note that this changeset makes
*no* functional changes to the code.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
2689d3dcc6c75c0b4a05b66330db85df2c036d3e 16-Mar-2009 Devin Heitmueller <dheitmueller@linuxtv.org> V4L/DVB (11088): au0828: finish videodev/subdev conversion

Per Hans Verkuil <hverkuil@xs4all.nl> instruction, remove the deprecated
attach_inform/detach_inform routines, and convert over the i2c calls to
subdev calls.

Thanks to Hans Verkuil <hverkuil@xs4all.nl> for providing feedback on the
au0828 analog support.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
62899a28008d635f25c3408b4cc46021f0cb34d3 15-Mar-2009 Devin Heitmueller <dheitmueller@linuxtv.org> V4L/DVB (11085): au0828/au8522: Codingstyle fixes

Take a pass over all of the au0828/au8522 files and cleanup all the codingstyle
issues. This patch does not make *any* functional change to the code.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
b14667f32ad0f85f986847ef65f9f3d12a44b71a 11-Mar-2009 Devin Heitmueller <dheitmueller@linuxtv.org> V4L/DVB (11080): au0828: Convert to use v4l2_device/subdev framework

Convert over to using the new subdev framework for the au0828 bridge. This
includes using the new i2c probing mechanism.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
dc8685b565d6526aca6aaefb80059d115c124821 11-Mar-2009 Devin Heitmueller <dheitmueller@linuxtv.org> V4L/DVB (11074): au0828: fix i2c enumeration bug

There was a bug where enumerating the i2c for devices would result in false
positives. The root of the issue was the scanning was using SMBUS_QUICK
messages, which are zero length write requests (which our i2c adapter
implementation didn't handle). Because we never strobed any bytes onto the
bus, the status register would still contain the value from the previous
request.

Thanks to Michael Krufky <mkrufky@linuxtv.org> and Steven Toth
<stoth@linuxtv.org> for providing sample hardware, engineering level support,
and testing.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
32c000ad93fe8c447342632024ddef1ca516a0e9 11-Mar-2009 Devin Heitmueller <dheitmueller@linuxtv.org> V4L/DVB (11067): au0828: workaround a bug in the au0828 i2c handling

There is an issue related to the i2c clock for addressing the xc5000. The
au0828 chip does not support clock stretching, which the xc5000 makes use of.
This results in cases where we silently get back garbage in i2c read
operations. To work around this issue until we slow down the i2c clock when
talking with that specific device.

This was not an issue before we had analog support because we never needed to
enumerate the i2c bus, and digital tuning never actually needed to perform
read operations against the xc5000.

Thanks to Michael Krufky <mkrufky@linuxtv.org> and Steven Toth
<stoth@linuxtv.org> for providing sample hardware, engineering level support,
and testing.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
6d8976164dd7d10d25fe940b8546265f60ad52cd 03-Sep-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (8805): Steven Toth email address change

I need this so I can better isolate my linux email from my
corporate email.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
/drivers/media/video/au0828/au0828-i2c.c
b33d24c4cc14ee40d83a7e1ea0bfb9567d6059aa 26-Apr-2008 Adrian Bunk <bunk@kernel.org> V4L/DVB (7750): au0828/ cleanups and fixes

This patch contains the following cleanups and fixes:
- "debug" is definitely not a good name for a global variable,
renamed it to "au0828_debug"
this fixes a compile error with some kernel configurations
- since the module parameter is int the variable shouldn't be unsigned
- remove the {usb,bridge,i2c}_debug module parameters since they are
already covered by the "debug" module parameter
- remove the unused au0828_bcount
- make the needlessly global i2c_scan static
- make the needlessly global dvb_register() static

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/au0828/au0828-i2c.c
18d73c58b5ea7425db05b666408f6f682d837b73 19-Apr-2008 Mauro Carvalho Chehab <mchehab@infradead.org> V4L/DVB (7638): CodingStyle fixes for au8522 and au0828

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/au0828/au0828-i2c.c
a9c36aad59a06df199cdbb365d0b05663f8008f1 18-Apr-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7634): au0828: Cleanup

au0828: Cleanup

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/au0828/au0828-i2c.c
f07e8e4bb790f6cb462d5d5425193cad874ac0de 19-Apr-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7627): au0828: replace __FUNCTION__ with __func__

replace __FUNCTION__ with __func__ and clean associated checkpatch.pl
warnings.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/au0828/au0828-i2c.c
bc3c613cef903e73e7365986a1943b0124350018 19-Apr-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7625): au0828: Cleanup

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/au0828/au0828-i2c.c
265a6510629ab39f33ece43a857089dd37978184 19-Apr-2008 Steven Toth <stoth@hauppauge.com> V4L/DVB (7621): Add support for Hauppauge HVR950Q/HVR850/FusioHDTV7-USB

Including support for the AU0828 USB Bridge.
Including support for the AU8522 ATSC/QAM Demodulator.
Including support for the AU8522 ATSC/QAM Demodulator.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
/drivers/media/video/au0828/au0828-i2c.c