public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Figa <t.figa@samsung.com>
To: Leela Krishna Amudala <l.krishna@samsung.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>,
	linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
	Kukjin Kim <kgene.kim@samsung.com>,
	devicetree@vger.kernel.org, khw0178.kim@samsung.com,
	prathyush.k@samsung.com, cpgs@samsung.com
Subject: Re: [PATCH 2/2] ARM: dts: Exynos5420: Add dt support for gscaler
Date: Wed, 16 Oct 2013 12:20:39 +0200	[thread overview]
Message-ID: <4406143.CrJVy6FlIP@amdc1227> (raw)
In-Reply-To: <CAL1wa8dtnPHzB2tBgUqifXJk3GBvUREEu5payb-rpa0=nc7D6Q@mail.gmail.com>

On Wednesday 16 of October 2013 15:46:21 Leela Krishna Amudala wrote:
> On Wed, Oct 16, 2013 at 3:38 PM, Leela Krishna Amudala
> <l.krishna@samsung.com> wrote:
> > Hi Tomasz,
> >
> > On Wed, Oct 16, 2013 at 12:21 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
> >> Hi Leela,
> >>
> >> On Tuesday 15 of October 2013 16:50:54 Leela Krishna Amudala wrote:
> >>> Adds G-Scaler devices to the DT device list
> >>>
> >>> Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
> >>> ---
> >>>  arch/arm/boot/dts/exynos5420.dtsi |   20 ++++++++++++++++++++
> >>>  1 file changed, 20 insertions(+)
> >>>
> >>> diff --git a/arch/arm/boot/dts/exynos5420.dtsi
> >>> b/arch/arm/boot/dts/exynos5420.dtsi index 7f0296c..f86aeea 100644
> >>> --- a/arch/arm/boot/dts/exynos5420.dtsi
> >>> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> >>> @@ -31,6 +31,8 @@
> >>>               i2c1 = &i2c_1;
> >>>               i2c2 = &i2c_2;
> >>>               i2c3 = &i2c_3;
> >>> +             gsc0 = &gsc_0;
> >>> +             gsc1 = &gsc_1;
> >>
> >> Do you really need these aliases?
> >>
> >
> > Yes, without these aliases probe function fails saying
> > [    1.040000] exynos-gsc 13e00000.gsc: Invalid platform device id: 65517
> > [    1.045000] exynos-gsc: probe of 13e00000.gsc failed with error -22
> >
> 
> In gsc_probe() function, of_alias_get_id(pdev->dev.of_node, "gsc") is
> returning error value,
> Hence probe failing.

OK.

> >>>       };
> >>>
> >>>       cpus {
> >>> @@ -313,4 +315,22 @@
> >>>               clocks = <&clock 431>, <&clock 143>;
> >>>               clock-names = "mixer", "sclk_hdmi";
> >>>       };
> >>> +
> >>> +     gsc_0:  gsc@0x13e00000 {
> >>
> >> coding style: There should be no 0x in node name and the name should
> >> be more meaningful, e.g. video-scaler.
> >>
> >
> > Okay, will change it and post next version of this patch.

OK. Thanks.

Best regards,
Tomasz

      reply	other threads:[~2013-10-16 10:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 11:20 [PATCH 0/2] Add G-Scaler device nodes to dt file Leela Krishna Amudala
2013-10-15 11:20 ` [PATCH 1/2] ARM: dts: Exynos5420: add clock entries to gsc power domain Leela Krishna Amudala
2013-10-15 18:49   ` Tomasz Figa
2013-10-16 10:06     ` Leela Krishna Amudala
2013-10-15 11:20 ` [PATCH 2/2] ARM: dts: Exynos5420: Add dt support for gscaler Leela Krishna Amudala
2013-10-15 18:51   ` Tomasz Figa
2013-10-16 10:08     ` Leela Krishna Amudala
2013-10-16 10:16       ` Leela Krishna Amudala
2013-10-16 10:20         ` Tomasz Figa [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=4406143.CrJVy6FlIP@amdc1227 \
    --to=t.figa@samsung.com \
    --cc=cpgs@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene.kim@samsung.com \
    --cc=khw0178.kim@samsung.com \
    --cc=l.krishna@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=prathyush.k@samsung.com \
    --cc=tomasz.figa@gmail.com \
    /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