From: Tomasz Figa <t.figa@samsung.com>
To: Leela Krishna Amudala <l.krishna@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
devicetree@vger.kernel.org, khw0178.kim@samsung.com,
cpgs@samsung.com
Subject: Re: [PATCH] ARM: dts: Exynos5420: Add dt support for gscaler
Date: Wed, 16 Oct 2013 13:52:44 +0200 [thread overview]
Message-ID: <2359697.iZb6YQqtY2@amdc1227> (raw)
In-Reply-To: <1381920987-11095-1-git-send-email-l.krishna@samsung.com>
Hi Leela,
On Wednesday 16 of October 2013 16:26:26 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(+)
Now as I think of it, patch subject should be rather something like:
ARM: dts: Exynos5420: Add device nodes for GScaler blocks
because the patch alone does not have anything to do with adding device
tree support to GScaler driver.
Also please see remaining comments inline.
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> index 09aa06c..c4210dc 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;
> };
>
> cpus {
> @@ -310,4 +312,22 @@
> clocks = <&clock 431>, <&clock 143>;
> clock-names = "mixer", "sclk_hdmi";
> };
> +
> + gsc_0: g-scaler@13e00000 {
coding style: There should be just one space after the label.
coding style 2: Please name the node simply video-scaler. Node name is not
supposed to tell what exactly the device is. The name should be mostly
used for readability, so a person reading the sources can find that this
node represents some video scaler and then by looking at compatible value
he would be able to state that it is an GScaler block compatible with this
on Exynos 5 SoCs.
Best regards,
Tomasz
prev parent reply other threads:[~2013-10-16 11:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-16 10:56 [PATCH] ARM: dts: Exynos5420: Add dt support for gscaler Leela Krishna Amudala
2013-10-16 11:52 ` 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=2359697.iZb6YQqtY2@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 \
/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