[PATCH 0/2] media: i2c: mt9t112: Add OF tree support

From: Jacopo Mondi
Date: Wed Apr 25 2018 - 07:00:34 EST


Hello,

this small series add device tree support for the MT9T112 image
sensor.

As in the device tree bindings I used 'semi-standard' name for the
'powerdown' GPIO, I have changed that for all other users of the mt9t112
driver (SH Ecovec only).

A note on clock: as the mt9t112 driver expects to receive the PPL parameter
configuration from platform data (I know...), new OF users are only supported
with an external clock frequency of 24MHz.

Thanks
j

Jacopo Mondi (2):
dt-bindings: media: i2c: Add mt9t111 image sensor
media: i2c: mt9t112: Add device tree support

Documentation/devicetree/bindings/mt9t112.txt | 41 +++++++++++++
arch/sh/boards/mach-ecovec24/setup.c | 4 +-
drivers/media/i2c/mt9t112.c | 87 +++++++++++++++++++++++----
3 files changed, 118 insertions(+), 14 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mt9t112.txt

--
2.7.4