Re: clk: samsung: exynos7: Add clocks for MSCL block

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

 



Hi Tony,

On Wednesday 17 December 2014 01:03 PM, tony nadackal wrote:
Add clock support for the MSCL block for Exynos7.

Signed-off-by: Tony K Nadackal <tony.kn@xxxxxxxxxxx>

---
.../devicetree/bindings/clock/exynos7-clock.txt    |   1 +
  drivers/clk/samsung/clk-exynos7.c                  | 124 +++++++++++++++++++++
  include/dt-bindings/clock/exynos7-clk.h            |  40 ++++++-
  3 files changed, 164 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/clock/exynos7-clock.txt b/Documentation/devicetree/bindings/clock/exynos7-clock.txt
index 6d3d5f8..d0e048c 100644
--- a/Documentation/devicetree/bindings/clock/exynos7-clock.txt
+++ b/Documentation/devicetree/bindings/clock/exynos7-clock.txt
@@ -34,6 +34,7 @@ Required Properties for Clock Controller:
  	- "samsung,exynos7-clock-peris"
  	- "samsung,exynos7-clock-fsys0"
  	- "samsung,exynos7-clock-fsys1"
+	- "samsung,exynos7-clock-mscl"

   - reg: physical base address of the controller and the length of
  	memory mapped region.
diff --git a/drivers/clk/samsung/clk-exynos7.c b/drivers/clk/samsung/clk-exynos7.c
index a79bf23..95c1160 100644
--- a/drivers/clk/samsung/clk-exynos7.c
+++ b/drivers/clk/samsung/clk-exynos7.c
@@ -34,6 +34,7 @@
  #define DIV_TOPC0		0x0600
  #define DIV_TOPC1		0x0604
  #define DIV_TOPC3		0x060C
+#define	ENABLE_ACLK_TOPC1	0x0804

nit: Tab space between #define and ENABLE_ACLK_TOPC1, should be removed.


I verified register settings and clock relationships are as per UM I have with me. So other than above nit, everything looks fine.

Reviewed-by: Pankaj Dubey <pankaj.dubey@xxxxxxxxxxx>


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



[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux