OpenCloudOS-Kernel/drivers/media/i2c
Javier Martinez Canillas 5aa2ccfc37 [media] s5c73m3: Export OF module alias information
The SPI core always reports the MODALIAS uevent as "spi:<modalias>"
regardless of the mechanism that was used to register the device
(i.e: OF or board code) and the table that is used later to match
the driver with the device (i.e: SPI id table or OF match table).

So drivers needs to export the SPI id table and this be built into
the module or udev won't have the necessary information to autoload
the needed driver module when the device is added.

But this means that OF-only drivers needs to have both OF and SPI id
tables that have to be kept in sync and also the dev node compatible
manufacturer prefix is stripped when reporting the MODALIAS. Which can
lead to issues if two vendors use the same SPI device name for example.

To avoid the above, the SPI core behavior may be changed in the future
to not require an SPI device table for OF-only drivers and report the
OF module alias. So, it's better to also export the OF table even when
is unused now to prevent breaking module loading when the core changes.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-10-01 08:32:20 -03:00
..
cx25840 [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
m5mols [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5c73m3 [media] s5c73m3: Export OF module alias information 2015-10-01 08:32:20 -03:00
smiapp [media] smiapp: Use v4l2_of_alloc_parse_endpoint() 2015-04-27 16:05:55 -03:00
soc_camera [media] mt9t112: JPEG -> SRGB 2015-08-11 09:50:22 -03:00
Kconfig [media] tc358743: add missing Kconfig dependency/select 2015-09-03 13:47:07 -03:00
Makefile [media] Driver for Toshiba TC358743 HDMI to CSI-2 bridge 2015-07-17 09:59:28 -03:00
ad9389b.c [media] adv: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861 2015-04-08 06:38:31 -03:00
adp1653.c media: i2c/adp1653: set enable gpio to output 2015-07-06 10:10:22 +02:00
adv7170.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
adv7175.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
adv7180.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
adv7183.c [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
adv7183_regs.h [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
adv7343.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
adv7343_regs.h [media] drivers: media: i2c: adv7343_regs.h: Fix typo in #ifndef 2014-09-21 20:12:13 -03:00
adv7393.c [media] media/i2c/adv7393: Remove compat control ops 2015-07-06 08:25:53 -03:00
adv7393_regs.h
adv7511.c [media] i2c/adv7511: Fix license, set to GPL v2 2015-08-16 13:29:08 -03:00
adv7604.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
adv7842.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
ak881x.c [media] ak881x: simplify standard checks 2015-08-11 09:50:01 -03:00
aptina-pll.c
aptina-pll.h
as3645a.c [media] media: i2c: Convert to devm_kzalloc() 2013-05-21 07:52:15 -03:00
bt819.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
bt856.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
bt866.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
cs53l32a.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
cs5345.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
ir-kbd-i2c.c [media] Export I2C module alias information in missing drivers 2015-08-11 17:51:28 -03:00
ks0127.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
ks0127.h
lm3560.c [media] lm3560: simplify boolean tests 2014-09-03 17:59:24 -03:00
lm3646.c [media] lm3646: add new dual LED Flash driver 2014-03-11 10:00:26 -03:00
m52790.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
ml86v7667.c [media] ml86v7667: implement g_std() method 2015-10-01 08:27:22 -03:00
msp3400-driver.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
msp3400-driver.h
msp3400-kthreads.c
mt9m032.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
mt9p031.c [media] v4l: mt9p031: Convert to the gpiod API 2015-04-02 21:29:56 -03:00
mt9t001.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
mt9v011.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
mt9v032.c [media] mt9v032: fix uninitialized variable warning 2015-08-11 10:27:18 -03:00
noon010pc30.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
ov2659.c [media] ov2659: get rid of unused values 2015-08-16 12:55:50 -03:00
ov7640.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
ov7670.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
ov9650.c [media] ov9650: remove an extra space 2015-08-16 12:55:28 -03:00
s5k4ecgx.c [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5k5baf.c [media] s5k5baf: Convert use of __constant_cpu_to_be16 to cpu_to_be16 2015-06-10 11:43:19 -03:00
s5k6a3.c [media] Export I2C module alias information in missing drivers 2015-08-11 17:51:28 -03:00
s5k6aa.c [media] s5c73m3/s5k5baf/s5k6aa: fix compiler warnings 2015-04-28 09:24:51 -03:00
saa711x_regs.h [media] saa7115: Implement i2c_board_info.platform_data 2013-08-18 08:27:07 -03:00
saa717x.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
saa6588.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
saa6752hs.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
saa7110.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
saa7115.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
saa7127.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
saa7185.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
smiapp-pll.c [media] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h 2014-12-23 11:29:01 -02:00
smiapp-pll.h [media] smiapp-pll: include linux/device.h in smiapp-pll.c, not in smiapp-pll.h 2014-12-23 11:29:01 -02:00
sony-btf-mpx.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
sr030pc30.c [media] sr030pc30: don't read a new pointer 2015-08-16 12:58:31 -03:00
tc358743.c [media] i2c: fix platform_no_drv_owner.cocci warnings 2015-09-03 13:56:14 -03:00
tc358743_regs.h [media] Driver for Toshiba TC358743 HDMI to CSI-2 bridge 2015-07-17 09:59:28 -03:00
tda7432.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tda9840.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tea6415c.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tea6415c.h
tea6420.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tea6420.h
ths7303.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
ths8200.c [media] media: drop call to v4l2_device_unregister_subdev() 2015-03-03 11:21:41 -03:00
ths8200_regs.h [media] media: i2c: ths8200: driver for TI video encoder 2013-06-17 09:52:31 -03:00
tlv320aic23b.c [media] media/i2c/tlv320aic23: Remove compat control ops 2015-07-06 08:25:54 -03:00
tvaudio.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tvp514x.c [media] media/i2c/tvp514x: Remove compat control ops 2015-07-06 08:25:55 -03:00
tvp514x_regs.h
tvp5150.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tvp5150_reg.h
tvp7002.c [media] media/i2c/tvp7002: Remove compat control ops 2015-07-06 08:25:55 -03:00
tvp7002_reg.h
tw2804.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tw9903.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
tw9906.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
uda1342.c [media] media: i2c: Convert to devm_kzalloc() 2013-05-21 07:52:15 -03:00
upd64031a.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
upd64083.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
vp27smpx.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
vpx3220.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
vs6624.c [media] v4l2: replace try_mbus_fmt by set_fmt 2015-05-01 08:48:49 -03:00
vs6624_regs.h
wm8739.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00
wm8775.c [media] i2c: Drop owner assignment from i2c_driver 2015-08-11 13:00:15 -03:00