From: Tomasz Figa <tomasz.figa@gmail.com>
To: Rahul Sharma <rahul.sharma@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, mturquette@linaro.org,
kgene.kim@samsung.com, thomas.ab@samsung.com, joshi@samsung.com,
r.sh.open@gmail.com, Andrzej Hajda <a.hajda@samsung.com>
Subject: Re: [PATCH 2/3] ARM: dts: replace clock numbers with macros for exynos5420
Date: Fri, 20 Dec 2013 23:02:23 +0100 [thread overview]
Message-ID: <2478495.7T968MEiJL@flatron> (raw)
In-Reply-To: <1387544246-31658-3-git-send-email-rahul.sharma@samsung.com>
Hi Rahul,
On Friday 20 of December 2013 18:27:25 Rahul Sharma wrote:
> DT nodes contain clock numbers which are referred by drivers
> to get the clocks. These numbers are replaced by MACROs
> which are defined in the exynos5420-clk.h header file.
This is a good idea, but we already have such conversion scheduled for
all the existing clock drivers in an automated way. Andrzej Hajda (on CC)
has a script that automatically converts DTS files and clock drivers from
enums to defines.
Also such change needs to be done in a timely manner, due to greatly
increasing chance of conflicting other patches.
My suggestion is to drop this and patch 3/3 from this series and let us
handle this using Andrzej's script at appropriate point of time.
>
> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
> ---
> arch/arm/boot/dts/exynos5420.dtsi | 47 +++++++++++++++++++------------------
> 1 file changed, 24 insertions(+), 23 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> index e552608..db8b2da 100644
> --- a/arch/arm/boot/dts/exynos5420.dtsi
> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> @@ -17,6 +17,7 @@
> #include "exynos5420-pinctrl.dtsi"
>
> #include <dt-bindings/clk/exynos-audss-clk.h>
> +#include <dt-bindings/clk/exynos5420-clk.h>
By the way, this header is added in patch 3/3, so this patch breaks
bisectability, which is not acceptable.
Best regards,
Tomasz
next prev parent reply other threads:[~2013-12-20 22:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-20 12:57 [PATCH 0/3] exynos5420: clock file cleanup Rahul Sharma
2013-12-20 12:57 ` [PATCH 1/3] clk/exynos5420: cleanup clock file Rahul Sharma
2013-12-20 21:57 ` Tomasz Figa
2013-12-23 4:26 ` Rahul Sharma
2013-12-20 12:57 ` [PATCH 2/3] ARM: dts: replace clock numbers with macros for exynos5420 Rahul Sharma
2013-12-20 22:02 ` Tomasz Figa [this message]
2013-12-23 4:33 ` Rahul Sharma
2013-12-20 12:57 ` [PATCH 3/3] clk/exynos5420: replace enums with macros as clock ids Rahul Sharma
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=2478495.7T968MEiJL@flatron \
--to=tomasz.figa@gmail.com \
--cc=a.hajda@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=joshi@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=r.sh.open@gmail.com \
--cc=rahul.sharma@samsung.com \
--cc=thomas.ab@samsung.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;
as well as URLs for NNTP newsgroup(s).