From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sebastian Reichel <sre@ring0.de>
Cc: "Russell King - ARM Linux" <linux@arm.linux.org.uk>,
"Javier Martinez Canillas" <javier@dowhile0.org>,
"Tomi Valkeinen" <tomi.valkeinen@ti.com>,
"Florian Vaussard" <florian.vaussard@epfl.ch>,
"Benoît Cousson" <bcousson@baylibre.com>,
"Tony Lindgren" <tony@atomide.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"Ash Charles" <ash@gumstix.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 2/2] ARM: dts: duovero-parlor: Add HDMI output
Date: Tue, 25 Feb 2014 17:51:21 +0100 [thread overview]
Message-ID: <2364124.7r818M0xAj@avalon> (raw)
In-Reply-To: <20140225134139.GA23898@earth.universe>
[-- Attachment #1: Type: text/plain, Size: 2826 bytes --]
On Tuesday 25 February 2014 14:41:48 Sebastian Reichel wrote:
> On Tue, Feb 25, 2014 at 12:39:21PM +0000, Russell King - ARM Linux wrote:
> > > That compatible string is correct according to the latest series
> > > posted by Tomi Valkeinen to add DT bindings for the OMAP Display
> > > SubSystem (DSS) [0].
> >
> > in which case:
> >
> > N N AA CCCC K K
> > NN N A A C C K K
> > N N N A A C KK
> > N N N AAAAAA C KK
> > N NN A A C C K K
> > N N A A CCCC K K
> >
> > Yes, that's a very big nack. Two things:
> >
> > 1. OMAP really doesn't have the right to define a compatible string which
> > is as generic as "hdmi-connector".
>
> AFAIK the idea was to have "hdmi-connector" as part of the common
> display framework [1]. It's not really platform specific, since it's
> just a connector.
>
> Since omapdss does not yet implement the common display framework,
> but wants to keep a stable DT API it rewrites "hdmi-connector" to
> "omapdss,hdmi-connector" for now.
And since the common display framework has been pretty much nacked, we have no
framework on which drivers can rely ;-)
> > 2. Even with "omapdss," before it, the convention that DT people have
> > adopted is for the prefix to be "companyname," and not a subsystem.
> >
> > I'm not the only one with this concern - I discussed it with Arnd last
> > night and his comments were about it being "obviously bogus".
> >
> > > The property is added on this patch [1] and as far as I understood the
> > > idea is that it could be a generic DT binding that can be used by
> > > platform specific HDMI connectors like the omap dss HDMI connector [2].
> >
> > Why do the physical connectors need a DT binding?
>
> This is the termination of the video bus and useful information for
> xrandr.
I don't think all physical connectors require a DT binding per-se, but they
need to be represented in DT as they're part of the hardware. We could push
connector-related information to the nodes of all chips that have interfaces
wired directly to connectors, but that would result in more complex DT
bindings and core. I believe modeling connectors using separate DT nodes is be
best, and would allow easier support for more complex connectors that carry
multiple streams/signals in parallel (video, audio, DDC, ...).
> > Surely what needs the DT binding is the HDMI encoder - and that certainly
> > should no way be a generic name, because there's no such thing as a
> > generic HDMI encoder chip.
>
> The HDMI encoder and companion chips are described separatly and properly
> prefixed [0].
>
> [0] http://www.spinics.net/lists/linux-omap/msg102522.html
> [1] https://lwn.net/Articles/563157/
--
Regards,
Laurent Pinchart
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
next prev parent reply other threads:[~2014-02-25 16:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-24 17:07 [PATCH 0/2] ARM: dts: OMAP4: Add support for DuoVero/Parlor Florian Vaussard
2014-02-24 17:07 ` [PATCH 1/2] ARM: dts: Add support for OMAP4 Gumstix DuoVero/Parlor Florian Vaussard
2014-03-03 10:08 ` Florian Vaussard
2014-03-04 18:17 ` Tony Lindgren
2014-02-24 17:07 ` [PATCH 2/2] ARM: dts: duovero-parlor: Add HDMI output Florian Vaussard
2014-02-24 18:03 ` Russell King - ARM Linux
2014-02-24 20:22 ` Javier Martinez Canillas
2014-02-25 7:54 ` Florian Vaussard
2014-02-25 12:39 ` Russell King - ARM Linux
2014-02-25 13:05 ` Florian Vaussard
[not found] ` <20140225123921.GY27282-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-02-25 13:41 ` Sebastian Reichel
2014-02-25 16:51 ` Laurent Pinchart [this message]
2014-02-25 20:56 ` Russell King - ARM Linux
2014-02-26 11:14 ` Tomi Valkeinen
[not found] ` <530DCC8A.6060708-l0cyMroinI0@public.gmane.org>
2014-02-26 12:03 ` Russell King - ARM Linux
2014-02-26 12:44 ` Tomi Valkeinen
2014-02-26 13:28 ` Russell King - ARM Linux
2014-02-26 14:35 ` Tomi Valkeinen
2014-03-06 23:29 ` Laurent Pinchart
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=2364124.7r818M0xAj@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=ash@gumstix.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=florian.vaussard@epfl.ch \
--cc=javier@dowhile0.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=sre@ring0.de \
--cc=tomi.valkeinen@ti.com \
--cc=tony@atomide.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;
as well as URLs for NNTP newsgroup(s).