sata highbank: add bit-banged SGPIO driver support
authorMark Langsdorf <mark.langsdorf@calxeda.com>
Thu, 6 Jun 2013 12:52:41 +0000 (07:52 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 6 Jun 2013 21:05:24 +0000 (14:05 -0700)
Highbank supports SGPIO by bit-banging out the SGPIO signals over
three GPIO pins defined in the DTB. Add support for this SGPIO
functionality.

Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/devicetree/bindings/ata/ahci-platform.txt
arch/arm/boot/dts/ecx-common.dtsi
drivers/ata/ahci.h
drivers/ata/sata_highbank.c

index b519f9b..3ec0c5c 100644 (file)
@@ -12,6 +12,11 @@ Optional properties:
 - calxeda,port-phys: phandle-combophy and lane assignment, which maps each
                        SATA port to a combophy and a lane within that
                        combophy
+- calxeda,sgpio-gpio: phandle-gpio bank, bit offset, and default on or off,
+                       which indicates that the driver supports SGPIO
+                       indicator lights using the indicated GPIOs
+- calxeda,led-order : a u32 array that map port numbers to offsets within the
+                       SGPIO bitstream.
 - dma-coherent      : Present if dma operations are coherent
 
 Example:
Simple merge
Simple merge
Simple merge