Skip to contentSkip to conversation

clk vexpress updates for 3.11

PATCH New Pawel Moll 2 participants 4 messages Jun 10, 2013 – Jun 20, 2013

Subsystems (3)
lore
Share & tools
lore

Pawel Moll

author
#0 lore raw

cover clk vexpress updates for 3.11

Hi Mike,

Could you please queue these two small updates of the vexpress clk drivers?

Thanks!

Pawel

Pawel Moll (2):
clk: vexpress: Use full node name to identify individual clocks
clk: vexpress: Make the clock drivers directly available for arm64

 drivers/clk/Kconfig                      | 2 +-
 drivers/clk/versatile/clk-vexpress-osc.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 1/2 clk: vexpress: Use full node name to identify individual clocks

Previously all the clocks were reported as "osc". Now it will be something like "/dcc/osc at 0".

---
 drivers/clk/versatile/clk-vexpress-osc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/versatile/clk-vexpress-osc.c +2 -2
index 256c8be..2dc8b41 100644
@@ -107,7 +107,7 @@ void __init vexpress_osc_of_setup(struct device_node *node)
 	osc->func = vexpress_config_func_get_by_node(node);
 	if (!osc->func) {
 		pr_err("Failed to obtain config func for node '%s'!\n",
-				node->name);
+				node->full_name);
 		goto error;
 	}
 
@@ -119,7 +119,7 @@ void __init vexpress_osc_of_setup(struct device_node *node)
 
 	of_property_read_string(node, "clock-output-names", &init.name);
 	if (!init.name)
-		init.name = node->name;
+		init.name = node->full_name;
 
 	init.ops = &vexpress_osc_ops;
 	init.flags = CLK_IS_ROOT;
Signature · 1 line
1.8.1.2
author
#2 lore raw

PATCH 2/2 clk: vexpress: Make the clock drivers directly available for arm64

In reply to Pawel Moll

The new arm64 architecture has no idea of platform or machine, so it doesn't have to define ARCH_VEXPRESS configuration option at all. To allow user to select the drivers at all, make it depend on ARM64 as well.

---
 drivers/clk/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/Kconfig +1 -1
index 0357ac4..d0d9b21 100644
@@ -42,7 +42,7 @@ config COMMON_CLK_WM831X
 
 config COMMON_CLK_VERSATILE
 	bool "Clock driver for ARM Reference designs"
-	depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS
+	depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS || ARM64
 	---help---
           Supports clocking on ARM Reference designs:
 	  - Integrator/AP and Integrator/CP
Signature · 1 line
1.8.1.2
#3 lore raw

cover clk vexpress updates for 3.11

In reply to Pawel Moll

Quoting Pawel Moll (2013-06-10 08:05:05)

Quoted 4 lines

Hi Mike,

Could you please queue these two small updates of the vexpress clk drivers?

Taken into clk-next for 3.11.

Regards,
Mike

Quoted 15 lines

Thanks!

Pawel

Pawel Moll (2):
clk: vexpress: Use full node name to identify individual clocks
clk: vexpress: Make the clock drivers directly available for arm64

 drivers/clk/Kconfig                      | 2 +-
 drivers/clk/versatile/clk-vexpress-osc.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.1.2