On Fri, Jan 5, 2018 at 11:49 AM, Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote: > The ov9650 driver currently only supports legacy platform data probe. > This change adds device tree probing. > > There has been an attempt to add device tree support for ov9650 driver > by Hugues Fruchet as a part of the patchset that adds support of OV9655 > camera (http://www.spinics.net/lists/linux-media/msg117903.html), but > it wasn't merged into mainline because creating a separate driver for > OV9655 is preferred. > > This is very similar to Hugues's patch, but not supporting new device. > > Cc: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> > Cc: Hugues Fruchet <hugues.fruchet@xxxxxx> > Cc: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> > Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> > Cc: Rob Herring <robh@xxxxxxxxxx> > Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> > --- > .../devicetree/bindings/media/i2c/ov9650.txt | 35 +++++++ Please split bindings and send to the DT list. > drivers/media/i2c/ov9650.c | 107 ++++++++++++++++----- > 2 files changed, 117 insertions(+), 25 deletions(-) > create mode 100644 Documentation/devicetree/bindings/media/i2c/ov9650.txt