From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Shawn Lin <shawn.lin@rock-chips.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Jaehoon Chung <jh80.chung@samsung.com>,
Seungwon Jeon <tgih.jun@samsung.com>
Cc: dianders@chromium.org, linux-mips@linux-mips.org,
Arnd Bergmann <arnd@arndb.de>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Alexey Brodkin <abrodkin@synopsys.com>,
Stefan Agner <stefan@agner.ch>,
Zhou Wang <wangzhou.bry@gmail.com>,
Kumar Gala <galak@codeaurora.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Wang Long <long.wanglong@huawei.com>,
Rob Herring <robh+dt@kernel.org>,
Chaotian Jing <chaotian.jing@mediatek.com>,
Lukasz Majewski <l.majewski@samsung.com>,
Jun Nie <jun.nie@linaro.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Kevin Hao <haokexin@gmail.com>, Olof Johansson <olof@lixom.net>,
Ray Jui <rjui@broadcom.com>,
Govindraj Raja <govindraj.raja@imgtec.com>,
linux-samsung-soc@vger.kernel.org,
Heiko Stuebner <heiko@sntech.de>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Vineet Gupta <vgupta@synopsys.com>,
Scott Branden <sbranden@broadcom.com>,
Anand Moon <linux.amoon@gmail.com>,
linux-rockchip@lists.infradead.org,
Tushar Behera <trblinux@gmail.com>,
Pawel Moll <pawel.moll@arm.com>,
Will Deacon <will.deacon@arm.com>,
Mischa Jonker <mjonker@synopsys.com>,
Ralf Baechle <ralf@linux-mips.org>,
Javier Martinez Canillas <javier.martinez@collabora.co.uk>,
Vincent Yang <vincent.yang.fujitsu@gmail.com>,
Stephen Warren <swarren@nvidia.com>,
devicetree@vger.kernel.org, Kukjin Kim <kgene@kernel.org>,
Tomeu Vizoso <tomeu.vizoso@collabora.com>,
Stephen Boyd <sboyd@codeaurora.org>,
Russell King <linux@arm.linux.org.uk>,
Joachim Eastwood <manabian@gmail.com>,
Sjoerd Simons <sjoerd.simons@collabora.co.uk>,
Weijun Yang <Weijun.Yang@csr.com>,
Peter Griffin <peter.griffin@linaro.org>,
linux-arm-kernel@lists.infradead.org,
addy ke <addy.ke@rock-chips.com>,
Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>,
Jean Delvare <jdelvare@suse.de>,
Kevin Hilman <khilman@linaro.org>,
Andrew Bresticker <abrestic@chromium.org>,
linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
Zhangfei Gao <zhangfei.gao@linaro.org>,
Wei Xu <xuwei5@hisilicon.com>, Andreas Faerber <afaerber@suse.de>,
Mark Rutland <mark.rutland@arm.com>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: Re: [RFC PATCH v3 2/5] Documentation: synopsys-dw-mshc: add bindings for idmac and edmac
Date: Wed, 05 Aug 2015 17:27:21 +0900 [thread overview]
Message-ID: <55C1C8E9.1060808@samsung.com> (raw)
In-Reply-To: <1438762672-22243-1-git-send-email-shawn.lin@rock-chips.com>
On 05.08.2015 17:17, Shawn Lin wrote:
> synopsys-dw-mshc supports three types of transfer mode. We add bindings
> and description for how to use them at runtime. Without idmac and edmac
> property, pio is the default transfer mode. Make sure that Idmac and emdac
> should not be used simultaneously.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> .../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 41 ++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
> index 346c609..30369cb 100644
> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
> @@ -75,6 +75,25 @@ Optional properties:
> * vmmc-supply: The phandle to the regulator to use for vmmc. If this is
> specified we'll defer probe until we can find this regulator.
>
> +* supports-idmac: Enables support for internal DMAC block within the Synopsys
> + Designware Mobile Storage IP block. If supports-idmac property is present, then
> + we MUST NOT add supports-edmac property since we'd assume that dw-mshc IP is
> + integrated with only one type of dma master.
> +
> +* supports-edmac: Enables support for external DMAC block outside the Synopsys
> + Designware Mobile Storage IP block. If supports-edmac property is present, then
> + we MUST NOT add supports-idmac property since we'd assume that dw-mshc IP is
> + integrated with only one type of dma master.
> +
> + (Without "supports-idmac" and "supports-edmac", use PIO as default transfer mode)
Aren't you breaking here backward compatibility with existing DTB?
Best regards,
Krzysztof
> +
> +* dmas: List of DMA specifiers with the controller specific format as described
> + in the generic DMA client binding. This property should be combined with
> + supports-edmac. Refer to dma.txt for details.
> +
> +* dma-names: DMA request names. Must be "rx-tx". And This property should be
> + combined with supports-edmac. Refer to dma.txt for details.
> +
> Aliases:
>
> - All the MSHC controller nodes should be represented in the aliases node using
> @@ -95,6 +114,8 @@ board specific portions as listed below.
> #size-cells = <0>;
> };
>
> +[board specific internal DMA resources]
> +
> dwmmc0@12200000 {
> clock-frequency = <400000000>;
> clock-freq-min-max = <400000 200000000>;
> @@ -106,4 +127,24 @@ board specific portions as listed below.
> bus-width = <8>;
> cap-mmc-highspeed;
> cap-sd-highspeed;
> + supports-idmac;
> };
> +
> +[board specific generic DMA request binding]
> +
> + dwmmc0@12200000 {
> + clock-frequency = <400000000>;
> + clock-freq-min-max = <400000 200000000>;
> + num-slots = <1>;
> + broken-cd;
> + fifo-depth = <0x80>;
> + card-detect-delay = <200>;
> + vmmc-supply = <&buck8>;
> + bus-width = <8>;
> + cap-mmc-highspeed;
> + cap-sd-highspeed;
> + supports-edmac;
> + dmas = <&pdma 12>;
> + dma-names = "rx-tx";
> + };
> +
>
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Shawn Lin <shawn.lin@rock-chips.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Jaehoon Chung <jh80.chung@samsung.com>,
Seungwon Jeon <tgih.jun@samsung.com>
Cc: dianders@chromium.org, linux-mips@linux-mips.org,
Arnd Bergmann <arnd@arndb.de>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Alexey Brodkin <abrodkin@synopsys.com>,
Stefan Agner <stefan@agner.ch>,
Zhou Wang <wangzhou.bry@gmail.com>,
Kumar Gala <galak@codeaurora.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Wang Long <long.wanglong@huawei.com>,
Rob Herring <robh+dt@kernel.org>,
Chaotian Jing <chaotian.jing@mediatek.com>,
Lukasz Majewski <l.majewski@samsung.com>,
Jun Nie <jun.nie@linaro.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Kevin Hao <haokexin@gmail.com>, Olof Johansson <olof@lixom.net>,
Ray Jui <rjui@broadcom.com>,
Govindraj Raja <govindraj.raja@imgtec.com>,
linux-samsung-so
Subject: Re: [RFC PATCH v3 2/5] Documentation: synopsys-dw-mshc: add bindings for idmac and edmac
Date: Wed, 05 Aug 2015 17:27:21 +0900 [thread overview]
Message-ID: <55C1C8E9.1060808@samsung.com> (raw)
In-Reply-To: <1438762672-22243-1-git-send-email-shawn.lin@rock-chips.com>
On 05.08.2015 17:17, Shawn Lin wrote:
> synopsys-dw-mshc supports three types of transfer mode. We add bindings
> and description for how to use them at runtime. Without idmac and edmac
> property, pio is the default transfer mode. Make sure that Idmac and emdac
> should not be used simultaneously.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> .../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 41 ++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
> index 346c609..30369cb 100644
> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
> @@ -75,6 +75,25 @@ Optional properties:
> * vmmc-supply: The phandle to the regulator to use for vmmc. If this is
> specified we'll defer probe until we can find this regulator.
>
> +* supports-idmac: Enables support for internal DMAC block within the Synopsys
> + Designware Mobile Storage IP block. If supports-idmac property is present, then
> + we MUST NOT add supports-edmac property since we'd assume that dw-mshc IP is
> + integrated with only one type of dma master.
> +
> +* supports-edmac: Enables support for external DMAC block outside the Synopsys
> + Designware Mobile Storage IP block. If supports-edmac property is present, then
> + we MUST NOT add supports-idmac property since we'd assume that dw-mshc IP is
> + integrated with only one type of dma master.
> +
> + (Without "supports-idmac" and "supports-edmac", use PIO as default transfer mode)
Aren't you breaking here backward compatibility with existing DTB?
Best regards,
Krzysztof
> +
> +* dmas: List of DMA specifiers with the controller specific format as described
> + in the generic DMA client binding. This property should be combined with
> + supports-edmac. Refer to dma.txt for details.
> +
> +* dma-names: DMA request names. Must be "rx-tx". And This property should be
> + combined with supports-edmac. Refer to dma.txt for details.
> +
> Aliases:
>
> - All the MSHC controller nodes should be represented in the aliases node using
> @@ -95,6 +114,8 @@ board specific portions as listed below.
> #size-cells = <0>;
> };
>
> +[board specific internal DMA resources]
> +
> dwmmc0@12200000 {
> clock-frequency = <400000000>;
> clock-freq-min-max = <400000 200000000>;
> @@ -106,4 +127,24 @@ board specific portions as listed below.
> bus-width = <8>;
> cap-mmc-highspeed;
> cap-sd-highspeed;
> + supports-idmac;
> };
> +
> +[board specific generic DMA request binding]
> +
> + dwmmc0@12200000 {
> + clock-frequency = <400000000>;
> + clock-freq-min-max = <400000 200000000>;
> + num-slots = <1>;
> + broken-cd;
> + fifo-depth = <0x80>;
> + card-detect-delay = <200>;
> + vmmc-supply = <&buck8>;
> + bus-width = <8>;
> + cap-mmc-highspeed;
> + cap-sd-highspeed;
> + supports-edmac;
> + dmas = <&pdma 12>;
> + dma-names = "rx-tx";
> + };
> +
>
next prev parent reply other threads:[~2015-08-05 8:27 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-05 8:16 [RFC PATCH v3 0/5] Shawn Lin
2015-08-05 8:16 ` Shawn Lin
2015-08-05 8:17 ` [RFC PATCH v3 1/5] mmc: dw_mmc: Add external dma interface support Shawn Lin
2015-08-05 8:17 ` Shawn Lin
2015-08-05 8:49 ` Heiko Stübner
2015-08-05 8:49 ` Heiko Stübner
2015-08-05 9:11 ` Shawn Lin
2015-08-05 9:11 ` Shawn Lin
2015-08-06 2:27 ` Jaehoon Chung
2015-08-06 2:27 ` Jaehoon Chung
2015-08-06 3:35 ` Shawn Lin
2015-08-06 3:35 ` Shawn Lin
2015-08-05 8:17 ` [RFC PATCH v3 2/5] Documentation: synopsys-dw-mshc: add bindings for idmac and edmac Shawn Lin
2015-08-05 8:17 ` Shawn Lin
2015-08-05 8:27 ` Krzysztof Kozlowski [this message]
2015-08-05 8:27 ` Krzysztof Kozlowski
2015-08-05 8:43 ` Shawn Lin
2015-08-05 8:43 ` Shawn Lin
2015-08-05 8:45 ` Heiko Stübner
2015-08-05 8:45 ` Heiko Stübner
2015-08-05 8:56 ` Shawn Lin
2015-08-05 8:56 ` Shawn Lin
2015-08-06 2:16 ` Doug Anderson
2015-08-06 2:16 ` Doug Anderson
2015-08-06 2:20 ` Jaehoon Chung
2015-08-06 2:20 ` Jaehoon Chung
2015-08-06 3:13 ` Shawn Lin
2015-08-06 3:13 ` Shawn Lin
2015-08-05 8:18 ` [RFC PATCH v3 3/5] arm: configs: remove CONFIG_MMC_DW_IDMAC Shawn Lin
2015-08-05 8:18 ` Shawn Lin
2015-08-05 8:34 ` Vineet Gupta
2015-08-05 8:34 ` Vineet Gupta
2015-08-05 8:34 ` Vineet Gupta
2015-08-05 8:48 ` Shawn Lin
2015-08-05 8:48 ` Shawn Lin
2015-08-05 8:18 ` [RFC PATCH v3 4/5] mips: " Shawn Lin
2015-08-05 8:18 ` Shawn Lin
2015-08-05 8:18 ` [RFC PATCH v3 5/5] ARM: dts: add supports-idmac property Shawn Lin
2015-08-05 8:18 ` Shawn Lin
2015-08-05 8:52 ` Alexey Brodkin
2015-08-05 8:52 ` Alexey Brodkin
2015-08-05 8:52 ` Alexey Brodkin
2015-08-05 9:25 ` Shawn Lin
2015-08-05 9:25 ` Shawn Lin
2015-08-05 23:45 ` [RFC PATCH v3 0/5] Krzysztof Kozlowski
2015-08-05 23:45 ` Krzysztof Kozlowski
2015-08-06 0:45 ` Shawn Lin
2015-08-06 0:45 ` Shawn Lin
2015-08-06 1:47 ` Jaehoon Chung
2015-08-06 1:47 ` Jaehoon Chung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55C1C8E9.1060808@samsung.com \
--to=k.kozlowski@samsung.com \
--cc=Weijun.Yang@csr.com \
--cc=abrestic@chromium.org \
--cc=abrodkin@synopsys.com \
--cc=addy.ke@rock-chips.com \
--cc=afaerber@suse.de \
--cc=alexandre.belloni@free-electrons.com \
--cc=alim.akhtar@samsung.com \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=chaotian.jing@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=galak@codeaurora.org \
--cc=geert+renesas@glider.be \
--cc=govindraj.raja@imgtec.com \
--cc=haokexin@gmail.com \
--cc=heiko@sntech.de \
--cc=ijc+devicetree@hellion.org.uk \
--cc=javier.martinez@collabora.co.uk \
--cc=jdelvare@suse.de \
--cc=jh80.chung@samsung.com \
--cc=jun.nie@linaro.org \
--cc=kgene@kernel.org \
--cc=khilman@linaro.org \
--cc=l.majewski@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux.amoon@gmail.com \
--cc=linux@arm.linux.org.uk \
--cc=long.wanglong@huawei.com \
--cc=manabian@gmail.com \
--cc=mark.rutland@arm.com \
--cc=mjonker@synopsys.com \
--cc=olof@lixom.net \
--cc=pawel.moll@arm.com \
--cc=peter.griffin@linaro.org \
--cc=rafael.j.wysocki@intel.com \
--cc=ralf@linux-mips.org \
--cc=rjui@broadcom.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=sbranden@broadcom.com \
--cc=shawn.lin@rock-chips.com \
--cc=sjoerd.simons@collabora.co.uk \
--cc=srinivas.kandagatla@linaro.org \
--cc=stefan@agner.ch \
--cc=swarren@nvidia.com \
--cc=tgih.jun@samsung.com \
--cc=tomeu.vizoso@collabora.com \
--cc=trblinux@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=ulf.hansson@linaro.org \
--cc=vgupta@synopsys.com \
--cc=vincent.yang.fujitsu@gmail.com \
--cc=wangzhou.bry@gmail.com \
--cc=will.deacon@arm.com \
--cc=xuwei5@hisilicon.com \
--cc=zhangfei.gao@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.