Re: [PATCH v3 12/16] clk: exynos5420: fix register offset for sclk_bpll

2014-04-30 Thread Alim Akhtar
Hi shaik,

On Thu, Apr 24, 2014 at 6:33 PM, Shaik Ameer Basha
shaik.am...@samsung.com wrote:
 This patch fixes the wrong register offset for sclk_bpll clock.

 Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com
 ---
Reviwed-by: Alim Akhtar alim.akh...@samsung.com
  drivers/clk/samsung/clk-exynos5420.c |4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)

 diff --git a/drivers/clk/samsung/clk-exynos5420.c 
 b/drivers/clk/samsung/clk-exynos5420.c
 index 6daf739..3afc112 100755
 --- a/drivers/clk/samsung/clk-exynos5420.c
 +++ b/drivers/clk/samsung/clk-exynos5420.c
 @@ -111,7 +111,6 @@
  #define TOP_SPARE2 0x10b08
  #define BPLL_LOCK  0x20010
  #define BPLL_CON0  0x20110
 -#define SRC_CDREX  0x20200
  #define KPLL_LOCK  0x28000
  #define KPLL_CON0  0x28100
  #define SRC_KFC0x28200
 @@ -204,7 +203,6 @@ static unsigned long exynos5420_clk_regs[] __initdata = {
 GATE_TOP_SCLK_FSYS,
 GATE_TOP_SCLK_PERIC,
 TOP_SPARE2,
 -   SRC_CDREX,
 SRC_KFC,
 DIV_KFC0,
  };
 @@ -380,7 +378,7 @@ static struct samsung_mux_clock exynos5420_mux_clks[] 
 __initdata = {
 MUX(0, mout_kpll, mout_kpll_p, SRC_KFC, 0, 1),
 MUX(0, mout_kfc, mout_kfc_p, SRC_KFC, 16, 1),

 -   MUX(0, sclk_bpll, mout_bpll_p, SRC_CDREX, 0, 1),
 +   MUX(0, sclk_bpll, mout_bpll_p, TOP_SPARE2, 0, 1),
Hmmm. Nice catch

 MUX_A(0, mout_aclk400_mscl, mout_group1_p,
 SRC_TOP0, 4, 2, aclk400_mscl),
 --
 1.7.9.5


 ___
 linux-arm-kernel mailing list
 linux-arm-ker...@lists.infradead.org
 http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



-- 
Regards,
Alim
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v3 12/16] clk: exynos5420: fix register offset for sclk_bpll

2014-04-30 Thread Sachin Kamat
Hi Shaik,

On 24 April 2014 18:33, Shaik Ameer Basha shaik.am...@samsung.com wrote:
 This patch fixes the wrong register offset for sclk_bpll clock.

Since this patch is a fix, it is better to send it separately so that
it gets into one of
the upcoming RCs (and if needed to stable).


 Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com
 ---
  drivers/clk/samsung/clk-exynos5420.c |4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)

 diff --git a/drivers/clk/samsung/clk-exynos5420.c 
 b/drivers/clk/samsung/clk-exynos5420.c
 index 6daf739..3afc112 100755
 --- a/drivers/clk/samsung/clk-exynos5420.c
 +++ b/drivers/clk/samsung/clk-exynos5420.c
 @@ -111,7 +111,6 @@
  #define TOP_SPARE2 0x10b08
  #define BPLL_LOCK  0x20010
  #define BPLL_CON0  0x20110
 -#define SRC_CDREX  0x20200
  #define KPLL_LOCK  0x28000
  #define KPLL_CON0  0x28100
  #define SRC_KFC0x28200
 @@ -204,7 +203,6 @@ static unsigned long exynos5420_clk_regs[] __initdata = {
 GATE_TOP_SCLK_FSYS,
 GATE_TOP_SCLK_PERIC,
 TOP_SPARE2,
 -   SRC_CDREX,
 SRC_KFC,
 DIV_KFC0,
  };
 @@ -380,7 +378,7 @@ static struct samsung_mux_clock exynos5420_mux_clks[] 
 __initdata = {
 MUX(0, mout_kpll, mout_kpll_p, SRC_KFC, 0, 1),
 MUX(0, mout_kfc, mout_kfc_p, SRC_KFC, 16, 1),

 -   MUX(0, sclk_bpll, mout_bpll_p, SRC_CDREX, 0, 1),
 +   MUX(0, sclk_bpll, mout_bpll_p, TOP_SPARE2, 0, 1),

 MUX_A(0, mout_aclk400_mscl, mout_group1_p,
 SRC_TOP0, 4, 2, aclk400_mscl),
 --
 1.7.9.5

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



-- 
With warm regards,
Sachin
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH v3 12/16] clk: exynos5420: fix register offset for sclk_bpll

2014-04-24 Thread Shaik Ameer Basha
This patch fixes the wrong register offset for sclk_bpll clock.

Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com
---
 drivers/clk/samsung/clk-exynos5420.c |4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/clk/samsung/clk-exynos5420.c 
b/drivers/clk/samsung/clk-exynos5420.c
index 6daf739..3afc112 100755
--- a/drivers/clk/samsung/clk-exynos5420.c
+++ b/drivers/clk/samsung/clk-exynos5420.c
@@ -111,7 +111,6 @@
 #define TOP_SPARE2 0x10b08
 #define BPLL_LOCK  0x20010
 #define BPLL_CON0  0x20110
-#define SRC_CDREX  0x20200
 #define KPLL_LOCK  0x28000
 #define KPLL_CON0  0x28100
 #define SRC_KFC0x28200
@@ -204,7 +203,6 @@ static unsigned long exynos5420_clk_regs[] __initdata = {
GATE_TOP_SCLK_FSYS,
GATE_TOP_SCLK_PERIC,
TOP_SPARE2,
-   SRC_CDREX,
SRC_KFC,
DIV_KFC0,
 };
@@ -380,7 +378,7 @@ static struct samsung_mux_clock exynos5420_mux_clks[] 
__initdata = {
MUX(0, mout_kpll, mout_kpll_p, SRC_KFC, 0, 1),
MUX(0, mout_kfc, mout_kfc_p, SRC_KFC, 16, 1),
 
-   MUX(0, sclk_bpll, mout_bpll_p, SRC_CDREX, 0, 1),
+   MUX(0, sclk_bpll, mout_bpll_p, TOP_SPARE2, 0, 1),
 
MUX_A(0, mout_aclk400_mscl, mout_group1_p,
SRC_TOP0, 4, 2, aclk400_mscl),
-- 
1.7.9.5

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