summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.com>2012-08-27 10:37:18 +0530
committerJeff Garzik <jgarzik@redhat.com>2012-09-13 01:09:56 -0400
commit26fdaa7453db49de80cc216cb696233b23d0b9d1 (patch)
treeed4b75600ed6adab44e045681b3150ecd9dd5adf /Documentation
parent3f09e6c0d32398b777b00c21053a1ef5f840b1af (diff)
downloadlinux-stable-26fdaa7453db49de80cc216cb696233b23d0b9d1.tar.gz
linux-stable-26fdaa7453db49de80cc216cb696233b23d0b9d1.tar.bz2
linux-stable-26fdaa7453db49de80cc216cb696233b23d0b9d1.zip
pata_arasan: add Device Tree probing capability
SPEAr platforms now support DT and so must convert all drivers to support DT. This patch adds DT probing support for Arasan Compact Flash controller and updates its documentation too. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/ata/pata-arasan.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ata/pata-arasan.txt b/Documentation/devicetree/bindings/ata/pata-arasan.txt
new file mode 100644
index 000000000000..95ec7f825ede
--- /dev/null
+++ b/Documentation/devicetree/bindings/ata/pata-arasan.txt
@@ -0,0 +1,17 @@
+* ARASAN PATA COMPACT FLASH CONTROLLER
+
+Required properties:
+- compatible: "arasan,cf-spear1340"
+- reg: Address range of the CF registers
+- interrupt-parent: Should be the phandle for the interrupt controller
+ that services interrupts for this device
+- interrupt: Should contain the CF interrupt number
+
+Example:
+
+ cf@fc000000 {
+ compatible = "arasan,cf-spear1340";
+ reg = <0xfc000000 0x1000>;
+ interrupt-parent = <&vic1>;
+ interrupts = <12>;
+ };