From: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
To: Prabhakar Lad <prabhakar.csengg@gmail.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
LMML <linux-media@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
DLOS <davinci-linux-open-source@linux.davincidsp.com>,
Hans Verkuil <hans.verkuil@cisco.com>,
Mauro Carvalho Chehab <mchehab@redhat.com>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Sakari Ailus <sakari.ailus@iki.fi>,
Grant Likely <grant.likely@secretlab.ca>,
Rob Herring <rob.herring@calxeda.com>,
Rob Landley <rob@landley.net>,
devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org,
Kyungmin Park <kyungmin.park@samsung.com>
Subject: Re: [PATCH RFC] media: OF: add field-active and sync-on-green endpoint properties
Date: Thu, 16 May 2013 12:43:02 +0200 [thread overview]
Message-ID: <5194B836.1020808@gmail.com> (raw)
In-Reply-To: <CA+V-a8tsohAyGRCn3NhwsS19X84N_xOwLB_wd0bPvyu1fLy3+g@mail.gmail.com>
Hi,
On 05/16/2013 06:53 AM, Prabhakar Lad wrote:
>>> diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt
>>> >> b/Documentation/devicetree/bindings/media/video-interfaces.txt index
>>> >> e022d2d..6bf87d0 100644
>>> >> --- a/Documentation/devicetree/bindings/media/video-interfaces.txt
>>> >> +++ b/Documentation/devicetree/bindings/media/video-interfaces.txt
>>> >> @@ -101,6 +101,10 @@ Optional endpoint properties
>>> >> array contains only one entry.
>>> >> - clock-noncontinuous: a boolean property to allow MIPI CSI-2
>>> >> non-continuous clock mode.
>>> >> +-field-active: a boolean property indicating active high filed ID output
>>> >> + polarity is inverted.
>> >
>> > Looks like we already have field-even-active property to describe the level of
>> > the field signal. Could you please check whether it fulfills your use cases ?
>> > Sorry for not pointing you to it earlier.
>> >
> I had looked at it earlier it only means "field signal level during the even
> field data transmission" it only speaks of even filed. Ideally the field ID
> output is set to logic 1 for odd field and set to 0 for even field, what I
> want is to invert the FID out polarity when "field-active" property is set.
>
> May be we rename "field-active" to "fid-pol" ?
I guess we failed to clearly describe the 'field-even-active' property then.
It seems to be exactly what you need.
It is not enough to say e.g. field-active = <1>;, because it would not have
been clear which field it refers to, odd or even ? Unlike VSYNC, HSYNC both
levels of the FIELD signal are "active", there is no "idle" state for FIELD.
So field-even-active = <1>; means the FIELD signal at logic high level
indicates EVEN field _and_ this implies FIELD = 0 indicates ODD field, i.e.
FIELD = 0 => odd field
FIELD = 1 => even field
For field-even-active = <0>; it is the other way around:
FIELD = 0 => even field
FIELD = 1 => odd field
It looks like only "sync-on-green" property is missing. BTW, is it really
commonly used ? What drivers would need it ?
I'm not against making it a common property, it's just first time I see it.
Thanks,
Sylwester
next prev parent reply other threads:[~2013-05-16 10:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 12:52 [PATCH RFC] media: OF: add field-active and sync-on-green endpoint properties Lad Prabhakar
2013-05-15 13:24 ` Laurent Pinchart
2013-05-16 4:53 ` Prabhakar Lad
2013-05-16 10:43 ` Sylwester Nawrocki [this message]
2013-05-16 10:52 ` Prabhakar Lad
2013-05-16 10:45 ` Sylwester Nawrocki
2013-05-16 10:54 ` Prabhakar Lad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5194B836.1020808@gmail.com \
--to=sylvester.nawrocki@gmail.com \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=g.liakhovetski@gmx.de \
--cc=grant.likely@secretlab.ca \
--cc=hans.verkuil@cisco.com \
--cc=kyungmin.park@samsung.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=prabhakar.csengg@gmail.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=sakari.ailus@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox