Passing info from main dev to subdev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The cafe_ccic + ov7670 combination is currently broken in mainstream
on the OLPC XO-1 laptop because of it's move to i2c (2bf7de4), in
order to work on the new XO-1.5 laptop. The smbus IO code was brought
back in 467142093 but this code is never triggered - CONFIG_OLPC_XO_1
doesn't exist.

I would like to do this at runtime, since we should aim to have a
kernel that can run on both XO-1 and XO-1.5.
So, I would like ov7670 to support both methods (i2c and smbus) and
for the parent device (cafe_ccic on XO-1, via-camera on XO-1.5) to
declare which one to use.

So my question: how can I communicate such info from parent to subdev?
Just the value of 1 variable would be enough.

Thanks,
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux