Skip to contentSkip to conversation

Use modaliases to load I2C modules

PATCH In review Laurent Pinchart 2 participants 5 messages Oct 6, 2010 – Nov 5, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use modaliases to load I2C modules

Hi Mauro,

The following changes since commit c8dd732fd119ce6d562d5fa82a10bbe75a376575:

V4L/DVB: gspca - sonixj: Have 0c45:6130 handled by sonixj instead of sn9c102 (2010-10-01 18:14:35 -0300)

are available in the git repository at:
git://linuxtv.org/pinchartl/uvcvideo.git i2c-module-name

The patches have been posted to the list, and acked for pvrusb2, soc-camera and sh_vou.

Laurent Pinchart (16):
v4l: Load I2C modules based on modalias
v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev*
go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
go7007: Fix the TW2804 I2C type name
go7007: Don't use module names to load I2C modules
zoran: Don't use module names to load I2C modules
pvrusb2: Don't use module names to load I2C modules
sh_vou: Don't use module names to load I2C modules
radio-si4713: Don't use module names to load I2C modules
soc_camera: Don't use module names to load I2C modules
vpfe_capture: Don't use module names to load I2C modules
vpif_display: Don't use module names to load I2C modules
vpif_capture: Don't use module names to load I2C modules
ivtv: Don't use module names to load I2C modules
cx18: Don't use module names to load I2C modules
v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

 arch/arm/mach-mx3/mach-pcm037.c               |    2 -
 arch/arm/mach-mx3/mx31moboard-marxbot.c       |    1 -
 arch/arm/mach-mx3/mx31moboard-smartbot.c      |    1 -
 arch/arm/mach-pxa/em-x270.c                   |    1 -
 arch/arm/mach-pxa/ezx.c                       |    2 -
 arch/arm/mach-pxa/mioa701.c                   |    1 -
 arch/arm/mach-pxa/pcm990-baseboard.c          |    2 -
 arch/sh/boards/mach-ap325rxa/setup.c          |    1 -
 arch/sh/boards/mach-ecovec24/setup.c          |    4 --
 arch/sh/boards/mach-kfr2r09/setup.c           |    1 -
 arch/sh/boards/mach-migor/setup.c             |    2 -
 arch/sh/boards/mach-se/7724/setup.c           |    1 -
 drivers/media/radio/radio-si4713.c            |    2 +-
 drivers/media/video/au0828/au0828-cards.c     |    4 +-
 drivers/media/video/bt8xx/bttv-cards.c        |   22 +++++-----
 drivers/media/video/cafe_ccic.c               |    2 +-
 drivers/media/video/cx18/cx18-i2c.c           |   23 ++---------
 drivers/media/video/cx231xx/cx231xx-cards.c   |    4 +-
 drivers/media/video/cx23885/cx23885-cards.c   |    2 +-
 drivers/media/video/cx23885/cx23885-video.c   |    4 +-
 drivers/media/video/cx88/cx88-cards.c         |    9 ++--
 drivers/media/video/cx88/cx88-video.c         |    7 +--
 drivers/media/video/davinci/vpfe_capture.c    |    1 -
 drivers/media/video/davinci/vpif_capture.c    |    1 -
 drivers/media/video/davinci/vpif_display.c    |    2 +-
 drivers/media/video/em28xx/em28xx-cards.c     |   18 ++++----
 drivers/media/video/fsl-viu.c                 |    2 +-
 drivers/media/video/ivtv/ivtv-i2c.c           |   50 +++++--------------------
 drivers/media/video/mxb.c                     |   12 +++---
 drivers/media/video/pvrusb2/pvrusb2-hdw.c     |   13 +-----
 drivers/media/video/saa7134/saa7134-cards.c   |    8 ++--
 drivers/media/video/saa7134/saa7134-core.c    |    4 +-
 drivers/media/video/sh_vou.c                  |    2 +-
 drivers/media/video/soc_camera.c              |    2 +-
 drivers/media/video/usbvision/usbvision-i2c.c |    6 +-
 drivers/media/video/v4l2-common.c             |   13 ++----
 drivers/media/video/vino.c                    |    4 +-
 drivers/media/video/zoran/zoran.h             |    2 -
 drivers/media/video/zoran/zoran_card.c        |   24 +----------
 drivers/staging/go7007/go7007-driver.c        |   43 +--------------------
 drivers/staging/go7007/go7007-usb.c           |    2 +-
 drivers/staging/go7007/wis-ov7640.c           |    1 +
 drivers/staging/go7007/wis-saa7113.c          |    1 +
 drivers/staging/go7007/wis-saa7115.c          |    1 +
 drivers/staging/go7007/wis-sony-tuner.c       |    1 +
 drivers/staging/go7007/wis-tw2804.c           |    1 +
 drivers/staging/go7007/wis-tw9903.c           |    1 +
 drivers/staging/go7007/wis-uda1342.c          |    1 +
 drivers/staging/tm6000/tm6000-cards.c         |    4 +-
 include/media/sh_vou.h                        |    1 -
 include/media/v4l2-common.h                   |   16 +++-----
 51 files changed, 101 insertions(+), 234 deletions(-)
