Hi Jacopo, On Thu, Jan 04, 2018 at 10:52:31AM +0100, Jacopo Mondi wrote: > Hello, > this series adds mbus configuration properties to ov7670 sensor driver. > > I have sent v1 a few days ago and forgot to cc device tree people. Doing it > now with bindings description and implementation split in 2 separate patches. > > I have fixed Sakari's comment on v1, and I'm sending v2 out with support for > "pll-bypass" custom property as it was in v1. If we decide it is not worth > to make an OF property out of it, I will drop it in v3. Technically it is not > even an mbus configuration option, so I'm fine dropping it eventually. > > Thanks > j > > v1->v2: > - Split bindings description and implementation > - Addressed Sakari's comments on v1 > - Check for return values of register writes in set_fmt() > - TODO: decide if "pll-bypass" should be an OF property. The register lists in the sensor driver likely assume certain external clock frequency, and the pll-bypass bit can be used to avoid dividing this frequency by four. As the driver should be aware of the actual clock frequency as well as the desired clock frequency, it should be possible for the driver to determine whether to divide the external clock frequency by four or not. > > Jacopo Mondi (2): > v4l2: i2c: ov7670: Implement OF mbus configuration > media: dt-bindings: Add OF properties to ov7670 > > .../devicetree/bindings/media/i2c/ov7670.txt | 14 +++ > drivers/media/i2c/ov7670.c | 124 ++++++++++++++++++--- > 2 files changed, 124 insertions(+), 14 deletions(-) > > -- > 2.7.4 > -- Sakari Ailus e-mail: sakari.ailus@xxxxxx