From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: Thomas Abraham <thomas.abraham@linaro.org>,
Shaik Ameer Basha <shaik.ameer@samsung.com>,
linux-samsung-soc@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org, sy0816.kang@samsung.com,
olofj@google.com, thomas.ab@samsung.com, sachin.kamat@linaro.org,
joshi@samsung.com, shaik.samsung@gmail.com
Subject: Re: [PATCH v3 2/2] ARM: EXYNOS: Add Gscaler device from DT
Date: Wed, 01 Aug 2012 10:18:30 +0200 [thread overview]
Message-ID: <5018E656.3070803@samsung.com> (raw)
In-Reply-To: <CAJuYYwTy5zkeM_cJO7HMm+=v=ORPHD26nQYZwXK6v1noWm1EuA@mail.gmail.com>
On 08/01/2012 09:48 AM, Thomas Abraham wrote:
> On 1 August 2012 12:10, Kukjin Kim <kgene.kim@samsung.com> wrote:
>> Shaik Ameer Basha wrote:
>
> [...]
>
>>> +* Samsung Exynos5 Gscaler device
>>> +
>>> +Gscaler is used for scaling and color space conversion on EXYNOS5 SoCs.
>>> +
>>> +Required properties:
>>> +- compatible: should be "samsung,exynos5250-gsc"
>>
>> IMO, should be "samsung,exynos5-gsc" because upcoming EXYNOS5 SoCs can use
>> same gscaler driver.
In addition to the below explanation, perhaps it's obvious, but the driver
can claim compatibility with multiple devices, i.e. match with multiple
'compatible' properties.
Regards,
Sylwester
> The compatible string should always be specific and it should clearly
> identify the type of the controller. If there are other variants of
> the GSC controller in previous of upcoming SoC's, then those
> controllers will have a different compatible value.
>
> This allows device drivers to know the type of the controller and
> handle the differences among them. And, the node in the dts/dtsi file
> should always claim compatibility to the base version of the
> controller that the platform supports.
>
> So the compatible value "samsung,exynos5250-gsc" is right one. If a
> new SoC in the Exynos5 family has the same GSC controller as that in
> Exynos5250 (no difference at all), then GSC device node in its dts
> file can continue to claim compatibility to Exynos5250 type. The
> "samsung,s3c2410-wdt is an example of this case which has been used on
> all Samsung SoC's .
>
> Thanks,
> Thomas.
next prev parent reply other threads:[~2012-08-01 8:18 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-20 13:08 [PATCH v3 0/2] Add device tree and clock support for Gscaler Shaik Ameer Basha
2012-07-20 13:08 ` [PATCH v3 1/2] ARM: EXYNOS: Add " Shaik Ameer Basha
2012-08-01 6:24 ` Kukjin Kim
2012-08-01 7:07 ` Shaik Ameer Basha
2012-07-20 13:08 ` [PATCH v3 2/2] ARM: EXYNOS: Add Gscaler device from DT Shaik Ameer Basha
2012-08-01 6:40 ` Kukjin Kim
2012-08-01 7:10 ` Shaik Ameer Basha
2012-08-01 7:48 ` Thomas Abraham
2012-08-01 8:15 ` Kukjin Kim
2012-08-01 8:18 ` Sylwester Nawrocki [this message]
2012-08-01 9:00 ` Kukjin Kim
2012-08-01 19:03 ` Sylwester Nawrocki
[not found] ` <50197D66.1050108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-08-02 16:33 ` Olof Johansson
2012-08-02 23:40 ` Sylwester Nawrocki
2012-08-06 6:27 ` Shaik Ameer Basha
2012-08-06 19:09 ` Sylwester Nawrocki
2012-08-07 10:01 ` Kukjin Kim
2012-08-11 4:08 ` Kukjin Kim
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=5018E656.3070803@samsung.com \
--to=s.nawrocki@samsung.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=joshi@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=olofj@google.com \
--cc=sachin.kamat@linaro.org \
--cc=shaik.ameer@samsung.com \
--cc=shaik.samsung@gmail.com \
--cc=sy0816.kang@samsung.com \
--cc=thomas.ab@samsung.com \
--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.