Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
To: Kukjin Kim <kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Cc: 'Sylwester Nawrocki'
	<sylvester.nawrocki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	'Vivek Gautam'
	<gautamvivek1987-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	'Doug Anderson'
	<dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
	balbi-l0cyMroinI0@public.gmane.org,
	'Thomas Abraham'
	<thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
	'Alan Stern'
	<stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>,
	'Grant Likely'
	<grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>,
	'Rob Herring'
	<rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	'Vivek Gautam'
	<gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	cpgs-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org
Subject: Re: [PATCH 0/2] usb: exynos: Fix compatible strings used for device
Date: Tue, 22 Jan 2013 09:49:39 +0100	[thread overview]
Message-ID: <50FE52A3.8030807@samsung.com> (raw)
In-Reply-To: <054601cdf862$534a8ad0$f9dfa070$@samsung.com>

On 01/22/2013 06:35 AM, Kukjin Kim wrote:
>>>>> -     { .compatible = "samsung,exynos-dwc3" },
>>>>> +     { .compatible = "samsung,synopsis-dwc3" },
>>>>>
>>>>> Or if any version or something, how about following?
>>>>>
>>>>> +     { .compatible = "samsung,dwc-v3" },
>>>>>
>>> Well, yes the newer SoCs with same IP using the chip name can cause some
>>> confusion, but won't it be fine that -
>>> "Newer parts using the same core can claim compatibility by
>>> including the older string in the compatible list" - as quoted by Grant
> Likely
>>>
>>> Or, can we try another option, using multiple compatible strings for
>>> SoC specific
>>> in of_match_table, so that we don't create any confusion by using same
>>> compatible for newer SoCs also. Like,
>>>
>>> -     { .compatible = "samsung,exynos-dwc3" },
>>> +     { .compatible = "samsung,exynos5250-dwc3" },
>>> +     { .compatible =<new SoC using same IP>  },
>>
>> Yes, why not just use an SoC name where given IP first appeared ? I
> believe
>> IP revision numbers are not always well documented. Also when an IP is
>> instantiated multiple times in specific SoC, its revision number might not
>> be sufficient to determine the system integration details for each
> instance.
>> I think having version for some devices and SoC name for others just adds
>> to the confusion. Thus using specific chip name in the compatible property
>> seems more clear to me.
>>
> Well, I don't think so. Let's see the DMAC PL330. Its compatible is
> "arm,pl330" and "arm,primecell" not SoC/Chip name. I think DWC is a same
> case or at least similar.
> 
> You know, the DWC is a IP from Synopsis and I _Believe_ it has a kind of
> version and it can be used for identify.

That's a good point, but isn't DesignWare just a name of a family of IP
cores from Synopsys [1] ? And what would DWC be supposed to signify ?
DesignWare Controller ? Wouldn't that be too generic ? Synopsys seems
to offer multiple different controllers and any of them could eventually
end up in a specific SoC [2].

Maybe the compatible property should be something like:

compatible = "samsung,exynos5250-dwc-3", "synopsys,dw-usb-3";
or
compatible = "samsung,exynos5250-usb3", "synopsys,dw-ss-usb3";

? Or anything more specific in the synopsys part to indicate which
exactly USB controller IP is used ?

[1] http://www.synopsys.com/IP/InterfaceIP/USB/Pages/default.aspx
[2] http://www.synopsys.com/IP/InterfaceIP/Pages/default.aspx

--

Regards,
Sylwester
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2013-01-22  8:49 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 14:52 [PATCH 0/2] usb: exynos: Fix compatible strings used for device Vivek Gautam
2012-12-13 16:07 ` Vivek Gautam
     [not found] ` <1355410348-5129-1-git-send-email-gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-12-13 14:52   ` [PATCH 1/2] usb: ehci-s5p/ohci-exynos: Fix compatible strings for the device Vivek Gautam
2012-12-13 16:09     ` Vivek Gautam
2012-12-19 13:47       ` Vivek Gautam
2012-12-13 14:52   ` [PATCH 2/2] usb: dwc3-exynos: " Vivek Gautam
2012-12-13 16:10     ` Vivek Gautam
2012-12-19 13:48       ` Vivek Gautam
2012-12-15  7:20   ` [PATCH 0/2] usb: exynos: Fix compatible strings used for device Grant Likely
2012-12-19 13:46     ` Vivek Gautam
     [not found]       ` <CAFp+6iHaYpinaq8K7rf1GxOJoap6Rd8kGcJn4UmHU28BjTCAsA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-12-21  8:14         ` Vivek Gautam
2012-12-21 17:39           ` Doug Anderson
2012-12-23 23:15             ` Kukjin Kim
2012-12-24  8:13               ` Vivek Gautam
2012-12-26 22:58                 ` Sylwester Nawrocki
     [not found]                   ` <50DB811A.8010408-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-01-15  8:28                     ` Vivek Gautam
2013-01-22  5:35                     ` Kukjin Kim
2013-01-22  5:48                       ` Vivek Gautam
2013-01-22  8:48                         ` Felipe Balbi
     [not found]                           ` <20130122084817.GC16143-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-01-22 22:04                             ` Kukjin Kim
2013-01-23  9:50                               ` Felipe Balbi
     [not found]                                 ` <20130123095021.GB22054-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-01-23 12:20                                   ` Vivek Gautam
2013-01-23 12:40                                     ` Sylwester Nawrocki
     [not found]                                       ` <50FFDA2B.4010506-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-01-23 13:16                                         ` Vivek Gautam
2013-01-22  8:49                       ` Sylwester Nawrocki [this message]

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=50FE52A3.8030807@samsung.com \
    --to=s.nawrocki-sze3o3uu22jbdgjk7y7tuq@public.gmane.org \
    --cc=balbi-l0cyMroinI0@public.gmane.org \
    --cc=cpgs-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=gautamvivek1987-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=kgene.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
    --cc=sylvester.nawrocki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    /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