Re: [PATCH v2 3/7] clk: samsung: exynos7: add clocks for RTC block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

On 21/10/14 07:43, Abhilash Kesavan wrote:
> From: Naveen Krishna Ch <naveenkrishna.ch@xxxxxxxxx>
> 
> Add clock support for the RTC block in Exynos7.
> 
> Signed-off-by: Naveen Krishna Ch <naveenkrishna.ch@xxxxxxxxx>
> Signed-off-by: Abhilash Kesavan <a.kesavan@xxxxxxxxxxx>
> ---
>  .../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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux