From: Florian Vaussard <florian.vaussard@epfl.ch>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>,
Javier Martinez Canillas <javier@dowhile0.org>
Cc: "Tomi Valkeinen" <tomi.valkeinen@ti.com>,
"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 14:05:26 +0100 [thread overview]
Message-ID: <530C9516.7070501@epfl.ch> (raw)
In-Reply-To: <20140225123921.GY27282@n2100.arm.linux.org.uk>
Hi,
On 02/25/2014 01:39 PM, Russell King - ARM Linux wrote:
> On Mon, Feb 24, 2014 at 05:22:27PM -0300, Javier Martinez Canillas wrote:
>> Hi Russell,
>>
>> On Mon, Feb 24, 2014 at 3:03 PM, Russell King - ARM Linux
>> <linux@arm.linux.org.uk> wrote:
>>> On Mon, Feb 24, 2014 at 06:07:49PM +0100, Florian Vaussard wrote:
>>>> + hdmi0: connector@0 {
>>>> + compatible = "hdmi-connector";
>>>
>>> This looks way to generic a compatible string. Are you sure it's
>>> correct?
>>>
>>
>> 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
>
What a nice nack.
> 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".
>
> 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".
>
I agree. It should probably be "ti,omapdss-hdmi-connector", or simply
"ti,hdmi-connector", if any.
>> 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? 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 IP is declared in omap4.dtsi, with the compatible
"ti,omap4-hdmi". The code of the HDMI connector [1] seems to mainly call
ops of the connected endpoint, so it seems to act as a logical
termination in the DSS chain, but I may be wrong.
Regards,
Florian
[1]
https://git.kernel.org/cgit/linux/kernel/git/tomba/linux.git/tree/drivers/video/omap2/displays-new/connector-hdmi.c?h=work%2Fdss-dt-review-3
WARNING: multiple messages have this Message-ID (diff)
From: florian.vaussard@epfl.ch (Florian Vaussard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: dts: duovero-parlor: Add HDMI output
Date: Tue, 25 Feb 2014 14:05:26 +0100 [thread overview]
Message-ID: <530C9516.7070501@epfl.ch> (raw)
In-Reply-To: <20140225123921.GY27282@n2100.arm.linux.org.uk>
Hi,
On 02/25/2014 01:39 PM, Russell King - ARM Linux wrote:
> On Mon, Feb 24, 2014 at 05:22:27PM -0300, Javier Martinez Canillas wrote:
>> Hi Russell,
>>
>> On Mon, Feb 24, 2014 at 3:03 PM, Russell King - ARM Linux
>> <linux@arm.linux.org.uk> wrote:
>>> On Mon, Feb 24, 2014 at 06:07:49PM +0100, Florian Vaussard wrote:
>>>> + hdmi0: connector at 0 {
>>>> + compatible = "hdmi-connector";
>>>
>>> This looks way to generic a compatible string. Are you sure it's
>>> correct?
>>>
>>
>> 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
>
What a nice nack.
> 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".
>
> 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".
>
I agree. It should probably be "ti,omapdss-hdmi-connector", or simply
"ti,hdmi-connector", if any.
>> 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? 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 IP is declared in omap4.dtsi, with the compatible
"ti,omap4-hdmi". The code of the HDMI connector [1] seems to mainly call
ops of the connected endpoint, so it seems to act as a logical
termination in the DSS chain, but I may be wrong.
Regards,
Florian
[1]
https://git.kernel.org/cgit/linux/kernel/git/tomba/linux.git/tree/drivers/video/omap2/displays-new/connector-hdmi.c?h=work%2Fdss-dt-review-3
next prev parent reply other threads:[~2014-02-25 13:05 UTC|newest]
Thread overview: 38+ 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 ` Florian Vaussard
2014-02-24 17:07 ` [PATCH 1/2] ARM: dts: Add support for OMAP4 Gumstix DuoVero/Parlor Florian Vaussard
2014-02-24 17:07 ` Florian Vaussard
2014-03-03 10:08 ` Florian Vaussard
2014-03-03 10:08 ` Florian Vaussard
2014-03-04 18:17 ` Tony Lindgren
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 17:07 ` Florian Vaussard
2014-02-24 18:03 ` Russell King - ARM Linux
2014-02-24 18:03 ` Russell King - ARM Linux
2014-02-24 20:22 ` Javier Martinez Canillas
2014-02-24 20:22 ` Javier Martinez Canillas
2014-02-25 7:54 ` Florian Vaussard
2014-02-25 7:54 ` Florian Vaussard
2014-02-25 12:39 ` Russell King - ARM Linux
2014-02-25 12:39 ` Russell King - ARM Linux
2014-02-25 13:05 ` Florian Vaussard [this message]
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 13:41 ` Sebastian Reichel
2014-02-25 16:51 ` Laurent Pinchart
2014-02-25 16:51 ` Laurent Pinchart
2014-02-25 20:56 ` Russell King - ARM Linux
2014-02-25 20:56 ` Russell King - ARM Linux
2014-02-26 11:14 ` Tomi Valkeinen
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:03 ` Russell King - ARM Linux
2014-02-26 12:44 ` Tomi Valkeinen
2014-02-26 12:44 ` Tomi Valkeinen
2014-02-26 13:28 ` Russell King - ARM Linux
2014-02-26 13:28 ` Russell King - ARM Linux
2014-02-26 14:35 ` Tomi Valkeinen
2014-02-26 14:35 ` Tomi Valkeinen
2014-03-06 23:29 ` Laurent Pinchart
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=530C9516.7070501@epfl.ch \
--to=florian.vaussard@epfl.ch \
--cc=ash@gumstix.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=javier@dowhile0.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.