Re: [PATCHv1 0/2] Add FSYS2 power domain for MMC driver

From: Anand Moon
Date: Thu Feb 13 2020 - 08:29:06 EST


hi Krzysztof,

On Thu, 13 Feb 2020 at 15:47, Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
>
> On Wed, Feb 12, 2020 at 12:02:35PM +0000, Anand Moon wrote:
> > This patches add the power domain for MMC driver,
> > but somehow the suspend/resume feature is broken
> > so any input on how to fix this.
>
> I think S2R was working on XU3-family after Marek's fixes, so you mean
> that these patches break it?
>
Yes I my testing mmc driver failed to come up after suspend.

But I see below in power domain, Just to confirm.
# cat /sys/kernel/debug/pm_genpd/pm_genpd_summary
domain status slaves
/device runtime status
----------------------------------------------------------------------
CAM off-0
FSYS2 on
/devices/platform/soc/10010000.clock-controller/exynos5-subcmu.6.auto
active
/devices/platform/soc/12200000.mmc active
/devices/platform/soc/12220000.mmc active

# powerdebug -d
FSYS2:
current_state: on
active_time: 29016991 ms
total_idle_time: 4037 ms
Idle States:
State Time
S0 4037
Devices:
/devices/platform/soc/10010000.clock-controller/exynos5-subcmu.6.auto
/devices/platform/soc/12200000.mmc
/devices/platform/soc/12220000.mmc

> Best regards,
> Krzysztof
>
>

-Anand

> >
> > Also on similar lines I tried to add power domain
> > FSYS for usb3 and usb2 nodes but this time
> > it failed to load the kernel, so how can I reslove
> > this issue.
> >
> > -Anand
> >
> > Anand Moon (2):
> > ARM: dts: exynos: Add FSYS2 power domain to Exynos542x
> > clk: samsung: exynos542x: Move FSYS2 subsystem clocks to its sub-CMU
> >
> > arch/arm/boot/dts/exynos5420.dtsi | 10 ++++++++++
> > drivers/clk/samsung/clk-exynos5420.c | 24 +++++++++++++++++++++---
> > 2 files changed, 31 insertions(+), 3 deletions(-)
> >
> > --
> > 2.25.0
> >