From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akinobu Mita Subject: [PATCH v2 0/2] media: ov9650: support device tree probing Date: Mon, 8 Jan 2018 01:54:22 +0900 Message-ID: <1515344064-23156-1-git-send-email-akinobu.mita@gmail.com> Return-path: Sender: linux-media-owner@vger.kernel.org To: linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: Akinobu Mita , Jacopo Mondi , "H . Nikolaus Schaller" , Hugues Fruchet , Sakari Ailus , Mauro Carvalho Chehab , Rob Herring List-Id: devicetree@vger.kernel.org This patchset adds device tree probing for ov9650 driver. This contains an actual driver change and a newly added binding documentation part. * Changelog v2 - Split binding documentation, suggested by Rob Herring and Jacopo Mondi - Improve the wording for compatible property in the binding documentation, suggested by Jacopo Mondi - Improve the description for the device node in the binding documentation, suggested by Sakari Ailus - Remove ov965x_gpio_set() helper and open-code it, suggested by Jacopo Mondi and Sakari Ailus - Call clk_prepare_enable() in s_power callback instead of probe, suggested by Sakari Ailus - Unify clk and gpio configuration in a single if-else block and, also add a check either platform data or fwnode is actually specified, suggested by Jacopo Mondi - Add CONFIG_OF guards, suggested by Jacopo Mondi Akinobu Mita (2): media: ov9650: support device tree probing media: ov9650: add device tree binding .../devicetree/bindings/media/i2c/ov9650.txt | 36 ++++++ drivers/media/i2c/ov9650.c | 130 +++++++++++++++------ 2 files changed, 128 insertions(+), 38 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov9650.txt Cc: Jacopo Mondi Cc: H. Nikolaus Schaller Cc: Hugues Fruchet Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Cc: Rob Herring -- 2.7.4