ata: arasan: remove the need for platform_data
authorArnd Bergmann <arnd@arndb.de>
Mon, 28 Jan 2013 17:42:24 +0000 (17:42 +0000)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 20:25:51 +0000 (22:25 +0200)
commite34d3865ee4a71195f91b23fd09e2619a5f727d3
tree02f6938756a1e40127485d7c7134890624ad0879
parent6e8887f60f6038e822462ff815b30074af62b847
ata: arasan: remove the need for platform_data

This adds a complete DT binding for the arasan device driver. There is
currently only one user, which is the spear13xx platform, so we don't
actually have to parse all the properties until another user comes in,
but this does use the generic DMA binding to find the DMA channel.

The patch is untested so far and is part of a series to convert
the spear platform over to use the generic DMA binding, so it
should stay with the rest of the series.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.linux@linaro.org>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Jeff Garzik <jgarzik@redhat.com>
Cc: devicetree-discuss@lists.ozlabs.org
Documentation/devicetree/bindings/ata/pata-arasan.txt
drivers/ata/pata_arasan_cf.c
include/linux/pata_arasan_cf_data.h