All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vivek Gautam <gautamvivek1987@gmail.com>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: Doug Anderson <dianders@chromium.org>,
	balbi@ti.com, Thomas Abraham <thomas.abraham@linaro.org>,
	linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
	devicetree-discuss@lists.ozlabs.org, gregkh@linuxfoundation.org,
	Alan Stern <stern@rowland.harvard.edu>,
	Grant Likely <grant.likely@secretlab.ca>,
	Rob Herring <rob.herring@calxeda.com>,
	jg1.han@samsung.com, Vivek Gautam <gautam.vivek@samsung.com>
Subject: Re: [PATCH 0/2] usb: exynos: Fix compatible strings used for device
Date: Mon, 24 Dec 2012 13:43:23 +0530	[thread overview]
Message-ID: <CAFp+6iGq32UV3mZ=QYVizJGQEark0Qztu7m4jy3DvG431ajV1w@mail.gmail.com> (raw)
In-Reply-To: <016901cde163$6be034c0$43a09e40$@samsung.com>

Hi Kukjin,


On Mon, Dec 24, 2012 at 4:45 AM, Kukjin Kim <kgene.kim@samsung.com> wrote:
> Kukjin Kim wrote:
>>
> Re-sending due to e-mail client problem...
>
>> Doug Anderson wrote:
>> >
>> > On Fri, Dec 21, 2012 at 12:14 AM, Vivek Gautam
>> > <gautamvivek1987@gmail.com> wrote:
>> > > On Wed, Dec 19, 2012 at 7:16 PM, Vivek Gautam
>> > <gautamvivek1987@gmail.com> wrote:
>> > >>
>> > >> On Sat, Dec 15, 2012 at 12:50 PM, Grant Likely
>> > >> <grant.likely@secretlab.ca> wrote:
>> > >>> On Thu, 13 Dec 2012 20:22:26 +0530, Vivek Gautam
>> > <gautam.vivek@samsung.com> wrote:
>> > >>>> Using chip specific compatible string as it should be.
>> > >>>> So fixing this for ehci-s5p, ohci-exynos and dwc3-exynos
>> > >>>> which till now used a generic 'exynos' in their compatible strings.
>> > >>>>
>> > >>>> This goes as per the discussion happened in the thread for
>> > >>>> [PATCH v2] ARM: Exynos5250: Enabling dwc3-exynos driver
>> > >>>> available at:
>> > >>>> http://www.spinics.net/lists/linux-usb/msg74145.html
>> > >>>>
>> > >>>> Vivek Gautam (2):
>> > >>>>   usb: ehci-s5p/ohci-exynos: Fix compatible strings for the device
>> > >>>>   usb: dwc3-exynos: Fix compatible strings for the device
>> > >>>
>> > >>> for both patches:
>> > >>> Acked-by: Grant Likely <grant.likely@secretlab.ca>
>> > >>>
>> > >
>> > > Any more thought about this patch-set?
>> > > Or does this change seems fine?
>> >
>> > These two changes look good to me.  For both of them:
>> >
>> > Reviewed-by: Doug Anderson <dianders@chromium.org>
>>
>> Well, I have another idea. Yes, I know, specific chip name should be used.
> But
>> you know the specific chip name in compatible can cause another confusion
>> on other SoC which has same IP. So I think, we need to consider to use
>> common name or any specific name not chip in compatible for IP/driver like
>> following?
>>
>> -     { .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> },

>> - Kukjin
>



-- 
Thanks & Regards
Vivek

  reply	other threads:[~2012-12-24  8:13 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
     [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 [this message]
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
2012-12-13 16:07 ` Vivek Gautam

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='CAFp+6iGq32UV3mZ=QYVizJGQEark0Qztu7m4jy3DvG431ajV1w@mail.gmail.com' \
    --to=gautamvivek1987@gmail.com \
    --cc=balbi@ti.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=dianders@chromium.org \
    --cc=gautam.vivek@samsung.com \
    --cc=grant.likely@secretlab.ca \
    --cc=gregkh@linuxfoundation.org \
    --cc=jg1.han@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rob.herring@calxeda.com \
    --cc=stern@rowland.harvard.edu \
    --cc=thomas.abraham@linaro.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 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.