linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan
@ 2016-07-29  4:14 Shawn Lin
  2016-07-29  4:14 ` [PATCH 1/5] Documentation: mmc: synopsys-dw-mshc: add power domain description Shawn Lin
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Shawn Lin @ 2016-07-29  4:14 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring, Jaehoon Chung, Ulf Hansson
  Cc: linux-mmc, devicetree, linux-rockchip, Douglas Anderson,
	Brian Norris, Feng Xiao, Elaine Zhang, linux-kernel, Shawn Lin


We need to enable the power domain manually while probing as the
power policy will turn off the pd which is not referenced. Otherwise
we may take risk of breaking kernel once Feng Xiao land the rockchip pd
relate stuff. So, let's do it in advance.

This pachset is based on the latest linux-next[1] which should contain
the next branch of linux-mmc and dt stuff. It's ideal to pack these all
into Ulf' tree with Heiko's ack for dts, Rob's ack for Doc and Jaehoon's
ack for dw_mmc. But it's okay to be merged seperately.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

Thanks.



Shawn Lin (5):
  Documentation: mmc: synopsys-dw-mshc: add power domain description
  Documentation: mmc: sdhci-of-arasan: add power domain description
  arm64: dts: rockchip: Provide power-domains for sd/sdio/emmc
    controllers
  mmc: dw_mmc: add power domain support
  mmc: sdhci-of-arasan: add power domain support

 Documentation/devicetree/bindings/mmc/arasan,sdhci.txt     |  1 +
 Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt |  2 ++
 arch/arm64/boot/dts/rockchip/rk3399.dtsi                   |  3 +++
 drivers/mmc/host/dw_mmc.c                                  | 11 +++++++++++
 drivers/mmc/host/sdhci-of-arasan.c                         | 10 ++++++++++
 5 files changed, 27 insertions(+)

-- 
2.3.7

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/5] Documentation: mmc: synopsys-dw-mshc: add power domain description
  2016-07-29  4:14 [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Shawn Lin
@ 2016-07-29  4:14 ` Shawn Lin
  2016-07-29 21:43   ` Rob Herring
  2016-07-29  4:15 ` [PATCH 2/5] Documentation: mmc: sdhci-of-arasan: " Shawn Lin
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 10+ messages in thread
From: Shawn Lin @ 2016-07-29  4:14 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring, Jaehoon Chung, Ulf Hansson
  Cc: linux-mmc, devicetree, linux-rockchip, Douglas Anderson,
	Brian Norris, Feng Xiao, Elaine Zhang, linux-kernel, Shawn Lin

This patch adds power domain as a optional property for dw_mmc.
We should handle the power domain if available as it's in off
state dut to the policy of power-saving after booting up. Otherwise
dw_mmc can not be accessed.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

---

 Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
index 8636f5a..f48febd 100644
--- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
+++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
@@ -81,6 +81,8 @@ Optional properties:
 * dma-names: request names for generic DMA client binding. Must be "rx-tx".
   Refer to dma.txt for details.
 
+* power-domains: Must contain a reference to the PM domain, if available.
+
 Aliases:
 
 - All the MSHC controller nodes should be represented in the aliases node using
