All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND v2 0/2] Add device tree and clock support for Gscaler.
@ 2012-07-16  5:33 Shaik Ameer Basha
  2012-07-16  5:33 ` [PATCH RESEND v2 1/2] ARM: EXYNOS: Add " Shaik Ameer Basha
  2012-07-16  5:33 ` [PATCH RESEND v2 2/2] ARM: EXYNOS: Add gscaler device from DT Shaik Ameer Basha
  0 siblings, 2 replies; 7+ messages in thread
From: Shaik Ameer Basha @ 2012-07-16  5:33 UTC (permalink / raw)
  To: linux-samsung-soc, devicetree-discuss
  Cc: kgene.kim, olofj, thomas.ab, sylvester.nawrocki, sachin.kamat,
	joshi, ameersk, shaik.ameer

This patch series adds clock support for Gscaler and device node
 entries for Gscaler on exynos5.

This patch is based on Kukjin Kim's (linux-samsung) for-next branch.
    https://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git

changes since v1:
- Addressed review comments from Sylwester Nawrocki
    http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg11177.html
- Addressed review comments from Sachin Kamat
    http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg11176.html
    http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg11178.html

Resending this patch for posting to devicetree-discuss@lists.ozlabs.org

Shaik Ameer Basha (2):
  ARM: EXYNOS: Add clock support for Gscaler
  ARM: EXYNOS: Add gscaler device from DT

 .../devicetree/bindings/media/exynos5-gsc.txt      |   16 ++++
 arch/arm/boot/dts/exynos5250.dtsi                  |   31 ++++++++
 arch/arm/mach-exynos/clock-exynos5.c               |   79 ++++++++++++++++++++
 arch/arm/mach-exynos/include/mach/map.h            |    3 +
 arch/arm/mach-exynos/mach-exynos5-dt.c             |    8 ++
 5 files changed, 137 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/exynos5-gsc.txt

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [PATCH RESEND v2 2/2] ARM: EXYNOS: Add gscaler device from DT
@ 2012-07-19  9:23 Shaik Ameer Basha
  0 siblings, 0 replies; 7+ messages in thread
From: Shaik Ameer Basha @ 2012-07-19  9:23 UTC (permalink / raw)
  To: Sylwester Nawrocki
  Cc: linux-samsung-soc, devicetree-discuss, Kukjin Kim, olofj,
	Thomas P Abraham, sachin.kamat, SUNIL JOSHI, shaik.samsung

Hi Sylwester,


On Tue, Jul 17, 2012 at 2:03 AM, Sylwester Nawrocki <sylvester.nawrocki@gmail.com> wrote:
> Hi Shaik,
>
>
> On 07/16/2012 07:33 AM, Shaik Ameer Basha wrote:
>>
>> +++ b/Documentation/devicetree/bindings/media/exynos5-gsc.txt
>> @@ -0,0 +1,16 @@
>> +* Samsung Exynos5 Gscaler device
>> +
>> +Gscaler is used for scaling and color space conversion on EXYNOS5 SoCs.
>> +
>> +Required properties:
>> +- compatible: should be "samsung,exynos-gsc"
>
>
> Shouldn't there rather be a specific "compatible" property for each SoC,
> e.g.
>    - compatible: should be one of:
>         "samsung5250,exynos-gsc",
>         "samsung5450,exynos-gsc",
> etc. ?
>


OK. I will change the compatible property to "samsung,exynos5250-gsc".


>
>> +- reg: should contian Gsaler physical address location and length.
>
>
> contian -> contain, Gsaler -> Gscaler
>


OK. I will correct that...


>
>> +- interrupts: should contain Gscaler interrupt number
>> +
>> +Example:
>> +
>> +gsc_0:  gsc@0x13e00000 {
>> +       compatible = "samsung,exynos-gsc";
>
>
>         compatible = "samsung5250,exynos-gsc";
>

Ok. I will change that to,
compatible = "samsung,exynos5250-gsc";

>
>> +       reg =<0x13e00000 0x1000>;
>> +       interrupts =<0 85 0>;
>> +};
>
>
> The aliases are still undocumented. How about adding something
> along the lines of:
>
> "Each Gscaler node should have a numbered alias in the aliases node,
> in the form of gscN, N = 0...3."
>

Thanks for that...

I resent the same patch to devicetree mailinglist... that's why aliases documentation was not present....
I will add the aliases documentation in the v3 release.

>
> ?
>
>> diff --git a/arch/arm/boot/dts/exynos5250.dtsi
>> b/arch/arm/boot/dts/exynos5250.dtsi
>> index 4272b29..b945c00 100644
>> --- a/arch/arm/boot/dts/exynos5250.dtsi
>> +++ b/arch/arm/boot/dts/exynos5250.dtsi
>> @@ -23,6 +23,13 @@
>>         compatible = "samsung,exynos5250";
>>         interrupt-parent =<&gic>;
>>
>> +       aliases {
>> +               gsc0 =&gsc_0;
>> +               gsc1 =&gsc_1;
>> +               gsc2 =&gsc_2;
>> +               gsc3 =&gsc_3;
>> +       };
>> +
>>         gic:interrupt-controller@10481000 {
>>                 compatible = "arm,cortex-a9-gic";
>>                 #interrupt-cells =<3>;
>
>
> --
>
> Regards,
> Sylwester

Regards,
Shaik Ameer Basha

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-19  9:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-16  5:33 [PATCH RESEND v2 0/2] Add device tree and clock support for Gscaler Shaik Ameer Basha
2012-07-16  5:33 ` [PATCH RESEND v2 1/2] ARM: EXYNOS: Add " Shaik Ameer Basha
2012-07-16 22:38   ` Kukjin Kim
2012-07-18  8:44     ` Sunyoung Kang
2012-07-16  5:33 ` [PATCH RESEND v2 2/2] ARM: EXYNOS: Add gscaler device from DT Shaik Ameer Basha
2012-07-16 20:33   ` Sylwester Nawrocki
2012-07-19  9:23 Shaik Ameer Basha

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.