register
space, its best to have the support added through the clock driver.
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/Kconfig | 5 ++
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/gdsc.c | 166
[]...
@@ -0,0 +1,46 @@
+/*
+ * Copyright (c) 2015, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software
...
+
+#include linux/delay.h
+#include linux/err.h
+#include linux/export.h
?? Do you need this?
Maybe not, now that the EXPORT_SYMBOL() is gone.
I will remove it.
+#include linux/jiffies.h
+#include linux/regmap.h
+#include linux/slab.h
+#include gdsc.h
+
+#define PWR_ON_MASK
From: Stephen Boyd sb...@codeaurora.org
Theres just one GDSC as part of the msm8974 GCC block.
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
arch/arm/boot/dts/qcom-msm8974.dtsi | 1 +
drivers/clk/qcom/Kconfig
() in gdsc.c
[1] https://lkml.org/lkml/2015/3/18/408
Rajendra Nayak (3):
clk: qcom: gdsc: Prepare common clk probe to register gdscs
clk: qcom: gdsc: Add GDSCs in msm8916 GCC
clk: qcom: gdsc: Add GDSCs in apq8084 GCC
Stephen Boyd (3):
clk: qcom: Add support for GDSCs
clk: qcom: gdsc: Add
From: Stephen Boyd sb...@codeaurora.org
Add the GDSC instances that exist as part of msm8974 MMCC block
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
arch/arm/boot/dts/qcom-msm8974.dtsi | 1 +
drivers/clk/qcom/Kconfig
Add all data for the GDSCs which are part of msm8916 GCC block.
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/Kconfig | 1 +
drivers/clk/qcom/gcc-msm8916.c | 46
include/dt-bindings/clock/qcom,gcc-msm8916
Add the GDSC instances that exist as part of apq8084 GCC block
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
arch/arm/boot/dts/qcom-apq8084.dtsi | 1 +
drivers/clk/qcom/Kconfig | 1 +
drivers/clk/qcom/gcc-apq8084.c | 38
register
space, its best to have the support added through the clock driver.
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/Kconfig | 5 ++
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/gdsc.c | 129
On 03/19/2015 04:16 PM, Stanimir Varbanov wrote:
Hi Rajendra,
Thanks for the patch!
On 03/19/2015 10:02 AM, Rajendra Nayak wrote:
The common clk probe registers a clk provider and a reset controller.
Update it to register a genpd provider using the gdsc data provided
by each platform.
Signed
On 03/02/2015 09:02 AM, Rajendra Nayak wrote:
GDSCs (Global Distributed Switch Controllers) control switches
that supply power to an on-chip power domain and hence can be
programmed in SW to safely power collapse and restore power to the
respective PDs. They are part of a considerable number
Add all data for the GDSCs which are part of msm8916 GCC block.
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/Kconfig | 1 +
drivers/clk/qcom/gcc-msm8916.c | 46
include/dt-bindings/clock/qcom,gcc-msm8916
From: Stephen Boyd sb...@codeaurora.org
Theres just one GDSC as part of the msm8974 GCC block.
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/Kconfig | 1 +
drivers/clk/qcom/gcc-msm8974.c
The common clk probe registers a clk provider and a reset controller.
Update it to register a genpd provider using the gdsc data provided
by each platform.
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/common.c | 27 ++-
drivers/clk/qcom
]
https://lkml.org/lkml/2015/2/25/416
Rajendra Nayak (3):
clk: qcom: gdsc: Prepare common clk probe to register gdscs
clk: qcom: gdsc: Add GDSCs in msm8916 GCC
clk: qcom: gdsc: Add GDSCs in apq8084 GCC
Stephen Boyd (3):
clk: qcom: Add support for GDSCs
clk: qcom: gdsc: Add GDSCs in msm8974
register
space, its best to have the support added through the clock driver.
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/Kconfig | 5 ++
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/gdsc.c | 130
From: Stephen Boyd sb...@codeaurora.org
Add the GDSC instances that exist as part of msm8974 MMCC block
Signed-off-by: Stephen Boyd sb...@codeaurora.org
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/Kconfig | 1 +
drivers/clk/qcom/mmcc-msm8974.c
Add the GDSC instances that exist as part of apq8084 GCC block
Signed-off-by: Rajendra Nayak rna...@codeaurora.org
---
drivers/clk/qcom/gcc-apq8084.c | 38
include/dt-bindings/clock/qcom,gcc-apq8084.h | 6 +
2 files changed, 44 insertions(+)
diff
Hi Saravana,
On Tuesday 15 May 2012 06:38 AM, Saravana Kannan wrote:
Btw, I didn't follow up on the other thread we were having, but can you
remind me again what was the reason that you thought that only
__clk_init() would work for your static init code and __clk_register()
won't work?
One of
On Thursday 29 March 2012 05:36 AM, Michael Bohan wrote:
Put simply, whose responsibility is it to assign the
regulator_desc-supply_name pointer before registering a regulator
device added from Device Tree?
The drivers, and its expected to know, and not lookup something from the
DT node to
201 - 220 of 220 matches
Mail list logo