Re: [PATCH v4] media: i2c: tvp7002: add OF support

From: Prabhakar Lad
Date: Fri Jul 26 2013 - 10:24:23 EST


Hi Hans,

Thanks for the review.

On Fri, Jul 26, 2013 at 3:39 PM, Hans Verkuil <hverkuil@xxxxxxxxx> wrote:
> Hi Prabhakar,
>
> On 07/18/2013 05:54 PM, Lad, Prabhakar wrote:
>> From: "Lad, Prabhakar" <prabhakar.csengg@xxxxxxxxx>
>>
>> add OF support for the tvp7002 driver.
>>
>> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>
>> ---
>> This patch depends on https://patchwork.kernel.org/patch/2828800/
>>
>> Changes for v4:
>> 1: Improved descrition of end point properties.
>>
>> Changes for v3:
>> 1: Fixed review comments pointed by Sylwester.
>>
>> .../devicetree/bindings/media/i2c/tvp7002.txt | 53 ++++++++++++++++
>> drivers/media/i2c/tvp7002.c | 67 ++++++++++++++++++--
>> 2 files changed, 113 insertions(+), 7 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/media/i2c/tvp7002.txt
>>
>> diff --git a/Documentation/devicetree/bindings/media/i2c/tvp7002.txt b/Documentation/devicetree/bindings/media/i2c/tvp7002.txt
>> new file mode 100644
>> index 0000000..1d00935
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/media/i2c/tvp7002.txt
>> @@ -0,0 +1,53 @@
>> +* Texas Instruments TV7002 video decoder
>> +
>> +The TVP7002 device supports digitizing of video and graphics signal in RGB and
>> +YPbPr color space.
>> +
>> +Required Properties :
>> +- compatible : Must be "ti,tvp7002"
>> +
>> +Optional Properties:
>> +- hsync-active: HSYNC Polarity configuration for the bus. Default value when
>> + this property is not specified is <0>.
>> +
>> +- vsync-active: VSYNC Polarity configuration for the bus. Default value when
>> + this property is not specified is <0>.
>> +
>> +- pclk-sample: Clock polarity of the bus. Default value when this property is
>> + not specified is <0>.
>> +
>> +- sync-on-green-active: Active state of Sync-on-green signal property of the
>> + endpoint.
>> + 0 = Normal Operation (Default)
>
> I would extend this a little bit:
>
> 0 = Normal Operation (Active Low, Default)
>
Ok.

>> + 1 = Inverted operation
>> +
>> +- field-even-active: Active-high Field ID output polarity control of the bus.
>> + Under normal operation, the field ID output is set to logic 1 for an odd field
>> + (field 1)and set to logic 0 for an even field (field 0).
>
> Add space before 'and'.
>
Ok will fix it.

Regards,
--Prabhakar Lad
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/