On 12/18/2015 07:22 PM, Mark Brown wrote:
> On Fri, Dec 18, 2015 at 06:14:58PM +0200, Georgi Djakov wrote:
>> The SAW2 (Subsystem Power Manager and Adaptive Voltage Scaling Wrapper)
>> is part of the SPM subsystem. It is a hardware block found on some of the
>> Qualcomm chip
-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/soc/qcom/spm.c | 149 +++-
1 file changed, 148 insertions(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/spm.c b/drivers/soc/qcom/spm.c
index b04b05a0904e..03fcee4b85d9 100644
--- a/drivers/so
This adds initial support for clocks controlled by the Resource
Power Manager (RPM) processor on some Qualcomm SoCs, which use
the qcom_rpm driver to communicate with RPM.
Such platforms are apq8064 and msm8960.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
.../devicetree/bi
Hi Srini,
Thanks for the patch.
On 12/12/2015 05:39 PM, Srinivas Kandagatla wrote:
> This clock is required for loading the qdsp firmware.
>
> Signed-off-by: Srinivas Kandagatla
> ---
> drivers/clk/qcom/gcc-msm8916.c | 18 ++
>
-rpm, also build it only
when it is needed - suggested by Srini and Bjorn.
* More detailed binding example.
* Minor changes.
Georgi Djakov (2):
clk: qcom: Add support for SMD-RPM Clocks
clk: qcom: Add support for RPM Clocks
.../devicetree/bindings/clock/qcom,rpmcc.txt | 37
/cgit/quic/la/kernel/msm-3.10/tree/drivers/clk/qcom/clock-rpm.c
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
.../devicetree/bindings/clock/qcom,rpmcc.txt | 36 ++
drivers/clk/qcom/Kconfig | 16 +
drivers/clk/qcom/Ma
/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 (3):
clk: qcom: Add A53 PLL support
clk: qcom: Add regmap mux-div clocks support
clk: qcom: Add A53 clock driver
CPU frequency scaling on platforms like
MSM8916.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
.../devicetree/bindings/clock/qcom,a53cc.txt | 23 +++
drivers/clk/qcom/Kconfig |8 +
drivers/clk/qcom/Makefile
Add support for the PLL, which generates the higher range of CPU
frequencies on MSM8916 platforms.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
.../devicetree/bindings/clock/qcom,a53-pll.txt | 18
drivers/clk/qcom/Kconfig |9 ++
drive
On 3.12.15 г. 16:02, Georgi Djakov wrote:
> This adds initial support for clocks controlled by the Resource
> Power Manager (RPM) processor on some Qualcomm SoCs, which use
> the qcom_smd_rpm driver to communicate with RPM.
> Such platforms are msm8916, apq8084 and msm8974.
This adds initial support for clocks controlled by the Resource
Power Manager (RPM) processor on some Qualcomm SoCs, which use
the qcom_rpm driver to communicate with RPM.
Such platforms are apq8064 and msm8960.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
.../devicetree/bi
Add the RPM Clock Controller DT node and include the necessary header
file for clocks.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8916.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
Currently the rates of the xo and sleep clocks are hard-coded in the
GCC driver, but this is a board layout description that actually should
be in the DT. Moving them into DT also allows us to insert the RPM
controlled clocks between the DT and GCC clocks.
Signed-off-by: Georgi Djakov <georgi.
Add the RPM Clock Controller DT node.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
arch/arm/boot/dts/qcom-apq8064.dtsi |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi
b/arch/arm/boot/dts/qcom-apq8064.dtsi
index eb929f
- suggested by Srini and Bjorn.
* More detailed binding example.
* Minor changes.
Georgi Djakov (6):
clk: qcom: Add support for SMD-RPM Clocks
arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators
arm64: dts: qcom: msm8916: Add RPMCC DT node
clk: qcom: Add support for RPM Clocks
arm: dts
/cgit/quic/la/kernel/msm-3.10/tree/drivers/clk/qcom/clock-rpm.c
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
.../devicetree/bindings/clock/qcom,rpmcc.txt | 36 ++
drivers/clk/qcom/Kconfig | 11 +
drivers/clk/qcom/Ma
Currently the rates of the xo and sleep clocks are hard-coded in the
GCC driver, but this is a board layout description that actually should
be in the DT. Moving them into DT also allows us to insert the RPM
controlled clocks between the DT and GCC clocks.
Signed-off-by: Georgi Djakov <georgi.
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.
Add the RPM Clock Controller DT node and include the necessary header
file for clocks.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8916.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi
Move the xo and sleep clocks to device-tree, instead of hard-coding
them in the driver. This allows us to insert the RPM clocks (if they
are enabled) in between the on-board oscillators and the actual clock.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
drivers/clk/qcom/gcc-m
Currently the rates of the xo and sleep clocks are hard-coded in the
GCC driver, but this is a board layout description that actually should
be in the DT. Moving them into DT also allows us to insert the RPM
controlled clocks between the DT and GCC clocks.
Signed-off-by: Georgi Djakov <georgi.
.
* More detailed binding example.
* Minor changes.
Georgi Djakov (5):
clk: qcom: msm8916: Move xo and sleep clocks into DT
arm64: dts: qcom: msm8916: Add fixed rate on-board oscillator
clk: qcom: Add support for RPM Clocks
clk: qcom: Add RPM clock controller driver
arm64: dts: qcom
-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/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,
>>
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
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.
Enable the eMMC on the APQ8016 SBC board (also known as DragonBoard 410c),
so that we can use its internal storage.
Signed-off-by: Georgi Djakov <georgi.dja...@linaro.org>
---
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/bo
On 09/21/2015 07:33 AM, Bjorn Andersson wrote:
On Mon 03 Aug 09:48 PDT 2015, 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
On 09/18/2015 01:23 AM, Stephen Boyd wrote:
> On 09/17, Georgi Djakov wrote:
>> This patchset adds support for iommu, gpu and audio clocks on
>> the MSM8916 platforms.
>
> Thanks. Applied them to clk-next.
>
Thank you!
--
To unsubscribe from this list: send the line &q
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 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
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):
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
, 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 | 91 +++
2 files changed, 94 insertions(+), 1 deletion(-)
diff --git a/drivers/cl
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
, 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
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
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
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 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 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 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
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
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 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.
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
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
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
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 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
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
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
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
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
1 - 100 of 229 matches
Mail list logo