* [PATCH v4 3/3] Documentation: mmc: Update Arasan SDHC documentation to support 4.9a version of Arasan SDHC controller.
[not found] ` <1430746792-32574-4-git-send-email-stripathi@apm.com>
@ 2015-05-04 14:13 ` Michal Simek
0 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2015-05-04 14:13 UTC (permalink / raw)
To: linux-arm-kernel
On 05/04/2015 03:39 PM, Suman Tripathi wrote:
> This patch updates Arasan SDHC documentation to support
> 4.9a version of Arasan SDHC controller.
>
> Signed-off-by: Suman Tripathi <stripathi@apm.com>
> ---
> Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt
> index 98ee2ab..6dd3d60 100644
> --- a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt
> +++ b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt
> @@ -8,7 +8,8 @@ Device Tree Bindings for the Arasan SDHCI Controller
> [3] Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
>
> Required Properties:
> - - compatible: Compatibility string. Must be 'arasan,sdhci-8.9a'
> + - compatible: Compatibility string. Must be 'arasan,sdhci-8.9a' or
> + 'arasan,sdhci-4.9a'
> - reg: From mmc bindings: Register location and length.
> - clocks: From clock bindings: Handles to clock inputs.
> - clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"
> --
> 1.8.2.1
>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Thanks,
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v4 2/3] mmc: host: arasan: Add the support for sdhci-arasan4.9a in sdhci-of-arasan.c
[not found] ` <1430746792-32574-3-git-send-email-stripathi@apm.com>
@ 2015-05-04 14:15 ` Michal Simek
0 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2015-05-04 14:15 UTC (permalink / raw)
To: linux-arm-kernel
On 05/04/2015 03:39 PM, Suman Tripathi wrote:
> This patch adds the quirks and compatible string in sdhci-of-arasan.c
> to support sdhci-arasan4.9a version of controller.
>
> Signed-off-by: Suman Tripathi <stripathi@apm.com>
> ---
> drivers/mmc/host/sdhci-of-arasan.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
> index 981d66e..92a4222 100644
> --- a/drivers/mmc/host/sdhci-of-arasan.c
> +++ b/drivers/mmc/host/sdhci-of-arasan.c
> @@ -20,6 +20,7 @@
> */
>
> #include <linux/module.h>
> +#include <linux/of_device.h>
> #include "sdhci-pltfm.h"
>
> #define SDHCI_ARASAN_CLK_CTRL_OFFSET 0x2c
> @@ -169,6 +170,11 @@ static int sdhci_arasan_probe(struct platform_device *pdev)
> goto clk_disable_all;
> }
>
> + if (of_device_is_compatible(pdev->dev.of_node, "arasan,sdhci-4.9a")) {
> + host->quirks |= SDHCI_QUIRK_NO_HISPD_BIT;
> + host->quirks2 |= SDHCI_QUIRK2_HOST_NO_CMD23;
> + }
> +
> sdhci_get_of_property(pdev);
> pltfm_host = sdhci_priv(host);
> pltfm_host->priv = sdhci_arasan;
> @@ -206,6 +212,7 @@ static int sdhci_arasan_remove(struct platform_device *pdev)
>
> static const struct of_device_id sdhci_arasan_of_match[] = {
> { .compatible = "arasan,sdhci-8.9a" },
> + { .compatible = "arasan,sdhci-4.9a" },
> { }
> };
> MODULE_DEVICE_TABLE(of, sdhci_arasan_of_match);
> --
> 1.8.2.1
>
You probably need just to add simple of.h but of_device.h should be also
fine.
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Thanks,
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v4 0/3] Add SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.
[not found] <1430746792-32574-1-git-send-email-stripathi@apm.com>
[not found] ` <1430746792-32574-4-git-send-email-stripathi@apm.com>
[not found] ` <1430746792-32574-3-git-send-email-stripathi@apm.com>
@ 2015-05-04 15:27 ` Arnd Bergmann
2015-05-05 8:36 ` Ulf Hansson
3 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2015-05-04 15:27 UTC (permalink / raw)
To: linux-arm-kernel
On Monday 04 May 2015 19:09:49 Suman Tripathi wrote:
> This patch adds the SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.
>
> v1 change:
> * Use the CONFIG_ARM64_DMA_HAS_IOMMU for dma-mapping.
>
> v2 change:
> * Drop the IOMMU support and switching to PIO mode for arasan.
> controller integrated inside APM X-Gene SoC.
>
> v3 change:
> * Change the sdhci-of-arasan.c to support arasan4.9a.
> * Add quirks for arasan4.9a.
>
> v4 change:
> * Cleanup the Documentation and dts.
>
All three patches
Acked-by: Arnd Bergmann <arnd@arndb.de>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v4 0/3] Add SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.
[not found] <1430746792-32574-1-git-send-email-stripathi@apm.com>
` (2 preceding siblings ...)
2015-05-04 15:27 ` [PATCH v4 0/3] Add SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller Arnd Bergmann
@ 2015-05-05 8:36 ` Ulf Hansson
2015-05-05 8:42 ` Suman Tripathi
3 siblings, 1 reply; 6+ messages in thread
From: Ulf Hansson @ 2015-05-05 8:36 UTC (permalink / raw)
To: linux-arm-kernel
On 4 May 2015 at 15:39, Suman Tripathi <stripathi@apm.com> wrote:
> This patch adds the SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.
>
> v1 change:
> * Use the CONFIG_ARM64_DMA_HAS_IOMMU for dma-mapping.
>
> v2 change:
> * Drop the IOMMU support and switching to PIO mode for arasan.
> controller integrated inside APM X-Gene SoC.
>
> v3 change:
> * Change the sdhci-of-arasan.c to support arasan4.9a.
> * Add quirks for arasan4.9a.
>
> v4 change:
> * Cleanup the Documentation and dts.
>
> Signed-off-by: Suman Tripathi <stripathi@apm.com>
> ---
>
> Suman Tripathi (3):
> arm64: dts: Add the arasan sdhc nodes in apm-storm.dtsi.
> mmc: host: arasan: Add the support for sdhci-arasan4.9a in
> sdhci-of-arasan.c
> Documentation: mmc: Update Arasan SDHC documentation to support 4.9a
> version of Arasan SDHC controller.
>
> .../devicetree/bindings/mmc/arasan,sdhci.txt | 3 +-
> arch/arm64/boot/dts/apm-mustang.dts | 4 ++
> arch/arm64/boot/dts/apm-storm.dtsi | 44 ++++++++++++++++++++++
> drivers/mmc/host/sdhci-of-arasan.c | 7 ++++
> 4 files changed, 57 insertions(+), 1 deletion(-)
>
Thanks!
I have applied patch2 and patch3. Though, I decided to squash them
into one patch and changed the commit message header a bit.
I couldn't apply patch 1, so I guess that will be taken through arm soc?
Kind regards
Uffe
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v4 0/3] Add SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.
2015-05-05 8:36 ` Ulf Hansson
@ 2015-05-05 8:42 ` Suman Tripathi
2015-05-05 8:53 ` Ulf Hansson
0 siblings, 1 reply; 6+ messages in thread
From: Suman Tripathi @ 2015-05-05 8:42 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, May 5, 2015 at 2:06 PM, Ulf Hansson <ulf.hansson@linaro.org> wrote:
> On 4 May 2015 at 15:39, Suman Tripathi <stripathi@apm.com> wrote:
>> This patch adds the SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.
>>
>> v1 change:
>> * Use the CONFIG_ARM64_DMA_HAS_IOMMU for dma-mapping.
>>
>> v2 change:
>> * Drop the IOMMU support and switching to PIO mode for arasan.
>> controller integrated inside APM X-Gene SoC.
>>
>> v3 change:
>> * Change the sdhci-of-arasan.c to support arasan4.9a.
>> * Add quirks for arasan4.9a.
>>
>> v4 change:
>> * Cleanup the Documentation and dts.
>>
>> Signed-off-by: Suman Tripathi <stripathi@apm.com>
>> ---
>>
>> Suman Tripathi (3):
>> arm64: dts: Add the arasan sdhc nodes in apm-storm.dtsi.
>> mmc: host: arasan: Add the support for sdhci-arasan4.9a in
>> sdhci-of-arasan.c
>> Documentation: mmc: Update Arasan SDHC documentation to support 4.9a
>> version of Arasan SDHC controller.
>>
>> .../devicetree/bindings/mmc/arasan,sdhci.txt | 3 +-
>> arch/arm64/boot/dts/apm-mustang.dts | 4 ++
>> arch/arm64/boot/dts/apm-storm.dtsi | 44 ++++++++++++++++++++++
>> drivers/mmc/host/sdhci-of-arasan.c | 7 ++++
>> 4 files changed, 57 insertions(+), 1 deletion(-)
>>
>
> Thanks!
>
> I have applied patch2 and patch3. Though, I decided to squash them
> into one patch and changed the commit message header a bit.
>
> I couldn't apply patch 1, so I guess that will be taken through arm soc?
why it couldn't be applied?? I made it in top of
git git://git.linaro.org/people/ulf.hansson/mmc.git
Is this not correct ??
>
> Kind regards
> Uffe
--
Thanks,
with regards,
Suman Tripathi
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v4 0/3] Add SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.
2015-05-05 8:42 ` Suman Tripathi
@ 2015-05-05 8:53 ` Ulf Hansson
0 siblings, 0 replies; 6+ messages in thread
From: Ulf Hansson @ 2015-05-05 8:53 UTC (permalink / raw)
To: linux-arm-kernel
On 5 May 2015 at 10:42, Suman Tripathi <stripathi@apm.com> wrote:
> On Tue, May 5, 2015 at 2:06 PM, Ulf Hansson <ulf.hansson@linaro.org> wrote:
>> On 4 May 2015 at 15:39, Suman Tripathi <stripathi@apm.com> wrote:
>>> This patch adds the SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller.
>>>
>>> v1 change:
>>> * Use the CONFIG_ARM64_DMA_HAS_IOMMU for dma-mapping.
>>>
>>> v2 change:
>>> * Drop the IOMMU support and switching to PIO mode for arasan.
>>> controller integrated inside APM X-Gene SoC.
>>>
>>> v3 change:
>>> * Change the sdhci-of-arasan.c to support arasan4.9a.
>>> * Add quirks for arasan4.9a.
>>>
>>> v4 change:
>>> * Cleanup the Documentation and dts.
>>>
>>> Signed-off-by: Suman Tripathi <stripathi@apm.com>
>>> ---
>>>
>>> Suman Tripathi (3):
>>> arm64: dts: Add the arasan sdhc nodes in apm-storm.dtsi.
>>> mmc: host: arasan: Add the support for sdhci-arasan4.9a in
>>> sdhci-of-arasan.c
>>> Documentation: mmc: Update Arasan SDHC documentation to support 4.9a
>>> version of Arasan SDHC controller.
>>>
>>> .../devicetree/bindings/mmc/arasan,sdhci.txt | 3 +-
>>> arch/arm64/boot/dts/apm-mustang.dts | 4 ++
>>> arch/arm64/boot/dts/apm-storm.dtsi | 44 ++++++++++++++++++++++
>>> drivers/mmc/host/sdhci-of-arasan.c | 7 ++++
>>> 4 files changed, 57 insertions(+), 1 deletion(-)
>>>
>>
>> Thanks!
>>
>> I have applied patch2 and patch3. Though, I decided to squash them
>> into one patch and changed the commit message header a bit.
>>
>> I couldn't apply patch 1, so I guess that will be taken through arm soc?
>
> why it couldn't be applied?? I made it in top of
>
> git git://git.linaro.org/people/ulf.hansson/mmc.git
>
> Is this not correct ??
That's correct, but it apparently needs a rebase.
The below files has moved:
arch/arm64/boot/dts/apm-mustang.dts
arch/arm64/boot/dts/apm-storm.dtsi
Send a new version and I am happy to take it through my tree, since it
got Arnd's ack.
Kind regards
Uffe
>
>>
>> Kind regards
>> Uffe
>
>
>
> --
> Thanks,
> with regards,
> Suman Tripathi
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-05 8:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1430746792-32574-1-git-send-email-stripathi@apm.com>
[not found] ` <1430746792-32574-4-git-send-email-stripathi@apm.com>
2015-05-04 14:13 ` [PATCH v4 3/3] Documentation: mmc: Update Arasan SDHC documentation to support 4.9a version of Arasan SDHC controller Michal Simek
[not found] ` <1430746792-32574-3-git-send-email-stripathi@apm.com>
2015-05-04 14:15 ` [PATCH v4 2/3] mmc: host: arasan: Add the support for sdhci-arasan4.9a in sdhci-of-arasan.c Michal Simek
2015-05-04 15:27 ` [PATCH v4 0/3] Add SDHCI support for APM X-Gene SoC using ARASAN SDHCI controller Arnd Bergmann
2015-05-05 8:36 ` Ulf Hansson
2015-05-05 8:42 ` Suman Tripathi
2015-05-05 8:53 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox