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 <redacted>
---
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(-)
--
1.8.2.1
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 <redacted>
---
drivers/mmc/host/sdhci-of-arasan.c | 7 +++++++
1 file changed, 7 insertions(+)
@@ -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"--
@@ -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 <redacted>
Thanks,
Michal
From: Michal Simek <hidden> Date: 2015-05-04 14:15:36
On 05/04/2015 03:39 PM, Suman Tripathi wrote:
quoted hunk
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 <redacted>
---
drivers/mmc/host/sdhci-of-arasan.c | 7 +++++++
1 file changed, 7 insertions(+)
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>