All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
	patches@linaro.org
Subject: Re: [PATCH 3/5] ARM: dts: Add clock entries to G2D node for exynos4210
Date: Thu, 18 Apr 2013 15:27:47 +0200	[thread overview]
Message-ID: <516FF4D3.8030906@samsung.com> (raw)
In-Reply-To: <CAK9yfHxDe6=FysOM4v+iGZqLeafKAP=E86NxMNKK_atJpdRF=A@mail.gmail.com>

On 04/18/2013 01:54 PM, Sachin Kamat wrote:
>>> diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi
>>> index 66e6b03..50ab9d4 100644
>>> --- a/arch/arm/boot/dts/exynos4210.dtsi
>>> +++ b/arch/arm/boot/dts/exynos4210.dtsi
>>> @@ -117,6 +117,8 @@
>>>               compatible = "samsung,s5pv210-g2d";
>>>               reg = <0x12800000 0x1000>;
>>>               interrupts = <0 89 0>;
>>> +             clocks = <&clock 177>, <&clock 277>;
>>> +             clock-names = "sclk_fimg2d", "fimg2d";
>>
>> Same clocks are used for exynos4210 and exynos4212/4412. Wouldn't
>> it work if you have added those properties to exynos4.dtsi, instead
>> of having same entries in exynos4210.dtsi and exynos4x12.dtsi  ?
> 
> The clocks are the same. However, base address of register is
> different for 4210 and 4x12.
> That was the reason 2 separate nodes were created. Do you want me to
> create a common node in exynos4.dtsi with all the common properties
> and separate nodes in exynos4210.dtsi and exynos4x12.dtsi with just
> the 'reg' property?

Ah, ok then. I'm fine either way. The compatible strings are also
different so it's probably better to leave exynos4.dtsi out and
have full nodes listed in both exynos4210/4x12.dtsi.

Thanks,
Sylwester

  reply	other threads:[~2013-04-18 13:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-18 11:15 [PATCH 1/5] clk: exynos4: Add additional G2D clocks Sachin Kamat
2013-04-18 11:15 ` [PATCH 2/5] ARM: dts: Remove duplicate and add missing G2D nodes Sachin Kamat
2013-06-05 12:30   ` Kukjin Kim
2013-04-18 11:15 ` [PATCH 3/5] ARM: dts: Add clock entries to G2D node for exynos4210 Sachin Kamat
2013-04-18 11:38   ` Sylwester Nawrocki
2013-04-18 11:54     ` Sachin Kamat
2013-04-18 13:27       ` Sylwester Nawrocki [this message]
2013-04-18 14:34         ` Sachin Kamat
2013-04-18 11:15 ` [PATCH 4/5] ARM: dts: Add clock entries to G2D node for exynos4x12 Sachin Kamat
2013-04-18 11:15 ` [PATCH 5/5] ARM: dts: Update G2D documentation for clock entries Sachin Kamat
2013-04-18 16:59 ` [PATCH 1/5] clk: exynos4: Add additional G2D clocks Mike Turquette
2013-04-29 10:33   ` Sachin Kamat
2013-05-27 12:00   ` Sachin Kamat
2013-06-05 12:03   ` Sachin Kamat
2013-06-05 12:23   ` Kukjin Kim
2013-06-10  8:42   ` 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=516FF4D3.8030906@samsung.com \
    --to=s.nawrocki@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=sachin.kamat@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.