From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Abhilash Kesavan <a.kesavan@samsung.com>,
Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, catalin.marinas@arm.com,
robh@kernel.org, devicetree@vger.kernel.org,
tomasz.figa@gmail.com
Subject: Re: [PATCH v2 3/7] clk: samsung: exynos7: add clocks for RTC block
Date: Mon, 27 Oct 2014 17:31:41 +0100 [thread overview]
Message-ID: <544E736D.1070001@samsung.com> (raw)
In-Reply-To: <1413870237-1821-4-git-send-email-a.kesavan@samsung.com>
Hi,
On 21/10/14 07:43, Abhilash Kesavan wrote:
> From: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
>
> Add clock support for the RTC block in Exynos7.
>
> Signed-off-by: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
> ---
> .../devicetree/bindings/clock/exynos7-clock.txt | 5 ++
> drivers/clk/samsung/clk-exynos7.c | 54 ++++++++++++++++++++
> include/dt-bindings/clock/exynos7-clk.h | 17 +++---
> 3 files changed, 70 insertions(+), 6 deletions(-)
[...]
> diff --git a/include/dt-bindings/clock/exynos7-clk.h b/include/dt-bindings/clock/exynos7-clk.h
> index ff63c4e..3227679 100644
> --- a/include/dt-bindings/clock/exynos7-clk.h
> +++ b/include/dt-bindings/clock/exynos7-clk.h
> @@ -11,12 +11,13 @@
> #define _DT_BINDINGS_CLOCK_EXYNOS7_H
>
> /* TOPC */
> -#define DOUT_ACLK_PERIS 1
> -#define DOUT_SCLK_BUS0_PLL 2
> -#define DOUT_SCLK_BUS1_PLL 3
> -#define DOUT_SCLK_CC_PLL 4
> -#define DOUT_SCLK_MFC_PLL 5
> -#define TOPC_NR_CLK 6
> +#define DOUT_ACLK_CCORE_133 1
> +#define DOUT_ACLK_PERIS 2
> +#define DOUT_SCLK_BUS0_PLL 3
> +#define DOUT_SCLK_BUS1_PLL 4
> +#define DOUT_SCLK_CC_PLL 5
> +#define DOUT_SCLK_MFC_PLL 6
> +#define TOPC_NR_CLK 7
Please don't do that, don't change the meaning of already defined
clock identifiers. We should carefully assign the clock identifiers
based on the SoC documentation beforehand, not at will when we see
fit for development of the Linux driver. Please either add
DOUT_ACLK_CCORE_133 at the end of list or move this change to the
first patch in your series adding initial support for Exynos7 SoC.
--
Thanks,
Sylwester
WARNING: multiple messages have this Message-ID (diff)
From: s.nawrocki@samsung.com (Sylwester Nawrocki)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/7] clk: samsung: exynos7: add clocks for RTC block
Date: Mon, 27 Oct 2014 17:31:41 +0100 [thread overview]
Message-ID: <544E736D.1070001@samsung.com> (raw)
In-Reply-To: <1413870237-1821-4-git-send-email-a.kesavan@samsung.com>
Hi,
On 21/10/14 07:43, Abhilash Kesavan wrote:
> From: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
>
> Add clock support for the RTC block in Exynos7.
>
> Signed-off-by: Naveen Krishna Ch <naveenkrishna.ch@gmail.com>
> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
> ---
> .../devicetree/bindings/clock/exynos7-clock.txt | 5 ++
> drivers/clk/samsung/clk-exynos7.c | 54 ++++++++++++++++++++
> include/dt-bindings/clock/exynos7-clk.h | 17 +++---
> 3 files changed, 70 insertions(+), 6 deletions(-)
[...]
> diff --git a/include/dt-bindings/clock/exynos7-clk.h b/include/dt-bindings/clock/exynos7-clk.h
> index ff63c4e..3227679 100644
> --- a/include/dt-bindings/clock/exynos7-clk.h
> +++ b/include/dt-bindings/clock/exynos7-clk.h
> @@ -11,12 +11,13 @@
> #define _DT_BINDINGS_CLOCK_EXYNOS7_H
>
> /* TOPC */
> -#define DOUT_ACLK_PERIS 1
> -#define DOUT_SCLK_BUS0_PLL 2
> -#define DOUT_SCLK_BUS1_PLL 3
> -#define DOUT_SCLK_CC_PLL 4
> -#define DOUT_SCLK_MFC_PLL 5
> -#define TOPC_NR_CLK 6
> +#define DOUT_ACLK_CCORE_133 1
> +#define DOUT_ACLK_PERIS 2
> +#define DOUT_SCLK_BUS0_PLL 3
> +#define DOUT_SCLK_BUS1_PLL 4
> +#define DOUT_SCLK_CC_PLL 5
> +#define DOUT_SCLK_MFC_PLL 6
> +#define TOPC_NR_CLK 7
Please don't do that, don't change the meaning of already defined
clock identifiers. We should carefully assign the clock identifiers
based on the SoC documentation beforehand, not at will when we see
fit for development of the Linux driver. Please either add
DOUT_ACLK_CCORE_133 at the end of list or move this change to the
first patch in your series adding initial support for Exynos7 SoC.
--
Thanks,
Sylwester
next prev parent reply other threads:[~2014-10-27 16:32 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-21 5:43 [PATCH v2 0/7] Add clock and DT support for a few IPs on Exynos7 Abhilash Kesavan
2014-10-21 5:43 ` Abhilash Kesavan
2014-10-21 5:43 ` [PATCH v2 1/7] clk: samsung: exynos7: add clocks for I2C block Abhilash Kesavan
2014-10-21 5:43 ` Abhilash Kesavan
2014-10-21 5:43 ` [PATCH v2 2/7] clk: samsung: exynos7: add clocks for MMC block Abhilash Kesavan
2014-10-21 5:43 ` Abhilash Kesavan
2014-10-21 5:43 ` [PATCH v2 3/7] clk: samsung: exynos7: add clocks for RTC block Abhilash Kesavan
2014-10-21 5:43 ` Abhilash Kesavan
2014-10-27 16:31 ` Sylwester Nawrocki [this message]
2014-10-27 16:31 ` Sylwester Nawrocki
2014-10-28 7:18 ` Abhilash Kesavan
2014-10-28 7:18 ` Abhilash Kesavan
2014-10-21 5:43 ` [PATCH v2 4/7] clk: samsung: exynos7: add gate clocks for WDT, TMU and PWM blocks Abhilash Kesavan
2014-10-21 5:43 ` Abhilash Kesavan
2014-10-21 5:43 ` [PATCH v2 5/7] arm64: dts: Add PMU DT node for exynos7 SoC Abhilash Kesavan
2014-10-21 5:43 ` Abhilash Kesavan
2014-10-21 5:43 ` [PATCH v2 6/7] arm64: dts: Add nodes for mmc, i2c, rtc, watchdog on Exynos7 Abhilash Kesavan
2014-10-21 5:43 ` Abhilash Kesavan
2014-10-21 13:52 ` Alim Akhtar
2014-10-21 13:52 ` Alim Akhtar
2014-10-21 14:00 ` Tomasz Figa
2014-10-21 14:00 ` Tomasz Figa
2014-10-21 21:35 ` Alim Akhtar
2014-10-21 21:35 ` Alim Akhtar
2014-10-22 13:58 ` Abhilash Kesavan
2014-10-22 13:58 ` Abhilash Kesavan
2014-10-21 5:43 ` [PATCH v2 7/7] arm64: exynos: Enable rtc and watchdog support for Exynos7 Abhilash Kesavan
2014-10-21 5:43 ` Abhilash Kesavan
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=544E736D.1070001@samsung.com \
--to=s.nawrocki@samsung.com \
--cc=a.kesavan@samsung.com \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=naveenkrishna.ch@gmail.com \
--cc=robh@kernel.org \
--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 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.