-- 
2.3.7

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/5] Documentation: mmc: sdhci-of-arasan: add power domain description
  2016-07-29  4:14 [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Shawn Lin
  2016-07-29  4:14 ` [PATCH 1/5] Documentation: mmc: synopsys-dw-mshc: add power domain description Shawn Lin
@ 2016-07-29  4:15 ` Shawn Lin
  2016-07-29 21:43   ` Rob Herring
  2016-07-29  4:15 ` [PATCH 3/5] arm64: dts: rockchip: Provide power-domains for sd/sdio/emmc controllers Shawn Lin
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 10+ messages in thread
From: Shawn Lin @ 2016-07-29  4:15 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring, Jaehoon Chung, Ulf Hansson
  Cc: linux-mmc, devicetree, linux-rockchip, Douglas Anderson,
	Brian Norris, Feng Xiao, Elaine Zhang, linux-kernel, Shawn Lin

This patch adds power domain as a optional property for sdhci-of-arasan.
We should handle the power domain if available as it's in off
state due to the policy of power-saving after booting up. Otherwise
controller can not be accessed.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt
index 3404afa..b5fb563 100644
--- a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt
+++ b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt
@@ -36,6 +36,7 @@ Optional Properties:
   - #clock-cells: If specified this should be the value <0>.  With this property
     in place we will export a clock representing the Card Clock.  This clock
     is expected to be consumed by our PHY.  You must also specify
+  - power-domains: Must contain a reference to the PM domain, if available.
 
 Example:
 	sdhci@e0100000 {
-- 
2.3.7

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/5] arm64: dts: rockchip: Provide power-domains for sd/sdio/emmc controllers
  2016-07-29  4:14 [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Shawn Lin
  2016-07-29  4:14 ` [PATCH 1/5] Documentation: mmc: synopsys-dw-mshc: add power domain description Shawn Lin
  2016-07-29  4:15 ` [PATCH 2/5] Documentation: mmc: sdhci-of-arasan: " Shawn Lin
@ 2016-07-29  4:15 ` Shawn Lin
  2016-07-29  4:15 ` [PATCH 4/5] mmc: dw_mmc: add power domain support Shawn Lin
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Shawn Lin @ 2016-07-29  4:15 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring, Jaehoon Chung, Ulf Hansson
  Cc: linux-mmc, devicetree, linux-rockchip, Douglas Anderson,
	Brian Norris, Feng Xiao, Elaine Zhang, linux-kernel, Shawn Lin

We add these two properties as we need to enable it manually in case
of been turned off by pd code if not referenced. We can't take risk of
it, so let's do it.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 4c84229..5744883 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -210,6 +210,7 @@
 			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
 		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
 		fifo-depth = <0x100>;
+		power-domains = <&power RK3399_PD_SDIOAUDIO>;
 		status = "disabled";
 	};
 
@@ -223,6 +224,7 @@
 			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
 		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
 		fifo-depth = <0x100>;
+		power-domains = <&power RK3399_PD_SD>;
 		status = "disabled";
 	};
 
@@ -239,6 +241,7 @@
 		#clock-cells = <0>;
 		phys = <&emmc_phy>;
 		phy-names = "phy_arasan";
+		power-domains = <&power RK3399_PD_EMMC>;
 		status = "disabled";
 	};
 