Signature · 3 lines
Regards,

Laurent Pinchart
#1 lore raw

Hi Laurent,

Em 06-10-2010 05:45, Laurent Pinchart escreveu:

Quoted 22 lines

Hi Mauro,

The following changes since commit c8dd732fd119ce6d562d5fa82a10bbe75a376575:

V4L/DVB: gspca - sonixj: Have 0c45:6130 handled by sonixj instead of sn9c102 (2010-10-01 18:14:35 -0300)

are available in the git repository at:
git://linuxtv.org/pinchartl/uvcvideo.git i2c-module-name

The patches have been posted to the list, and acked for pvrusb2, soc-camera and sh_vou.

Laurent Pinchart (16):
v4l: Load I2C modules based on modalias
v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev*
go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
go7007: Fix the TW2804 I2C type name
go7007: Don't use module names to load I2C modules
zoran: Don't use module names to load I2C modules
pvrusb2: Don't use module names to load I2C modules
sh_vou: Don't use module names to load I2C modules

Quoted 8 lines

radio-si4713: Don't use module names to load I2C modules
soc_camera: Don't use module names to load I2C modules
vpfe_capture: Don't use module names to load I2C modules
vpif_display: Don't use module names to load I2C modules
vpif_capture: Don't use module names to load I2C modules
ivtv: Don't use module names to load I2C modules
cx18: Don't use module names to load I2C modules
v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

To avoid the risk of break something, I've applied all patches from your series, but the last one. This way, we shouldn't have any regression, and kABI shouldn't break. So, if someone send a patch late (and there were some new driver additions committed after your patch), it won't break compilation for the new drivers.

Please rebase the last patch and send it to me again at the end of the -rc1 merge window.

Thanks,
Mauro

#2 lore raw

Hi Mauro,

Quoted 2 lines · On Saturday 23 October 2010 02:02:01 Mauro Carvalho Chehab wrote:

Em 06-10-2010 05:45, Laurent Pinchart escreveu:

Quoted 1 line

The following changes since commit

c8dd732fd119ce6d562d5fa82a10bbe75a376575:

Quoted 28 lines
Quoted 19 lines

V4L/DVB: gspca - sonixj: Have 0c45:6130 handled by sonixj instead of sn9c102 (2010-10-01 18:14:35 -0300)

are available in the git repository at:
git://linuxtv.org/pinchartl/uvcvideo.git i2c-module-name

The patches have been posted to the list, and acked for pvrusb2, soc-camera and sh_vou.

Laurent Pinchart (16):
v4l: Load I2C modules based on modalias
v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev*
go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
go7007: Fix the TW2804 I2C type name
go7007: Don't use module names to load I2C modules
zoran: Don't use module names to load I2C modules
pvrusb2: Don't use module names to load I2C modules
sh_vou: Don't use module names to load I2C modules
radio-si4713: Don't use module names to load I2C modules

Quoted 8 lines

soc_camera: Don't use module names to load I2C modules
vpfe_capture: Don't use module names to load I2C modules
vpif_display: Don't use module names to load I2C modules
vpif_capture: Don't use module names to load I2C modules
ivtv: Don't use module names to load I2C modules
cx18: Don't use module names to load I2C modules
v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

Quoted 8 lines

To avoid the risk of break something, I've applied all patches from your series, but the last one. This way, we shouldn't have any regression, and kABI shouldn't break. So, if someone send a patch late (and there were some new driver additions committed after your patch), it won't break compilation for the new drivers.

Please rebase the last patch and send it to me again at the end of the -rc1 merge window.

OK. By end of the -rc1 merge window, do you mean right before it closes or right after it has closed ? If the former, when will that be ?

Signature · 3 lines
Regards,

Laurent Pinchart
#3 lore raw

Em 23-10-2010 09:27, Laurent Pinchart escreveu:

Quoted 40 lines

Hi Mauro,

Quoted 2 lines · On Saturday 23 October 2010 02:02:01 Mauro Carvalho Chehab wrote:

