mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[media] s5p-fimc: Add device tree support for the media device driver
This patch adds changes required for the main camera media device driver corresponding to the top level 'camera' device node. The drivers of devices corresponding to child nodes of the 'camera' node are looked up and and registered as sub-devices to the top level driver. The main driver's probing is deferred if any of the sub-device drivers is not yet initialized and ready. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Andrzej Hajda <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
eb62d9e9d6
commit
e2985a260e
4 changed files with 98 additions and 17 deletions
|
|
@ -94,6 +94,7 @@ enum fimc_subdev_index {
|
|||
IDX_SENSOR,
|
||||
IDX_CSIS,
|
||||
IDX_FLITE,
|
||||
IDX_IS_ISP,
|
||||
IDX_FIMC,
|
||||
IDX_MAX,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue