public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	dri-devel@lists.freedesktop.org,
	Andrzej Hajda <a.hajda@samsung.com>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Rob Herring <robherring2@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCHv2 4/8] Doc/DT: Add DT binding documentation for HDMI Connector
Date: Wed, 19 Mar 2014 00:43:33 +0100	[thread overview]
Message-ID: <1664822.t9aWz7hh4g@avalon> (raw)
In-Reply-To: <1395132234.4134.1.camel@paszta.hi.pengutronix.de>

Hello,

On Tuesday 18 March 2014 09:43:54 Philipp Zabel wrote:
> Am Dienstag, den 18.03.2014, 10:15 +0200 schrieb Tomi Valkeinen:
> > Add DT binding documentation for HDMI Connector.
> > 
> > Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
> > Reviewed-by: Archit Taneja <archit@ti.com>
> > ---
> > 
> >  .../devicetree/bindings/video/hdmi-connector.txt   | 28 +++++++++++++++++
> >  1 file changed, 28 insertions(+)
> >  create mode 100644
> >  Documentation/devicetree/bindings/video/hdmi-connector.txt> 
> > diff --git a/Documentation/devicetree/bindings/video/hdmi-connector.txt
> > b/Documentation/devicetree/bindings/video/hdmi-connector.txt new file
> > mode 100644
> > index 000000000000..ccccc19e2573
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/video/hdmi-connector.txt
> > @@ -0,0 +1,28 @@
> > +HDMI Connector
> > +==============
> > +
> > +Required properties:
> > +- compatible: "hdmi-connector"
> > +- type: the HDMI connector type: "a", "b", "c", "d" or "e"
> > +
> > +Optional properties:
> > +- label: a symbolic name for the connector
> > +
> > +Required nodes:
> > +- Video port for HDMI input
> 
> Geert's comment also applies to all other connector types. These can be
> input connectors, too.

We might not need to define all the properties required by input connectors 
now, but we need to make sure that future extensions will be backward-
compatible. I don't see a problem in making the connector DT bindings depend 
on the direction as long as the direction is specified in the DT node, either 
explicitly or implicitly.

An obvious solution would be to have separate "hdmi-input-connector" and 
"hdmi-output-connector" compatible strings but I don't like that, as there's 
no difference in the HDMI connector itself, only in the usage.

We could also add a "direction" property (possibly later, with a default value 
of "output" in that case), or rely on the link direction, but in the latter 
case that would require reaching an agreement in the current link directions 
debate.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2014-03-18 23:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-18  8:15 [PATCHv2 0/8] Doc/DT: DT bindings for various display components Tomi Valkeinen
     [not found] ` <1395130547-18633-1-git-send-email-tomi.valkeinen-l0cyMroinI0@public.gmane.org>
2014-03-18  8:15   ` [PATCHv2 1/8] Doc/DT: Add DT binding documentation for OMAP DSS Tomi Valkeinen
2014-03-18  8:15   ` [PATCHv2 2/8] Doc/DT: Add DT binding documentation for Analog TV Connector Tomi Valkeinen
2014-03-18  8:40     ` Geert Uytterhoeven
2014-03-18  8:52       ` Tomi Valkeinen
2014-03-18  8:15   ` [PATCHv2 3/8] Doc/DT: Add DT binding documentation for DVI Connector Tomi Valkeinen
2014-03-18  8:15   ` [PATCHv2 4/8] Doc/DT: Add DT binding documentation for HDMI Connector Tomi Valkeinen
2014-03-18  8:43     ` Philipp Zabel
2014-03-18 23:43       ` Laurent Pinchart [this message]
2014-03-19  8:03         ` Philipp Zabel
2014-03-19  8:11           ` Tomi Valkeinen
2014-03-19  8:22             ` Philipp Zabel
2014-03-19  9:08               ` Tomi Valkeinen
2014-03-19  9:36                 ` Philipp Zabel
2014-03-18  8:15   ` [PATCHv2 5/8] Doc/DT: Add DT binding documentation for MIPI DSI CM Panel Tomi Valkeinen
2014-03-18  8:15   ` [PATCHv2 6/8] Doc/DT: Add DT binding documentation for Sony acx565akm panel Tomi Valkeinen
2014-03-18  8:15   ` [PATCHv2 7/8] Doc/DT: Add DT binding documentation for TFP410 encoder Tomi Valkeinen
2014-03-18  8:15   ` [PATCHv2 8/8] Doc/DT: Add DT binding documentation for tpd12s015 encoder Tomi Valkeinen

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=1664822.t9aWz7hh4g@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=a.hajda@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=p.zabel@pengutronix.de \
    --cc=robherring2@gmail.com \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=tomi.valkeinen@ti.com \
    /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