Em 06-10-2010 05:45, Laurent Pinchart escreveu:

Quoted 1 line

The following changes since commit

c8dd732fd119ce6d562d5fa82a10bbe75a376575:

Quoted 34 lines
Quoted 19 lines

V4L/DVB: gspca - sonixj: Have 0c45:6130 handled by sonixj instead of sn9c102 (2010-10-01 18:14:35 -0300)

are available in the git repository at:
git://linuxtv.org/pinchartl/uvcvideo.git i2c-module-name

The patches have been posted to the list, and acked for pvrusb2, soc-camera and sh_vou.

Laurent Pinchart (16):
v4l: Load I2C modules based on modalias
v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev*
go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
go7007: Fix the TW2804 I2C type name
go7007: Don't use module names to load I2C modules
zoran: Don't use module names to load I2C modules
pvrusb2: Don't use module names to load I2C modules
sh_vou: Don't use module names to load I2C modules
radio-si4713: Don't use module names to load I2C modules

Quoted 8 lines

soc_camera: Don't use module names to load I2C modules
vpfe_capture: Don't use module names to load I2C modules
vpif_display: Don't use module names to load I2C modules
vpif_capture: Don't use module names to load I2C modules
ivtv: Don't use module names to load I2C modules
cx18: Don't use module names to load I2C modules
v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

To avoid the risk of break something, I've applied all patches from your series, but the last one. This way, we shouldn't have any regression, and kABI shouldn't break. So, if someone send a patch late (and there were some new driver additions committed after your patch), it won't break compilation for the new drivers.

Quoted 5 lines
Quoted 2 lines

Please rebase the last patch and send it to me again at the end of the -rc1 merge window.

OK. By end of the -rc1 merge window, do you mean right before it closes or right after it has closed ? If the former, when will that be ?

Right after it closes. Linus will likely close it in the end of the next week. However, don't expect much maintainers activity during the first week of november, due to KS/LPC. I'd say that a patch like that should be produced/applied by Nov, 8 - Nov-14.

Thanks,
Mauro

#4 lore raw

Hi Mauro,

Quoted 43 lines · On Saturday 23 October 2010 15:30:18 Mauro Carvalho Chehab wrote:

Em 23-10-2010 09:27, Laurent Pinchart escreveu:

Quoted 42 lines · On Saturday 23 October 2010 02:02:01 Mauro Carvalho Chehab wrote:
Quoted 2 lines

Em 06-10-2010 05:45, Laurent Pinchart escreveu:

Quoted 1 line

The following changes since commit

c8dd732fd119ce6d562d5fa82a10bbe75a376575:

Quoted 36 lines
Quoted 19 lines

V4L/DVB: gspca - sonixj: Have 0c45:6130 handled by sonixj instead of sn9c102 (2010-10-01 18:14:35 -0300)

are available in the git repository at:
git://linuxtv.org/pinchartl/uvcvideo.git i2c-module-name

The patches have been posted to the list, and acked for pvrusb2, soc-camera and sh_vou.

Laurent Pinchart (16):
v4l: Load I2C modules based on modalias
v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev*
go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
go7007: Fix the TW2804 I2C type name
go7007: Don't use module names to load I2C modules
zoran: Don't use module names to load I2C modules
pvrusb2: Don't use module names to load I2C modules
sh_vou: Don't use module names to load I2C modules
radio-si4713: Don't use module names to load I2C modules

Quoted 8 lines

soc_camera: Don't use module names to load I2C modules
vpfe_capture: Don't use module names to load I2C modules
vpif_display: Don't use module names to load I2C modules
vpif_capture: Don't use module names to load I2C modules
ivtv: Don't use module names to load I2C modules
cx18: Don't use module names to load I2C modules
v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

To avoid the risk of break something, I've applied all patches from your series, but the last one. This way, we shouldn't have any regression, and kABI shouldn't break. So, if someone send a patch late (and there were some new driver additions committed after your patch), it won't break compilation for the new drivers.

Please rebase the last patch and send it to me again at the end of the -rc1 merge window.

Quoted 7 lines
Quoted 2 lines

OK. By end of the -rc1 merge window, do you mean right before it closes or right after it has closed ? If the former, when will that be ?

Right after it closes. Linus will likely close it in the end of the next week. However, don't expect much maintainers activity during the first week of november, due to KS/LPC. I'd say that a patch like that should be produced/applied by Nov, 8 - Nov-14.

Now that -rc1 is out, which branch do you want me to generate the patch against ?

Signature · 3 lines
Regards,

Laurent Pinchart