there may be some way to also set that missing property in the
inline notation I didn't find it, so to actually fix the issue for now
move the sub-definitions into separate declarations that can have
their own __initdata properties.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
d
During the initial conversion to the newly introduced combined fractional
dividers+muxes the rk3368 clocks were left out, so convert them now.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/clk/rockchip/clk-rk3368.c | 97 ---
1 file c
According to a description from TRM, add all the power domains
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/power/rk3399-power.h | 53
1 file changed, 53 insertions(+)
create mode 100644 include/dt-bindings/power/rk3399-p
fix some idle handling
support sub-power domain
add rk3399-power.h
modify document for RK3399 Soc
modify power domain for RK3399 SoC
Elaine Zhang (6):
rockchip: power-domain: make idle handling optional
power-domain: allow domains only handling idle requests
rockchip: power-domain: add
Not all new socs need to handle idle states on domain state changes,
so add the possibility to make them optional.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drive
This patch adds support for making one power domain a sub-domain of
other domain. This is useful for modeling power dependences,
which needs to have more than one power domain enabled to be operational.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_dom
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
.../bindings/soc/rockchip/power_domain.txt | 41 ++
1 file changed, 41 insertions(+)
diff --git a/Documentation/devi
This driver is modified to support RK3399 SoC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 55 +++
1 file changed, 55 insertions(+)
diff --git a/drivers/soc/rockchip/pm_domains.c
b/drivers/soc/ro
special case if both idle as well power handling
were set as not present, but as the domain-data is defined in the
code itself, we can expect the reasonable developer to define them
in a correct, without adding more checks.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drive
This patch adds support for making one power domain a sub-domain of
other domain. This is useful for modeling power dependences,
which needs to have more than one power domain enabled to be operational.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_dom
Not all new socs need to handle idle states on domain state changes,
so add the possibility to make them optional.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drive
fix some idle handling
support sub-power domain
add rk3399-power.h
modify power domain for RK3399 SoC
modify document for RK3399 Soc
Elaine Zhang (6):
rockchip: power-domain: make idle handling optional
rockchip: power-domain: allow domains only handling idle requests
rockchip: power-domain
special case if both idle as well power handling
were set as not present, but as the domain-data is defined in the
code itself, we can expect the reasonable developer to define them
in a correct, without adding more checks.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drive
According to a description from TRM, add all the power domains
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/power/rk3399-power.h | 53
1 file changed, 53 insertions(+)
create mode 100644 include/dt-bindings/power/rk3399-p
This driver is modified to support RK3399 SoC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 55 +++
1 file changed, 55 insertions(+)
diff --git a/drivers/soc/rockchip/pm_domains.c
b/drivers/soc/ro
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
.../bindings/soc/rockchip/power_domain.txt | 41 ++
1 file changed, 41 insertions(+)
diff --git a/Documentation/devi
According to a description from TRM, add all the power domains
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/power/rk3399-power.h | 53
1 file changed, 53 insertions(+)
create mode 100644 include/dt-bindings/power/rk3399-p
Not all new socs need to handle idle states on domain state changes,
so add the possibility to make them optional.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Heiko Stuebner <he...@sntech.de>
---
drivers/soc/rockchip/pm_domains.c | 11 ---
1 fil
fix some idle handling
support sub-power domain
add rk3399-power.h
modify power domain for RK3399 SoC
modify document for RK3399 Soc
Elaine Zhang (6):
rockchip: power-domain: make idle handling optional
rockchip: power-domain: allow domains only handling idle requests
rockchip: power-domain
This patch adds support for making one power domain a sub-domain of
other domain. This is useful for modeling power dependences,
which needs to have more than one power domain enabled to be operational.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_dom
special case if both idle as well power handling
were set as not present, but as the domain-data is defined in the
code itself, we can expect the reasonable developer to define them
in a correct, without adding more checks.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by:
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
.../bindings/soc/rockchip/power_domain.txt | 21 +
1 file changed, 21 insertions(+)
diff --git a/Documentation/devi
This driver is modified to support RK3399 SoC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 55 +++
1 file changed, 55 insertions(+)
diff --git a/drivers/soc/rockchip/pm_domains.c
b/drivers/soc/ro
Not all new socs need to handle idle states on domain state changes,
so add the possibility to make them optional.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Heiko Stuebner <he...@sntech.de>
---
drivers/soc/rockchip/pm_domains.c | 11 ---
1 fil
This patch adds support for making one power domain a sub-domain of
other domain. This is useful for modeling power dependences,
which needs to have more than one power domain enabled to be operational.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_dom
special case if both idle as well power handling
were set as not present, but as the domain-data is defined in the
code itself, we can expect the reasonable developer to define them
in a correct, without adding more checks.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by:
According to a description from TRM, add all the power domains
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/power/rk3399-power.h | 53
1 file changed, 53 insertions(+)
create mode 100644 include/dt-bindings/power/rk3399-p
fix some idle handling
support sub-power domain
add rk3399-power.h
modify power domain for RK3399 SoC
modify document for RK3399 Soc
Elaine Zhang (6):
rockchip: power-domain: make idle handling optional
rockchip: power-domain: allow domains only handling idle requests
rockchip: power-domain
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
.../bindings/soc/rockchip/power_domain.txt | 21 +
1 file changed, 21 insertions(+)
diff --git a/Documentation/devi
This driver is modified to support RK3399 SoC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 55 +++
1 file changed, 55 insertions(+)
diff --git a/drivers/soc/rockchip/pm_domains.c
b/drivers/soc/ro
domian follow the TRM reg bits
Elaine Zhang (6):
rockchip: power-domain: make idle handling optional
power-domain: allow domains only handling idle requests
rockchip: power-domain: add support for sub-power domains
dt/bindings: power: add RK3399 SoCs header for power-domain
dt/bindings
Not all new socs need to handle idle states on domain state changes,
so add the possibility to make them optional.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drive
According to a description from TRM, add all the power domains
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/power/rk3399-power.h | 53
1 file changed, 53 insertions(+)
create mode 100644 include/dt-bindings/power/rk3399-p
This patch adds support for making one power domain a sub-domain of
other domain. This is useful for modeling power dependences,
which needs to have more than one power domain enabled to be operational.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_dom
special case if both idle as well power handling
were set as not present, but as the domain-data is defined in the
code itself, we can expect the reasonable developer to define them
in a correct, without adding more checks.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drive
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
.../bindings/soc/rockchip/power_domain.txt | 37 ++
1 file changed, 37 insertions(+)
diff --git a/Documentation/devi
This driver is modified to support RK3399 SoC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 55 +++
1 file changed, 55 insertions(+)
diff --git a/drivers/soc/rockchip/pm_domains.c
b/drivers/soc/ro
domian follow the TRM reg bits
Elaine Zhang (6):
rockchip: power-domain: make idle handling optional
power-domain: allow domains only handling idle requests
rockchip: power-domain: add support for sub-power domains
dt/bindings: power: add RK3399 SoCs header for power-domain
dt/bindings
Not all new socs need to handle idle states on domain state changes,
so add the possibility to make them optional.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drive
special case if both idle as well power handling
were set as not present, but as the domain-data is defined in the
code itself, we can expect the reasonable developer to define them
in a correct, without adding more checks.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drive
This patch adds support for making one power domain a sub-domain of
other domain. This is useful for modeling power dependences,
which needs to have more than one power domain enabled to be operational.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_dom
According to a description from TRM, add all the power domains
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/power/rk3399-power.h | 53
1 file changed, 53 insertions(+)
create mode 100644 include/dt-bindings/power/rk3399-p
This driver is modified to support RK3399 SoC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 55 +++
1 file changed, 55 insertions(+)
diff --git a/drivers/soc/rockchip/pm_domains.c
b/drivers/soc/ro
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
.../bindings/soc/rockchip/power_domain.txt | 37 ++
1 file changed, 37 insertions(+)
diff --git a/Documentation/devi
add qos document in dt-bingings.
modify power domain driver to support qos save and restore.
Elaine Zhang (2):
dt-bindings: modify document of Rockchip power domains
rockchip: power-domain: support qos save and restore
.../bindings/soc/rockchip/power_domain.txt | 8 ++
drivers/soc
Add qos example for power domain which found on Rockchip SoCs.
These qos register description in TRMs
(rk3036, rk3228, rk3288, rk3366, rk3368, rk3399) looks the same.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
Documentation/devicetree/bindings/soc/rockchip/power_domain.t
support qos save and restore when power domain on/off.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 87 +--
1 file changed, 84 insertions(+), 3 deletions(-)
diff --git a/drivers/soc/rockchip/pm_domain
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs.
RK3399 pd on/off not need to enable clk which in this pd.
So remove the clocks in the rk3399 pd example.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
.../bindings/soc/rockchip/power_doma
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs.
RK3399 pd on/off not need to enable clk which in this pd.
So remove the clocks in the rk3399 pd example.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
.../bindings/soc/rockchip/power_doma
This driver is modified to support RK3399 SoC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 55 +++
1 file changed, 55 insertions(+)
diff --git a/drivers/soc/rockchip/pm_domains.c
b/drivers/soc/ro
This patch adds support for making one power domain a sub-domain of
other domain. This is useful for modeling power dependences,
which needs to have more than one power domain enabled to be operational.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_dom
Not all new socs need to handle idle states on domain state changes,
so add the possibility to make them optional.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drive
special case if both idle as well power handling
were set as not present, but as the domain-data is defined in the
code itself, we can expect the reasonable developer to define them
in a correct, without adding more checks.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drive
fix some idle handling
support sub-power domain
add rk3399-power.h
modify document for RK3399 Soc
modify power domain for RK3399 SoC
Changes in v5:
[PATCH v5 3/6]:fix up some coding style
[PATCH v5 5/6]:fix up some coding style
Elaine Zhang (6):
rockchip: power-domain: make idle handling
According to a description from TRM, add all the power domains
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/power/rk3399-power.h | 53
1 file changed, 53 insertions(+)
create mode 100644 include/dt-bindings/power/rk3399-p
On 03/08/2016 06:45 PM, Caesar Wang wrote:
在 2016年03月03日 16:03, Elaine Zhang 写道:
According to a description from TRM, add all the power domains
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/power/rk3399-power.h | 53
++
On 03/08/2016 07:09 PM, Caesar Wang wrote:
在 2016年03月03日 16:09, Elaine Zhang 写道:
Add binding documentation for the power domains
found on Rockchip RK3399 SoCs.
RK3399 pd on/off not need to enable clk which in this pd.
So remove the clocks in the rk3399 pd example.
Signed-off-by: Elaine
hi, Heiko:
Thanks for your replay.
For your questions, I also have the same concerns.
On 04/02/2016 12:19 AM, Heiko Stuebner wrote:
Hi Elaine,
Am Freitag, 1. April 2016, 10:33:45 schrieb Elaine Zhang:
I agree with most of your modifications.
Except, the u32 *qos_save_regs below
you're
hi, Heiko
I agree with most of your modifications.
Except, the u32 *qos_save_regs below
On 04/01/2016 12:31 AM, Heiko Stuebner wrote:
Hi Elaine,
Am Freitag, 18. März 2016, 15:17:24 schrieb Elaine Zhang:
support qos save and restore when power domain on/off.
Signed-off-by: Elaine Zhang
.
These qos blocks also are similar over all currently available Rockchip
SoCs.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
Documentation/devicetree/bindings/soc/rockchip/power_domain.txt | 8
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindin
add qos document in dt-bingings.
modify power domain driver to support qos save and restore.
Changes in v2:
[PATCH V2 1/2]: fix up the commit message.
[PATCH V2 2/2]: add some error handling.
fix up the define and request space for qos_regmap and
qos_save_regs.
Elaine Zhang (2
support qos save and restore when power domain on/off.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 104 --
1 file changed, 101 insertions(+), 3 deletions(-)
diff --git a/drivers/soc/rockchip/pm_domain
Add qos example for power domain which found on Rockchip SoCs.
These qos register description in TRMs
(rk3036, rk3228, rk3288, rk3366, rk3368, rk3399) looks the same.
Changes in v2:
No Changes.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
Documentation/devicetree/bi
support qos save and restore when power domain on/off.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 104 --
1 file changed, 101 insertions(+), 3 deletions(-)
diff --git a/drivers/soc/rockchip/pm_domain
add qos document in dt-bingings.
modify power domain driver to support qos save and restore.
Changes in v2:
[PATCH V2 2/2]: add some error handling.
fix up the define and request space for qos_regmap and
qos_save_regs.
Elaine Zhang (2):
dt-bindings: modify document
On 02/06/2017 08:46 PM, Ulf Hansson wrote:
On 5 February 2017 at 10:34, Elaine Zhang <zhangq...@rock-chips.com> wrote:
On 01/26/2017 05:30 AM, Ulf Hansson wrote:
On 22 January 2017 at 04:34, Elaine Zhang <zhangq...@rock-chips.com>
wrote:
On 01/20/2017 09:16 PM, Ulf H
On 02/07/2017 04:19 PM, Ulf Hansson wrote:
[...]
Unfortunate, I am still not fully understanding the scenarios. As you
indicate, the problem seems related to wakeup settings.
Could you please try to answer the below questions, hopefully it helps
me to better understand.
1)
While starting
On 01/26/2017 05:30 AM, Ulf Hansson wrote:
On 22 January 2017 at 04:34, Elaine Zhang <zhangq...@rock-chips.com> wrote:
On 01/20/2017 09:16 PM, Ulf Hansson wrote:
On 20 January 2017 at 03:21, Elaine Zhang <zhangq...@rock-chips.com>
wrote:
If a PM domain is powered off b
With the newly introduced clk type for muxes in the grf we now can
describe some missing clocks, like the clk_gmac2io and clk_gmac2phy
that selects between clk_mac2io_src and gmac_clkin based on a bit
set in the general register files.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/clock/rk3328-cru.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/clock/rk3328-cru.h
b/include/dt-bindings/clock/rk3328-cru.h
index ee702c8e4c09..d2b26a4b43eb 100644
--- a/include/dt-bi
add clk_mac2io_ext ID.
describe clk_gmac using the new muxgrf type on rk3328.
Elaine Zhang (2):
rockchip: clk: rk3328: add clk_mac2io_ext ID
clk: rockchip: describe clk_gmac using the new muxgrf type on rk3328
drivers/clk/rockchip/clk-rk3328.c | 9 +
include/dt-bindings/clock
On 01/20/2017 09:16 PM, Ulf Hansson wrote:
On 20 January 2017 at 03:21, Elaine Zhang <zhangq...@rock-chips.com> wrote:
If a PM domain is powered off before system suspend,
we hope do nothing in system runtime suspend noirq phase
and system runtime resume noirq phase.
One ca
If pll is power down,when power up pll need wait pll lock.
The reference documents section:
PLL frequency change and lock check
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/clk/rockchip/clk-pll.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drive
on pd_gpu,
power off pd_gpu and disable vdd_gpu.
Fix up in runtime resume noirq phase power on all PDs.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/base/power/domain.c | 10 +++---
include/linux/pm_domain.h | 1 +
2 files changed, 8 insertions(+), 3 deletions(-)
on pd_gpu,
power off pd_gpu and disable vdd_gpu.
Fix up in runtime resume noirq phase power on all PDs.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/base/power/domain.c | 10 +++---
include/linux/pm_domain.h | 1 +
2 files changed, 8 insertions(+), 3 deletions(-)
On 08/30/2016 02:18 AM, Brian Norris wrote:
On Mon, Aug 29, 2016 at 11:11:24AM -0700, Doug Anderson wrote:
On rk3399 we explicitly set ppll in the device tree to 67600. The
ppll has one major child, pclk_pmu_src, that is the parent of lots of
other clocks. Right now nobody is setting
On 08/30/2016 01:54 AM, Heiko Stübner wrote:
Am Montag, 29. August 2016, 10:35:44 schrieb Doug Anderson:
Hi,
On Sun, Aug 28, 2016 at 8:21 AM, Heiko Stübner <he...@sntech.de> wrote:
Hi Xing, Elaine,
Am Dienstag, 2. August 2016, 21:34:12 schrieb Xing Zheng:
From: Elaine Zhang &
1.add pd node for RK3399 Soc
2.create power domain tree
3.add qos node for domain
4.add the pd_emmc consumers node
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm6
1.added the edp,emmc,perihp(pcie,usb2),sd,
sdioaudio(i2s,spdif,sdio,spi5),usb3 pd nodes
2.added the pd consumers node
Elaine Zhang (6):
arm64: dts: rockchip: add pd_edp node for rk3399
arm64: dts: rockchip: add pd_emmc power node for rk3399
arm64: dts: rockchip: add pd_perihp power node
1.add pd node for RK3399 Soc
2.create power domain tree
3.add qos node for domain
4.add the pd_sdioaudio consumers node
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 16
1 file changed, 16 insertions(+)
diff --git
1.add pd node for RK3399 Soc
2.create power domain tree
3.add qos node for domain
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk339
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index b65c193dc64e..52b4bfb52288 100644
--- a/arch
1.add pd node for RK3399 Soc
2.create power domain tree
3.add qos node for domain,include usb2,pcie
4.add the pd_perihp consumers node
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 34
1 file chang
1.add pd node for RK3399 Soc
2.create power domain tree
3.add qos node for domain
4.add the pd_sd consumers node
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm6
According to the advice of the IC,
setting the PMU_GPU_PWRDW/PWRUP_CNT regs 6 cycel(250ns) for RK3399 SOC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/soc/ro
24>] (snd_soc_put_volsw) from [<8058b070>] (snd_ctl_ioctl+0x75c/0xbe8)
[<8058a914>] (snd_ctl_ioctl) from [<80209d04>] (vfs_ioctl+0x30/0x44)
[<80209cd4>] (vfs_ioctl) from [<8020a5ec>] (do_vfs_ioctl+0x7b0/0x884)
[<80209e3c>] (do_vfs_ioctl) from [<8020a704>] (SyS
k the regmap should handle that gracefully,
and may be my modify is not the best way.
But as I described is how to slove that problem.
Elaine Zhang (1):
regmap: drop cache if the bus transfer error
drivers/base/regmap/regmap.c | 2 ++
1 file changed, 2 insertions(+)
--
1.9.1
regmap_write
->_regmap_raw_write
-->regcache_write first and than use map->bus->write to wirte i2c or spi
But if the i2c or spi transfer failed, But the cache is updated, So if I use
regmap_read will get the cache data which is not the real register value.
Signed-off-by: Elaine Z
k the regmap should handle that gracefully,
and may be my modify is not the best way.
But as I described is how to slove that problem.
Elaine Zhang (1):
regmap: drop cache if the bus transfer error
drivers/base/regmap/regmap.c | 2 ++
1 file changed, 2 insertions(+)
--
1.9.1
regmap_write
->_regmap_raw_write
-->regcache_write first and than use map->bus->write to wirte i2c or spi
But if the i2c or spi transfer failed, But the cache is updated, So if I use
regmap_read will get the cache data which is not the real register value.
Signed-off-by: Elaine Z
Register gpd_dev_ops.active_wakeup function to support keep power
during suspend state. And add flag to each power domain to
decide whether keep power during suspend or not.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/soc/rockchip/pm_domains.c
On 08/27/2016 11:05 PM, Shawn Lin wrote:
On 2016/8/27 21:41, Ziyuan Xu wrote:
Control power domain for eMMC via genpd to reduce power consumption.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Ziyuan Xu <xzy...@rock-chips.com>
It looks nice to me. But
On 08/27/2016 11:05 PM, Shawn Lin wrote:
On 2016/8/27 21:41, Ziyuan Xu wrote:
Control power domain for eMMC via genpd to reduce power consumption.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Ziyuan Xu <xzy...@rock-chips.com>
It looks nice to me. But
, but this error message is ignored by clock framework.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
Signed-off-by: Rocky Hao <rocky@rock-chips.com>
---
drivers/clk/rockchip/clk-cpu.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/clk/rockchip/clk-cpu.c b
Elaine Zhang (3):
clk: rockchip: add dt-binding header for rk3328
clk: rockchip: add clock controller for rk3328
clk: rockchip: add new pll-type for rk3328 and similar socs
drivers/clk/rockchip/Makefile |1 +
drivers/clk/rockchip/clk-pll.c | 13 +-
drivers/clk
Add the clock tree definition for the new rk3328 SoC.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/clk/rockchip/Makefile |1 +
drivers/clk/rockchip/clk-rk3328.c | 1068 +
drivers/clk/rockchip/clk.h| 23 +
3 files c
The rk3328's pll and clock are similar with rk3036's,
it different with pll_mode_mask,there are different
adjust foctors and control registers,
so these should be independent and separate from
the series of rk3328s.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
drivers/clk/ro
Add the dt-bindings header for the rk3328, that gets shared between
the clock controller and the clock references in the dts.
Add softreset ID for rk3328.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/clock/rk3328-cru.h | 403 ++
when pd power on/off, the qos regs need to save and restore.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
arch/arm/boot/dts/rk3288.dtsi | 84 +++
1 file changed, 84 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/bo
Add the dt-bindings header for the rk3328, that gets shared between
the clock controller and the clock references in the dts.
Add softreset ID for rk3328.
Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
---
include/dt-bindings/clock/rk3328-cru.h | 403 ++
1 - 100 of 757 matches
Mail list logo