From: Chris Zhong
add pmu_intmem node for suspend, add global_pwroff pinctrl.
The pmu_intmem is used to store the resume code.
global_pwroff is held low level at work, it would be pull to high
when entering suspend. PMICs can get this singal, then shut down
some power rails. So please reference t
From: Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the
address of it. Therefore add a binding and documentation for it.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
Changes in v3: None
Changes in v2: None
.../devicetree/bindings/arm/rockchip/pmu-s
From: Chris Zhong
It's a basic version of suspend and resume for rockchip, it only support RK3288
now.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
Changes in v3:
- move the pinmux of gpio6_c6 save and restore to pinctrl-rockchip
Changes in v2:
- add the regulator calls in prepare
From: Chris Zhong
save and restore some clks, which might be changed in suspend.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
Changes in v3: None
Changes in v2:
- __raw_readl/__raw_writel replaced by readl_relaxed/writel_relaxed
drivers/clk/rockchip/clk-rk3288.c | 63 ++
From: Chris Zhong
Save and restore the gpio6_c6 pinmux setting, since Maskrom of RK3288
would modify it to sdmmc0_det, so it need to be restored to the correct
setting after resume from Maskrom.
Signed-off-by: Chris Zhong
---
Changes in v3: None
Changes in v2: None
drivers/pinctrl/pinctrl-ro
From: Chris
support suspend/resume of pinctrl, it allows handling sleep mode
for hogged pins in pinctrl
Signed-off-by: Chris
Signed-off-by: Chris Zhong
---
Changes in v3: None
Changes in v2: None
drivers/pinctrl/pinctrl-rockchip.c | 29 +
1 file changed, 29 ins
From: Chris Zhong
this is the 1st version of suspend. RK3288 can shut down the cpu, gpu and
other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin
to high in the final stage of the process of suspend, pull the pin to low again
when resume.
Changes in v3:
- move the pinmux of
From: Chris Zhong
It's a basic version of suspend and resume for rockchip, it only support RK3288
now.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
Changes in v2:
- add the regulator calls in prepare and finish.
- add the pinmux of gpio6_c6 save and restore
arch/arm/mach-rockchip
From: Chris Zhong
add pmu_intmem node for suspend, add global_pwroff pinctrl.
The pmu_intmem is used to store the resume code.
global_pwroff is held low level at work, it would be pull to high
when entering suspend. PMICs can get this singal, then shut down
some power rails. So please reference t
From: Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the
address of it. Therefore add a binding and documentation for it.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
Changes in v2: None
.../devicetree/bindings/arm/rockchip/pmu-sram.txt | 15
From: Chris Zhong
save and restore some clks, which might be changed in suspend.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
Changes in v2:
- __raw_readl/__raw_writel replaced by readl_relaxed/writel_relaxed
drivers/clk/rockchip/clk-rk3288.c | 63 ++
From: Chris Zhong
this is the 1st version of suspend. RK3288 can shut down the cpu, gpu and
other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin
to high in the final stage of the process of suspend, pull the pin to low again
when resume.
Changes in v2:
- __raw_readl/__raw_
From: Chris Zhong
The pmu-sram is used to store resume code, suspend/resume need get the
address of it. Therefore add a node and documentation for it.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
.../devicetree/bindings/arm/rockchip/pmu-sram.txt | 15 +++
1 file cha
From: Chris Zhong
add pmu_intmem subnode for suspend, add suspend pinctrl
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
arch/arm/boot/dts/rk3288.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
inde
From: Chris Zhong
save and restore some clks, which might be changed in suspend.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
drivers/clk/rockchip/clk-rk3288.c | 61 +
1 file changed, 61 insertions(+)
diff --git a/drivers/clk/rockchip/clk-rk32
From: Chris Zhong
It's a basic version of suspend and resume for rockchip, it only support RK3288
now.
Signed-off-by: Tony Xie
Signed-off-by: Chris Zhong
---
arch/arm/mach-rockchip/Makefile |1 +
arch/arm/mach-rockchip/pm.c | 292 +
arch/arm/m
From: Chris Zhong
this is the 1st version of suspend. RK3288 can shut down the cpu, gpu and
other device controllers in suspend, and it will pull the GLOBAL_PWROFF pin
to high in the final stage of the process of suspend, pull the pin to low again
when resume.
Chris Zhong (4):
ARM: rockchip:
17 matches
Mail list logo