-- 
2.3.7

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/5] mmc: dw_mmc: add power domain support
  2016-07-29  4:14 [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Shawn Lin
                   ` (2 preceding siblings ...)
  2016-07-29  4:15 ` [PATCH 3/5] arm64: dts: rockchip: Provide power-domains for sd/sdio/emmc controllers Shawn Lin
@ 2016-07-29  4:15 ` Shawn Lin
  2016-07-29  4:16 ` [PATCH 5/5] mmc: sdhci-of-arasan: " Shawn Lin
  2016-07-29  9:21 ` [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Ulf Hansson
  5 siblings, 0 replies; 10+ messages in thread
From: Shawn Lin @ 2016-07-29  4:15 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring, Jaehoon Chung, Ulf Hansson
  Cc: linux-mmc, devicetree, linux-rockchip, Douglas Anderson,
	Brian Norris, Feng Xiao, Elaine Zhang, linux-kernel, Shawn Lin

We should enable power domain once provided. Otherwise
we take risk of bus err as it's maybe in off state before
probing.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 drivers/mmc/host/dw_mmc.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 32380d5..8b39168 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -22,6 +22,8 @@
 #include <linux/ioport.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
+#include <linux/pm_runtime.h>
+#include <linux/pm_opp.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>
 #include <linux/stat.h>
@@ -3024,6 +3026,9 @@ int dw_mci_probe(struct dw_mci *host)
 		host->bus_hz = clk_get_rate(host->ciu_clk);
 	}
 
+	pm_runtime_enable(host->dev);
+	pm_runtime_get_sync(host->dev);
+
 	if (!host->bus_hz) {
 		dev_err(host->dev,
 			"Platform data must supply bus speed\n");
@@ -3197,6 +3202,9 @@ err_clk_biu:
 	if (!IS_ERR(host->biu_clk))
 		clk_disable_unprepare(host->biu_clk);
 
+	pm_runtime_put(host->dev);
+	pm_runtime_disable(host->dev);
+
 	return ret;
 }
 EXPORT_SYMBOL(dw_mci_probe);
@@ -3226,6 +3234,9 @@ void dw_mci_remove(struct dw_mci *host)
 
 	if (!IS_ERR(host->biu_clk))
 		clk_disable_unprepare(host->biu_clk);
+
+	pm_runtime_put(host->dev);
+	pm_runtime_disable(host->dev);
 }
 EXPORT_SYMBOL(dw_mci_remove);
 
-- 
2.3.7

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 5/5] mmc: sdhci-of-arasan: add power domain support
  2016-07-29  4:14 [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Shawn Lin
                   ` (3 preceding siblings ...)
  2016-07-29  4:15 ` [PATCH 4/5] mmc: dw_mmc: add power domain support Shawn Lin
@ 2016-07-29  4:16 ` Shawn Lin
  2016-07-29  9:21 ` [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Ulf Hansson
  5 siblings, 0 replies; 10+ messages in thread
From: Shawn Lin @ 2016-07-29  4:16 UTC (permalink / raw)
  To: Heiko Stuebner, Rob Herring, Jaehoon Chung, Ulf Hansson
  Cc: linux-mmc, devicetree, linux-rockchip, Douglas Anderson,
	Brian Norris, Feng Xiao, Elaine Zhang, linux-kernel, Shawn Lin

We should enable power domain once provided. Otherwise
we take risk of bus err as it's maybe in off state before
probing.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 drivers/mmc/host/sdhci-of-arasan.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
index e0f193f..e507e94 100644
--- a/drivers/mmc/host/sdhci-of-arasan.c
+++ b/drivers/mmc/host/sdhci-of-arasan.c
@@ -25,6 +25,8 @@
 #include <linux/of_device.h>
 #include <linux/phy/phy.h>
 #include <linux/regmap.h>
+#include <linux/pm_runtime.h>
+#include <linux/pm_opp.h>
 #include "sdhci-pltfm.h"
 
 #define SDHCI_ARASAN_CLK_CTRL_OFFSET	0x2c
@@ -515,6 +517,9 @@ static int sdhci_arasan_probe(struct platform_device *pdev)
 		goto clk_dis_ahb;
 	}
 
+	pm_runtime_enable(host->dev);
+	pm_runtime_get_sync(host->dev);
+
 	sdhci_get_of_property(pdev);
 	pltfm_host->clk = clk_xin;
 
@@ -577,6 +582,8 @@ clk_dis_ahb:
 	clk_disable_unprepare(sdhci_arasan->clk_ahb);
 err_pltfm_free:
 	sdhci_pltfm_free(pdev);
+	pm_runtime_put(host->dev);
+	pm_runtime_disable(host->dev);
 	return ret;
 }
 
@@ -599,6 +606,9 @@ static int sdhci_arasan_remove(struct platform_device *pdev)
 
 	clk_disable_unprepare(clk_ahb);
 
+	pm_runtime_put(host->dev);
+	pm_runtime_disable(host->dev);
+
 	return ret;
 }
 
-- 
2.3.7

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan
  2016-07-29  4:14 [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Shawn Lin
                   ` (4 preceding siblings ...)
  2016-07-29  4:16 ` [PATCH 5/5] mmc: sdhci-of-arasan: " Shawn Lin
@ 2016-07-29  9:21 ` Ulf Hansson
  2016-08-01  3:10   ` Shawn Lin
  5 siblings, 1 reply; 10+ messages in thread
From: Ulf Hansson @ 2016-07-29  9:21 UTC (permalink / raw)
  To: Shawn Lin
  Cc: Heiko Stuebner, Rob Herring, Jaehoon Chung, linux-mmc,
	devicetree, open list:ARM/Rockchip SoC...,
	Douglas Anderson, Brian Norris, Feng Xiao, Elaine Zhang,
	linux-kernel

On 29 July 2016 at 06:14, Shawn Lin <shawn.lin@rock-chips.com> wrote:
>
> We need to enable the power domain manually while probing as the
> power policy will turn off the pd which is not referenced. Otherwise

I assume you are going to use the generic PM domain (genpd)?
If so, this statement isn't entirely correct.

As a matter of fact, the PM domain will be "powered on" once you have
registered your PM domain with genpd and when the device (dw_mmc etc)
gets attached to the domain. The attach occurs when the platform bus'
->probe() function get invoked for the device.

Genpd monitors each device within the domain. To allow it to "power
off", all devices in same domain needs to be runtime PM enabled and
runtime PM suspended.

Due to this, you should be able to deploy genpd support+an updated
DTB, without first having to deploying runtime PM support in the
related drivers. In other words, you should be able to work on these
things almost independently of each other.

> we may take risk of breaking kernel once Feng Xiao land the rockchip pd
> relate stuff. So, let's do it in advance.
>
> This pachset is based on the latest linux-next[1] which should contain
> the next branch of linux-mmc and dt stuff. It's ideal to pack these all
> into Ulf' tree with Heiko's ack for dts, Rob's ack for Doc and Jaehoon's
> ack for dw_mmc. But it's okay to be merged seperately.
>
> [1] git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>
> Thanks.
>
>
>
> Shawn Lin (5):
>   Documentation: mmc: synopsys-dw-mshc: add power domain description
>   Documentation: mmc: sdhci-of-arasan: add power domain description

To me this isn't necessary to describe for each device. I think
Documentation/devicetree/bindings/power/power_domain.txt describes all
that is needed.

>   arm64: dts: rockchip: Provide power-domains for sd/sdio/emmc
>     controllers
>   mmc: dw_mmc: add power domain support
>   mmc: sdhci-of-arasan: add power domain support

I would rephrase these commit message headers, to something like
"Deploy runtime PM support", as that is actually what you intend to
do.

>
>  Documentation/devicetree/bindings/mmc/arasan,sdhci.txt     |  1 +
>  Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt |  2 ++
>  arch/arm64/boot/dts/rockchip/rk3399.dtsi                   |  3 +++
>  drivers/mmc/host/dw_mmc.c                                  | 11 +++++++++++
>  drivers/mmc/host/sdhci-of-arasan.c                         | 10 ++++++++++
>  5 files changed, 27 insertions(+)
>
> --
> 2.3.7
>
>

Kind regards
Uffe

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/5] Documentation: mmc: synopsys-dw-mshc: add power domain description
  2016-07-29  4:14 ` [PATCH 1/5] Documentation: mmc: synopsys-dw-mshc: add power domain description Shawn Lin
@ 2016-07-29 21:43   ` Rob Herring
  0 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2016-07-29 21:43 UTC (permalink / raw)
  To: Shawn Lin
  Cc: Heiko Stuebner, Jaehoon Chung, Ulf Hansson, linux-mmc,
	devicetree, linux-rockchip, Douglas Anderson, Brian Norris,
	Feng Xiao, Elaine Zhang, linux-kernel

On Fri, Jul 29, 2016 at 12:14:59PM +0800, Shawn Lin wrote:
> This patch adds power domain as a optional property for dw_mmc.
> We should handle the power domain if available as it's in off
> state dut to the policy of power-saving after booting up. Otherwise
> dw_mmc can not be accessed.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> 
> ---
> 
>  Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | 2 ++
>  1 file changed, 2 insertions(+)

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/5] Documentation: mmc: sdhci-of-arasan: add power domain description
  2016-07-29  4:15 ` [PATCH 2/5] Documentation: mmc: sdhci-of-arasan: " Shawn Lin
@ 2016-07-29 21:43   ` Rob Herring
  0 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2016-07-29 21:43 UTC (permalink / raw)
  To: Shawn Lin
  Cc: Heiko Stuebner, Jaehoon Chung, Ulf Hansson, linux-mmc,
	devicetree, linux-rockchip, Douglas Anderson, Brian Norris,
	Feng Xiao, Elaine Zhang, linux-kernel

On Fri, Jul 29, 2016 at 12:15:00PM +0800, Shawn Lin wrote:
> This patch adds power domain as a optional property for sdhci-of-arasan.
> We should handle the power domain if available as it's in off
> state due to the policy of power-saving after booting up. Otherwise
> controller can not be accessed.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---
> 
>  Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan
  2016-07-29  9:21 ` [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Ulf Hansson
@ 2016-08-01  3:10   ` Shawn Lin
  0 siblings, 0 replies; 10+ messages in thread
From: Shawn Lin @ 2016-08-01  3:10 UTC (permalink / raw)
  To: Ulf Hansson
  Cc: shawn.lin, Heiko Stuebner, Rob Herring, Jaehoon Chung, linux-mmc,
	devicetree, open list:ARM/Rockchip SoC...,
	Douglas Anderson, Brian Norris, Feng Xiao, Elaine Zhang,
	linux-kernel

在 2016/7/29 17:21, Ulf Hansson 写道:
> On 29 July 2016 at 06:14, Shawn Lin <shawn.lin@rock-chips.com> wrote:
>>
>> We need to enable the power domain manually while probing as the
>> power policy will turn off the pd which is not referenced. Otherwise
>
> I assume you are going to use the generic PM domain (genpd)?

yes.

> If so, this statement isn't entirely correct.
>
> As a matter of fact, the PM domain will be "powered on" once you have
> registered your PM domain with genpd and when the device (dw_mmc etc)
> gets attached to the domain. The attach occurs when the platform bus'
> ->probe() function get invoked for the device.
>
> Genpd monitors each device within the domain. To allow it to "power
> off", all devices in same domain needs to be runtime PM enabled and
> runtime PM suspended.

I will check this with my PM guys as I have limited knowledge about
PM stuff. Thanks for these great info.


So, if my real intention is to just enable genpd to make sure it will
be in "power on " stat, I just need to update my DTS/DTB. That would be
great.:)

>
> Due to this, you should be able to deploy genpd support+an updated
> DTB, without first having to deploying runtime PM support in the
> related drivers. In other words, you should be able to work on these
> things almost independently of each other.

sure.

>
>> we may take risk of breaking kernel once Feng Xiao land the rockchip pd
>> relate stuff. So, let's do it in advance.
>>
>> This pachset is based on the latest linux-next[1] which should contain
>> the next branch of linux-mmc and dt stuff. It's ideal to pack these all
>> into Ulf' tree with Heiko's ack for dts, Rob's ack for Doc and Jaehoon's
>> ack for dw_mmc. But it's okay to be merged seperately.
>>
>> [1] git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>>
>> Thanks.
>>
>>
>>
>> Shawn Lin (5):
>>   Documentation: mmc: synopsys-dw-mshc: add power domain description
>>   Documentation: mmc: sdhci-of-arasan: add power domain description
>
> To me this isn't necessary to describe for each device. I think
> Documentation/devicetree/bindings/power/power_domain.txt describes all
> that is needed.
>
>>   arm64: dts: rockchip: Provide power-domains for sd/sdio/emmc
>>     controllers
>>   mmc: dw_mmc: add power domain support
>>   mmc: sdhci-of-arasan: add power domain support
>
> I would rephrase these commit message headers, to something like
> "Deploy runtime PM support", as that is actually what you intend to
> do.
>
>>
>>  Documentation/devicetree/bindings/mmc/arasan,sdhci.txt     |  1 +
>>  Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt |  2 ++
>>  arch/arm64/boot/dts/rockchip/rk3399.dtsi                   |  3 +++
>>  drivers/mmc/host/dw_mmc.c                                  | 11 +++++++++++
>>  drivers/mmc/host/sdhci-of-arasan.c                         | 10 ++++++++++
>>  5 files changed, 27 insertions(+)
>>
>> --
>> 2.3.7
>>
>>
>
> Kind regards
> Uffe
>
>
>


-- 
Best Regards
Shawn Lin

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-01  3:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-29  4:14 [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Shawn Lin
2016-07-29  4:14 ` [PATCH 1/5] Documentation: mmc: synopsys-dw-mshc: add power domain description Shawn Lin
2016-07-29 21:43   ` Rob Herring
2016-07-29  4:15 ` [PATCH 2/5] Documentation: mmc: sdhci-of-arasan: " Shawn Lin
2016-07-29 21:43   ` Rob Herring
2016-07-29  4:15 ` [PATCH 3/5] arm64: dts: rockchip: Provide power-domains for sd/sdio/emmc controllers Shawn Lin
2016-07-29  4:15 ` [PATCH 4/5] mmc: dw_mmc: add power domain support Shawn Lin
2016-07-29  4:16 ` [PATCH 5/5] mmc: sdhci-of-arasan: " Shawn Lin
2016-07-29  9:21 ` [PATCH 0/5] Add power domain support for dw_mmc/sdhci-of-arasan Ulf Hansson
2016-08-01  3:10   ` Shawn Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).