ock during
communication.
fixes: e9ed8835e990 ("mmc: dw_mmc: add runtime PM callback")
Reported-by: Randy Li
Signed-off-by: Ziyuan Xu
---
Hi guys,
I found a similar issue on rk3399 platform, which has a genpd node for
SD card host. Power off-on pd will reset the registers to a default
value (
("mmc: dw_mmc: add runtime PM
callback"). MMC_PM_KEEP_POWEP is disabled for SD card and eMMC slots, so
that they have no chance to invoke dw_mci_setup_bus for update clock
behaviour. Let's consummate it.
Reported-by: Randy Li
Signed-off-by: Ziyuan Xu
---
Changes in v3:
- only reset h
("mmc: dw_mmc: add runtime PM
callback"). MMC_PM_KEEP_POWEP is disabled for SD card and eMMC slots, so
that they have no chance to invoke dw_mci_setup_bus for update clock
behaviour. Let's consummate it.
Reported-by: Randy Li
Signed-off-by: Ziyuan Xu
Signed-off-by: Shawn Lin
---
C
s disabled for SD card and eMMC slots, so
that they have no chance to invoke dw_mci_setup_bus for update clock
behaviour. Let's consummate it.
Reported-by: Randy Li
Signed-off-by: Ziyuan Xu
---
Changes in v2:
- update the commit message
- use dw_mci_reset instead of dw_mci_ctrl_reset
d
Let's fix the warnings from checkpatch.pl:
- line over 80 characters;
- block comments should align the * on each Lines;
- statements not starting on a tabstop.
Signed-off-by: Ziyuan Xu
---
drivers/mmc/host/dw_mmc.c | 33 +
1 file changed, 17 insertions(+
hi Elaine,
On 2016年09月09日 15:40, Elaine Zhang wrote:
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
I had push this patch, see [0]
[0] https://patchwork.kernel.org/patch/9320423/
---
arch/ar
Hi Ulf,
On 2016年09月02日 18:24, Ulf Hansson wrote:
On 1 September 2016 at 23:50, Doug Anderson wrote:
>Hi,
>
>On Thu, Sep 1, 2016 at 6:45 AM, Ulf Hansson wrote:
>>I was reading the discussion regarding this change and browsing the DT
>>documentation around this... Can you guys explain what re
On 2016年09月02日 05:29, Doug Anderson wrote:
Hi,
On Wed, Aug 31, 2016 at 11:56 PM, Ziyuan Xu wrote:
Hi
On 2016年09月01日 12:20, Doug Anderson wrote:
Hi,
On Wed, Aug 31, 2016 at 7:29 PM, Ziyuan Xu wrote:
This is fine to pick up _only_ if you don't care about suspend/resume.
If you
Hi
On 2016年09月01日 12:20, Doug Anderson wrote:
Hi,
On Wed, Aug 31, 2016 at 7:29 PM, Ziyuan Xu wrote:
This is fine to pick up _only_ if you don't care about suspend/resume.
If you care about suspend/resume then someone needs to first write a
patch that will re-init all "corecfg&quo
Hi,
On 2016年09月01日 01:42, Doug Anderson wrote:
Hi,
On Sun, Aug 28, 2016 at 8:25 PM, Shawn Lin wrote:
On 2016/8/29 10:50, Elaine Zhang wrote:
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
Without this series of patches, we can't gate aclk_emmcgrf even though
driver enter suspend/remove. It meaningful to save power consumption.
It looks nice to me, and also I have tested on rk3399 board, so
Tested-by: Ziyuan Xu
Changes in v2:
- assign NULL to clk_syscon if it's not
Hi Shawn,
On 2016年08月31日 09:37, Shawn Lin wrote:
We are intent on letting the sdhci variant driver handle this
optional clock on rk3399 platform now.
Signed-off-by: Shawn Lin
---
Thanks for your patch, we can gate aclk_emmcgrf now as soon as sdhci
driver suspend.
Reviewed-by: Ziyuan Xu
e, so
Tested-by: Ziyuan Xu
---
Changes in v2: None
drivers/clk/rockchip/clk-rk3399.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk-rk3399.c
b/drivers/clk/rockchip/clk-rk3399.c
index ede6c47..908f684 100644
--- a/drivers/clk/rockchip/clk-rk3
On 2016年08月27日 22:50, Shawn Lin wrote:
On 2016/8/27 21:41, Ziyuan Xu wrote:
Add power domain as a optional property for sdhci-of-arasan, which can
be truned off in the so-called unused condition, such as suspend and
remove. Aim to lower power requirements.
Signed-off-by: Ziyuan Xu
Add power domain as a optional property for sdhci-of-arasan, which can
be truned off in the so-called unused condition, such as suspend and
remove. Aim to lower power requirements.
Signed-off-by: Ziyuan Xu
---
Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 6 +-
1 file changed
Control power domain for eMMC via genpd to reduce power consumption.
Signed-off-by: Elaine Zhang
Signed-off-by: Ziyuan Xu
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
b/arch/arm64/boot
This series add power domain for eMMC node which will be controlled by
genpd to make sure it's available in probing state, and will be off
once suspend/remove.
Ziyuan Xu (2):
Documentation: mmc: sdhci-of-arasan: add description of power domain
arm64: dts: rockchip: add eMMC's po
17 matches
Mail list logo