Hi,
On 09/15/2014 06:03 PM, Ivan T. Ivanov wrote:
Add support for the temperature alarm peripheral found inside
Qualcomm plug-and-play (QPNP) PMIC chips. The temperature alarm
peripheral outputs a pulse on an interrupt line whenever the
thermal over temperature stage value changes.
This patch expands the regmap support to allow registration of clock
dividers. It just prepares for the introduction of a clkdiv driver,
that will be in a separate patch.
Such dividers are found in the Qualcomm PMIC chips such as PM8941,
PMA8084 and others.
Signed-off-by: Georgi Djakov gdja...@mm
On 10/02/2014 09:11 PM, Stephen Boyd wrote:
On 09/30/14 10:20, Georgi Djakov wrote:
This patch expands the regmap support to allow registration of clock
dividers. It just prepares for the introduction of a clkdiv driver,
that will be in a separate patch.
Such dividers are found
There are currently more than 16 partitions on the eMMC of all recent
Qualcomm devices. Increase the number of minors per block device to
detect all available partitions.
Signed-off-by: Georgi Djakov gdja...@mm-sol.com
---
arch/arm/configs/qcom_defconfig |2 +-
1 file changed, 1 insertion
Enable MMC support for Qualcomm msm8974, apq8074 and apq8084 platforms.
Also increase the number of minors per block device in order to detect
all the 25 eMMC partitions.
Signed-off-by: Georgi Djakov gdja...@mm-sol.com
---
arch/arm/configs/multi_v7_defconfig |3 ++-
1 file changed, 2
(MMCC)
support)
Signed-off-by: Georgi Djakov gdja...@mm-sol.com
---
drivers/clk/qcom/mmcc-apq8084.c |2 +-
include/dt-bindings/clock/qcom,mmcc-apq8084.h |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/mmcc-apq8084.c b/drivers/clk/qcom
Enable the clocks for the Qualcomm APQ8084 platforms to allow
booting with multi_v7_defconfig.
Signed-off-by: Georgi Djakov gdja...@mm-sol.com
---
arch/arm/configs/multi_v7_defconfig |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs
On 10/10/2014 08:14 PM, Bjorn Andersson wrote:
On Tue, Sep 2, 2014 at 8:40 AM, Georgi Djakov gdja...@mm-sol.com wrote:
Enable support for the two SD host controllers on the APQ8084 platform
by adding the required nodes to the DT files.
On the IFC6540 board, the first controller is connected
On 10/11/2014 03:16 AM, Stephen Boyd wrote:
On 10/10, Georgi Djakov wrote:
There is a duplication in a clock name for apq8084 platform that causes
the following warning: RBCPR_CLK_SRC redefined
Resolve this by adding a MMSS_ prefix to this clock and making its name
coherent with msm8974
This is preliminary and not fully tested patch which adds
support for the global clock controller found on the MSM8916
based devices. It allows the various device drivers to probe
and control their clocks and resets.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
.../devicetree
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8974.c | 33 +
drivers/clk/qcom/mmcc-msm8974.c | 142 +--
2 files changed, 95 insertions(+), 80 deletions(-)
diff --git a/drivers/clk/qcom/gcc-msm8974.c b/drivers/clk
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-ipq806x.c | 51 +++-
drivers/clk/qcom/lcc-ipq806x.c | 13 ++
2 files changed, 37 insertions(+), 27 deletions(-)
diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk
Switch RCG functions to use of the newly introduced
parent_map struct.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.c | 13 -
drivers/clk/qcom/clk-rcg.h |4 ++--
drivers/clk/qcom/clk-rcg2.c | 11 +++
3 files changed, 17
Define a parent_map struct to describe the relations between
PLL source index and register configuration value.
Add a qcom_find_src_index() function for finding the index of
a clock matching the specific PLL configuration
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8960.c | 35 +++---
drivers/clk/qcom/lcc-msm8960.c | 13 ++
drivers/clk/qcom/mmcc-msm8960.c | 53 +--
3 files changed, 57 insertions(+), 44
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8660.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/drivers/clk/qcom/gcc-msm8660.c b/drivers/clk/qcom/gcc-msm8660.c
index f366e68f7316..e9fc9389f977 100644
This patchset introduces the parent_map index tables, which solve the
issue discussed here [1].
While doing this, fix also some of the code around (patches 1 and 2)
[1] https://lkml.org/lkml/2015/3/5/682
Patchset based on clk-next.
Georgi Djakov (9):
clk: qcom: Fix clk_get_parent function
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-apq8084.c | 70 ---
drivers/clk/qcom/mmcc-apq8084.c | 178 +--
2 files changed, 134 insertions(+), 114 deletions(-)
diff --git a/drivers/clk/qcom/gcc-apq8084.c b
According to the common clock framework API, the clk_get_parent() function
should return u8. Currently we are returning negative values on error. Fix
this and use the default parent in case of an error.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.c | 26
Currently configure_bank() returns void. Add some error
checking on the regmap calls and propagate if there is
any error.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.c | 62 +---
1 file changed, 41 insertions(+), 21
This patch adds support for the global clock controller found on the MSM8916
based devices. It allows the various device drivers to probe and control
their clocks and resets.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/Kconfig |8 +
drivers/clk/qcom
Boyd, reworked driver to use
index tables for clock parents.
* Split into two patches - DT binding and driver.
Changes since v1:
* Addressed comments from Stephen Boyd and Archit Taneja
* Fixed some incorrect offsets, parents etc.
* Driver is tested on MSM8916-MTP device.
Georgi Djakov (2
Add clocks/resets defines for the global clock controller
found on Qualcomm MSM8916 SoCs.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
.../devicetree/bindings/clock/qcom,gcc.txt |1 +
include/dt-bindings/clock/qcom,gcc-msm8916.h | 156
include
this bisectable.
Georgi Djakov (3):
clk: qcom: Fix clk_get_parent function return value
clk: qcom: Do some error handling in configure_bank()
clk: qcom: Introduce parent_map tables
drivers/clk/qcom/clk-rcg.c | 99 +++---
drivers/clk/qcom/clk-rcg.h | 15 +++-
drivers/clk
Currently configure_bank() returns void. Add some error
checking on the regmap calls and propagate if there is
any error.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.c | 62 +---
1 file changed, 41 insertions(+), 21
According to the common clock framework API, the clk_get_parent() function
should return u8. Currently we are returning negative values on error. Fix
this and use the default parent in case of an error.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.c | 26
Some versions of this controller do not advertise their 3.0v and
8bit bus-width support capabilities. It is required to explicitly
set these capabilities for the specific controller versions.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Tested on msm8916-mtp board.
drivers/mmc/host
On 03/19/2015 07:55 PM, Bjorn Andersson wrote:
On Thu, Mar 19, 2015 at 9:21 AM, Georgi Djakov georgi.dja...@linaro.org
wrote:
[..]
Does the 8916 board you have work without bumping the
regulator_set_load() (previously regulator_set_optimum_mode())? None
of my 8974 boards work reliably
Some versions of this controller do not advertise their 3.0v and
8bit bus-width support capabilities. It is required to explicitly
set these capabilities for the specific controller versions.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Changes since v1:
* Converted to separate read
of using NULL terminated entries.
* Moved call to qcom_find_src_index() at the top.
Changes since v1:
* Squash the last patches to make this bisectable.
Georgi Djakov (3):
clk: qcom: Fix clk_get_parent function return value
clk: qcom: Do some error handling in configure_bank()
clk: qcom
for finding the index of a clock
matching the specific PLL configuration.
- Update the {set,get}_parent RCG functions use the newly introduced
parent_map struct.
- Convert all existing drivers to the new parent_map tables.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk
According to the common clock framework API, the clk_get_parent() function
should return u8. Currently we are returning negative values on error. Fix
this and use the default parent in case of an error.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.c | 26
Hi Stephen,
Thanks for looking into this.
On 03/05/2015 09:58 PM, Stephen Boyd wrote:
On 02/25, Georgi Djakov wrote:
diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
new file mode 100644
index ..810c38004520
--- /dev/null
+++ b/drivers/clk/qcom/gcc
This patch adds support for the global clock controller found on the MSM8916
based devices. It allows the various device drivers to probe and control
their clocks and resets.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Changes since v1:
* Addressed comments from Stephen Boyd
On 02/24/2015 06:49 AM, Archit Taneja wrote:
Hi,
[..]
+
+static struct freq_tbl ftbl_gcc_mdss_pclk[] = {
+{ .src = P_DSI0_PHYPLL_DSI },
+{ }
+};
+
+static struct clk_rcg2 pclk0_clk_src = {
+.cmd_rcgr = 0x4d084,
This should be 0x4d000. Same reason as above.
+
On 02/24/2015 12:46 AM, Stephen Boyd wrote:
On 02/06/15 10:58, Georgi Djakov wrote:
[...]
[..]
+
+/* Vote for GPLL0 to turn on */
+regmap_read(regmap, 0x45000, val);
+val |= BIT(0);
+regmap_write(regmap, 0x45000, val);
Hm.. I guess this is for the CPU to stay
Hi Bjorn,
Thanks for taking a look.
On 03/19/2015 05:36 PM, Bjorn Andersson wrote:
On Thu, Mar 19, 2015 at 5:55 AM, Georgi Djakov georgi.dja...@linaro.org
wrote:
[..]
@@ -516,6 +527,22 @@ static int sdhci_msm_probe(struct platform_device *pdev)
host_version, ((host_version
Some versions of this controller do not advertise their 3.0v and
8bit bus-width support capabilities. It is required to explicitly
set these capabilities for the specific controller versions.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Changes since v2:
* Use the generic sdhci
The gfx3d_clk_src parents configuration is incorrect. Fix it.
Fixes: 3966fab8b6ab clk: qcom: Add MSM8916 Global Clock Controller support
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8916.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
When we introduced the parent_map tables, we missed to update some
of the functions where mapping is translated. Fix this.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Changes since v1:
* Pass parent map to _freq_tbl_determine_rate()
drivers/clk/qcom/clk-rcg.c | 26
When we introduced the parent_map tables, we missed to update some
of the functions where mapping is translated. Fix this.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.c | 13 ++---
drivers/clk/qcom/clk-rcg2.c | 20 +++-
2 files
Some root clock generators may have child branches that are controlled
by different CPUs. These RCGs require special operations.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.h |1 +
drivers/clk/qcom/clk-rcg2.c | 64
Add support for the msm8916 audio clocks. This includes core bus,
low-power audio and codec clocks. They are required for audio playback.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8916.c | 388 ++
include/dt-bindings
Add support for the msm8916 bimc clocks that are needed for GPU.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8916.c | 59 ++
include/dt-bindings/clock/qcom,gcc-msm8916.h |3 ++
2 files changed, 62 insertions
-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.h |1 +
drivers/clk/qcom/clk-rcg2.c |7 +++
2 files changed, 8 insertions(+)
diff --git a/drivers/clk/qcom/clk-rcg.h b/drivers/clk/qcom/clk-rcg.h
index 56028bb31d87..706a55b34b81 100644
--- a/drivers/clk/qcom/clk
Add support for the msm8916 TCU clocks that are needed for IOMMU.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8916.c | 48 ++
include/dt-bindings/clock/qcom,gcc-msm8916.h |3 ++
2 files changed, 51 insertions
This patchset adds support for the iommu, gpu and audio clocks on
the MSM8916 platforms.
Changes since v1:
* Added a set of ops for read-only RCGs and RCGs with shared branches.
Patchset based on clk-next.
Georgi Djakov (5):
clk: qcom: Add support for read-only rcg2 ops
clk: qcom: Add
On 06/26/2015 02:16 PM, Ivan T. Ivanov wrote:
Ensure SDCC is working with maximum clock otherwise card
detection could be extremely slow, up to 7 seconds.
Signed-off-by: Ivan T. Ivanov ivan.iva...@linaro.org
---
drivers/mmc/host/sdhci-msm.c | 5 +
1 file changed, 5 insertions(+)
Add support for hardware that support switching both parent clocks and the
divider at the same time. This avoids generating intermediate frequencies
from either the old parent clock and new divider or new parent clock and
old divider combinations.
Signed-off-by: Georgi Djakov georgi.dja
Add a driver for the A53 subsystem PLL, so that we can provide higher
frequency clocks for use by the system.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Documentation/devicetree/bindings/clock/qcom,a53cc | 22 +++
drivers/clk/qcom/Kconfig |8
Add nodes for the A53 clocks and apcs, so that the driver
can probe and register the clocks.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
[georgi: updated patch to support safe frequency]
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/clk.c| 76 +-
include/linux/clk-provider.h |2 ++
2 files changed, 70 insertions(+), 8 deletions(-)
diff --git
Make const both the array and the strings, so they can be
moved to .rodata section.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Patch based on v4.2-rc1
drivers/clk/qcom/gcc-apq8084.c | 12 ++--
drivers/clk/qcom/gcc-ipq806x.c | 10 +-
drivers/clk/qcom/gcc
Add support for the msm8916 audio clocks. This includes core bus,
low-power audio and codec clocks. They are required for audio playback.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8916.c | 388 ++
include/dt-bindings
Add support for the msm8916 TCU (Translation Control Unit) clocks that
are needed for IOMMU.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8916.c | 48 ++
include/dt-bindings/clock/qcom,gcc-msm8916.h |3 ++
2 files
.
* Rebased on clk-next.
Changes since v1
* Added a set of ops for read-only RCGs and RCGs with shared branches.
Georgi Djakov (4):
clk: qcom: Add MSM8916 iommu clocks
clk: qcom: Add support for RCGs with shared branches
clk: qcom: Add MSM8916 gpu clocks
clk: qcom: Add MSM8916 audio clocks
, the mux is set to the safe source;
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/clk-rcg.h |4 ++-
drivers/clk/qcom/clk-rcg2.c | 77 +++
2 files changed, 80 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/qcom/clk
Add support for the msm8916 BIMC (Bus Integrated Memory Controller)
clocks that are needed for GPU.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8916.c | 61 ++
include/dt-bindings/clock/qcom,gcc-msm8916.h |3 ++
2
Add support for clocks that are controlled by the RPM processor
on Qualcomm msm8916 based platforms.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
.../devicetree/bindings/clock/qcom,rpmcc.txt | 35
drivers/clk/qcom/Kconfig |1 +
drivers/clk
shared memory
and accepts clock requests, aggregates the requests and turns
the clocks on/off or scales them on demand.
This driver is based on the codeaurora.org driver:
https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/drivers/clk/qcom/clock-rpm.c
Signed-off-by: Georgi Djakov georgi.dja
by Srini and Bjorn.
* More detailed binding example.
* Minor changes.
Georgi Djakov (2):
clk: qcom: Add support for RPM Clocks
clk: qcom: Add MSM8916 RPM clock driver
.../devicetree/bindings/clock/qcom,rpmcc.txt | 35
drivers/clk/qcom/Kconfig |4
Add support for hardware that support switching both parent clocks and the
divider at the same time. This avoids generating intermediate frequencies
from either the old parent clock and new divider or new parent clock and
old divider combinations.
Signed-off-by: Georgi Djakov georgi.dja
Add a driver for the A53 subsystem PLL, so that we can provide higher
frequency clocks for use by the system.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Documentation/devicetree/bindings/clock/qcom,a53cc | 25 +++
drivers/clk/qcom/Kconfig |8
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/clk.c| 73 +++---
include/linux/clk-provider.h |2 ++
2 files changed, 70 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 128ad748b682
://lkml.org/lkml/2015/6/12/193)
* Drop SR2 PLL patch, as it is already applied.
* Add gpll0_vote rate propagation patch.
* Update/rebase patches to the current clk-next.
Georgi Djakov (2):
clk: qcom: Add support for regmap mux-div clocks
clk: qcom: Add A53 clock driver
Stephen Boyd (1):
clk
Add a driver for the A53 subsystem PLL, so that we can provide higher
frequency clocks for use by the system.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
Documentation/devicetree/bindings/clock/qcom,a53cc | 25 +++
drivers/clk/qcom/Kconfig |8
Add support for hardware that support switching both parent clocks and the
divider at the same time. This avoids generating intermediate frequencies
from either the old parent clock and new divider or new parent clock and
old divider combinations.
Signed-off-by: Georgi Djakov georgi.dja
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/clk.c| 73 +++---
include/linux/clk-provider.h |2 ++
2 files changed, 70 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 67f778bd093b
Currently we are missing the SET_RATE_PARENT flag on gpll0_vote and
as a result of that, when it has a child with SET_RATE_PARENT flag,
the rate of the child is not propagated up to the gpll0. Fix that
by adding the SET_RATE_PARENT flag to gpll0_vote.
Signed-off-by: Georgi Djakov georgi.dja
to the current clk-next.
Georgi Djakov (4):
clk: qcom: Enable gpll0_vote rate propagation on MSM8916
clk: qcom: Add support for regmap mux-div clocks
clk: qcom: Add A53 clock driver
arm64: dts: qcom: msm8916: Add A53 DT node
Stephen Boyd (1):
clk: Add safe switch hook
Documentation/devicetree
Add nodes for the A53 clocks and apcs, so that the driver
can probe and register the clocks.
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
On 24.07.15 20:25, Stephen Boyd wrote:
On 07/24/2015 09:58 AM, Georgi Djakov wrote:
Currently we are missing the SET_RATE_PARENT flag on gpll0_vote and
as a result of that, when it has a child with SET_RATE_PARENT flag,
the rate of the child is not propagated up to the gpll0. Fix
On 07/14/2015 01:27 AM, Bjorn Andersson wrote:
On Tue 07 Jul 06:45 PDT 2015, Georgi Djakov wrote:
Hi Bjorn,
Thank you for this patchset! Some nits and a question below.
Thank you!
On 06/27/2015 12:50 AM, bj...@kryo.se wrote:
From: Bjorn Andersson bjorn.anders...@sonymobile.com
On 10/28/2015 03:06 AM, Stephen Boyd wrote:
> On 10/27, Stephen Boyd wrote:
>> +
>> +int qcom_cc_register_board_clk(struct device *dev, const char *path,
>> + const char *name, unsigned long rate)
>> +{
>> +return _qcom_cc_register_board_clk(dev, path, name, rate,
>>
-off-by: Ivan T. Ivanov <ivan.iva...@linaro.org>
>> Reviewed-by: Georgi Djakov <georgi.dja...@linaro.org>
>> Acked-by: Stephen Boyd <sb...@codeaurora.org>
>> ---
>>
>> Changes since v0:
>> - s/falied/failed in warning message.
>>
>> driver
10c board.
Tested-by: Georgi Djakov <georgi.dja...@linaro.org>
> ---
> drivers/usb/host/ehci-msm.c |4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
> index c4f84c8..c23e285 100644
> ---
On 10/13/2015 11:57 PM, Bjorn Andersson wrote:
> The BIT() was incorrectly inherited from family A and should not be used
> on family B where the state is denoted by an enum.
>
> Reported-by: Georgi Djakov <georgi.dja...@linaro.org>
> Signed-off-by: Bjorn Andersson <bjorn.
by Srini and Bjorn.
* More detailed binding example.
* Minor changes.
Georgi Djakov (8):
arm64: dts: qcom: 8x16: Add fixed rate on-board oscillator
clk: qcom: msm8916: Set the parent of xo to xo_board
clk: qcom: msm8916: Ignore sleep_clk_src registration errors
arm64: dts: qcom: 8x16: Add fixed
-by: Georgi Djakov <georgi.dja...@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8916.dtsi |9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 8748fcca70f4..355a2acea796 100644
--- a/arch/arm64/boot/dt
The RPM clock controller driver takes care of registering the
xo clock. Do not register it in this driver if RPM is enabled.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/gcc-msm8916.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
Add support for clocks that are controlled by the RPM processor
on Qualcomm msm8916 based platforms.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
.../devicetree/bindings/clock/qcom,rpmcc.txt | 35
drivers/clk/qcom/Kconfig |8 +
d
shared memory
and accepts clock requests, aggregates the requests and turns
the clocks on/off or scales them on demand.
This driver is based on the codeaurora.org driver:
https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/drivers/clk/qcom/clock-rpm.c
Signed-off-by: Georgi Djakov <georgi.
The sleep_clk_src has been moved to DT, so we do not need to
register it in the GCC driver anymore.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/gcc-msm8916.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drive
Remove the hard-coded clock rate from the driver and set the XO
parent to the on-board XO oscillator that is defined in the DT.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/gcc-msm8916.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
We are moving the sleep clock to the DT. While all patches
are merged, we will ignore sleep_clk_src registration errors.
By ignoring this error, the msm8916 boards will continue booting
during this transition period, otherwise the clock controller
initialization will fail.
Signed-off-by: Georgi
Hi Srini,
On 07/09/2015 03:27 PM, Srinivas Kandagatla wrote:
On 09/07/15 13:18, Georgi Djakov wrote:
This patch adds initial support for clocks controlled by the RPM
(Resource Power Manager) processor found on some Qualcomm SoCs.
The RPM is a dedicated hardware engine for managing
Hi Bjorn,
Thank you for this patchset! Some nits and a question below.
On 06/27/2015 12:50 AM, bj...@kryo.se wrote:
From: Bjorn Andersson bjorn.anders...@sonymobile.com
This adds the Qualcomm Shared Memory Driver (SMD) providing
communication channels to remote processors, ontop of SMEM.
requests to the RPM processor.
The second patch adds the support of RPM clocks on the MSM8916
platform.
[1] https://lkml.org/lkml/2015/6/26/577
Georgi Djakov (2):
clk: qcom: Add support for RPM Clocks
clk: qcom: Add MSM8916 RPM clock driver
.../devicetree/bindings/clock/qcom,rpmcc.txt
via shared memory
and accepts clock requests, aggregates the requests and turns
the clocks on/off or scales them on demand.
This work is based on the codeaurora.org driver:
https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/drivers/clk/qcom/clock-rpm.c
Signed-off-by: Georgi Djakov
Hi Stephen,
On 09/02/2015 11:31 PM, Stephen Boyd wrote:
> On 08/03, Georgi Djakov wrote:
>> diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c
>> new file mode 100644
>> index ..e564673ec3a5
>> --- /dev/null
>> +++
On 08/03/2015 07:48 PM, Georgi Djakov wrote:
> This patchset adds initial support for the clocks controlled by
> the RPM (Resource Power Manager) processor on Qualcomm platforms.
> It depends on Bjorn's Qualcomm SMD & RPM patches, that are now in
> linux-next: https://lkml.org/lkm
Fix the enable bit of the pseudorandom number generator clock.
Reported-by: Stanimir Varbanov stanimir.varba...@linaro.org
Fixes: 3966fab8b6ab clk: qcom: Add MSM8916 Global Clock Controller support
Signed-off-by: Georgi Djakov georgi.dja...@linaro.org
---
drivers/clk/qcom/gcc-msm8916.c |2
On 09/10/2015 01:52 AM, Stephen Boyd wrote:
> On 08/12, Georgi Djakov wrote:
>> From: Stephen Boyd <sb...@codeaurora.org>
>>
>> Sometimes clocks can't accept their parent source turning off
>> while the source is reprogrammed to a different rate. Most
>> not
On 09/10/2015 01:46 AM, Stephen Boyd wrote:
> On 08/13, Georgi Djakov wrote:
[..]
>> diff --git a/drivers/clk/qcom/clk-rcg2.c b/drivers/clk/qcom/clk-rcg2.c
>> index 9aec1761fd29..681faf2dcdc5 100644
>> --- a/drivers/clk/qcom/clk-rcg2.c
>> +++ b/drivers/clk/qcom/clk
, the mux is set to the safe source;
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/clk-rcg.h |4 ++-
drivers/clk/qcom/clk-rcg2.c | 78 +++
2 files changed, 81 insertions(+), 1 deletion(-)
diff --git a/drivers/cl
/lkml/2015/6/5/324)
* Dropped patch for read-only RCGs as it is not needed.
* Updated RCGs with shared branches patch and addressed various issues
pointed by Stephen.
* Rebased on clk-next.
Changes since v1
* Added a set of ops for read-only RCGs and RCGs with shared branches.
Georgi Djakov (4
Add support for the msm8916 TCU (Translation Control Unit) clocks that
are needed for IOMMU.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/gcc-msm8916.c | 48 ++
include/dt-bindings/clock/qcom,gcc-msm8916.h |3 ++
2
Add support for the msm8916 audio clocks. This includes core bus,
low-power audio and codec clocks. They are required for audio playback.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/gcc-msm8916.c | 388 ++
incl
Add support for the msm8916 BIMC (Bus Integrated Memory Controller)
clocks that are needed for GPU.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/gcc-msm8916.c | 61 ++
include/dt-bindings/clock/qcom,gcc-msm8916.h
Add support for the msm8916 BIMC (Bus Integrated Memory Controller)
clocks that are needed for GPU.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/gcc-msm8916.c | 61 ++
include/dt-bindings/clock/qcom,gcc-msm8916.h
101 - 200 of 229 matches
Mail list logo