1*55927c98SEugen HristevThe Atmel ISC driver is not compliant with media controller specification.
2*55927c98SEugen HristevIn order to evolve this driver, it has to move to media controller, to
3*55927c98SEugen Hristevsupport enhanced features and future products which embed it.
4*55927c98SEugen HristevThe move to media controller involves several changes which are
5*55927c98SEugen Hristevnot backwards compatible with the current usability of the driver.
6*55927c98SEugen Hristev
7*55927c98SEugen HristevThe best example is the way the format is propagated from the top video
8*55927c98SEugen Hristevdriver /dev/videoX down to the sensor.
9*55927c98SEugen Hristev
10*55927c98SEugen HristevIn a simple configuration sensor ==> isc , the isc just calls subdev s_fmt
11*55927c98SEugen Hristevand controls the sensor directly. This is achieved by having a lot of code
12*55927c98SEugen Hristevinside the driver that will query the subdev at probe time and make a list
13*55927c98SEugen Hristevof formats which are usable.
14*55927c98SEugen HristevBasically the user has nothing to configure, as the isc will handle
15*55927c98SEugen Hristeveverything at the top level. This is an easy way to capture, but also comes
16*55927c98SEugen Hristevwith the drawback of lack of flexibility.
17*55927c98SEugen HristevIn a more complicated pipeline
18*55927c98SEugen Hristevsensor ==> controller 1 ==> controller 2 ==> isc
19*55927c98SEugen Hristevthis will not be achievable, as controller 1 and controller 2 might be
20*55927c98SEugen Hristevmedia-controller configurable, and will not propagate the formats down to
21*55927c98SEugen Hristevthe sensor.
22*55927c98SEugen Hristev
23*55927c98SEugen HristevAfter discussions with the media maintainers, the decision is to move
24*55927c98SEugen HristevAtmel ISC to staging as-is, to keep the Kconfig symbols and the users
25*55927c98SEugen Hristevto the driver in staging. Thus, all the existing users of the non
26*55927c98SEugen Hristevmedia-controller paradigm will continue to be happy and use the old config
27*55927c98SEugen Hristevway.
28*55927c98SEugen Hristev
29*55927c98SEugen HristevThe new driver was added in the media subsystem with a different
30*55927c98SEugen Hristevsymbol, with the conversion to media controller done, and new users
31*55927c98SEugen Hristevof the driver will be able to use all the new features.
32*55927c98SEugen Hristev
33*55927c98SEugen HristevThe replacement driver is named VIDEO_MICROCHIP_ISC or
34*55927c98SEugen HristevVIDEO_MICROCHIP_XISC depending on the product flavor.
35