From mboxrd@z Thu Jan 1 00:00:00 1970 From: Todor Tomov Subject: [PATCH v5 0/2] OV5645 camera sensor driver Date: Fri, 8 Jul 2016 17:54:37 +0300 Message-ID: <1467989679-29774-1-git-send-email-todor.tomov@linaro.org> Return-path: Sender: linux-media-owner@vger.kernel.org To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org, mchehab@osg.samsung.com, hverkuil@xs4all.nl, geert@linux-m68k.org, matrandg@cisco.com, linux-media@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, Todor Tomov List-Id: devicetree@vger.kernel.org This is the fifth version of the OV5645 camera sensor driver patchset. Two one-line changes since version 4: - return current format on set_format; - return all frame sizes when enumerating them. Only one change since version 3: - build failure on kernel v4.7-rc1 fixed: s/media_entity_init/media_entity_pads_init/ Changes from version 2 include: - external camera clock configuration is moved from DT to driver; - pwdn-gpios renamed to enable-gpios; - switched polarity of reset-gpios to the more intuitive active low; - added Kconfig dependency to OF; - return values checks; - regulators and gpios are now required (not optional); - regulators names renamed; - power counter variable changed to a bool power state; - ov5645_registered() is removed and sensor id reading moved to probe(). Changes from version 1 include: - patch split to dt binding doc patch and driver patch; - changes in power on/off logic - s_power is now not called on open/close; - using assigned-clock-rates in dt for setting camera external clock rate; - correct api for gpio handling; - return values checks; - style fixes. Todor Tomov (2): media: i2c/ov5645: add the device tree binding document media: Add a driver for the ov5645 camera sensor. .../devicetree/bindings/media/i2c/ov5645.txt | 50 + drivers/media/i2c/Kconfig | 12 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov5645.c | 1371 ++++++++++++++++++++ 4 files changed, 1434 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov5645.txt create mode 100644 drivers/media/i2c/ov5645.c -- 1.9.1