spi: zynq_spi: Add fdt support in driver
authorJagan Teki <jteki@openedev.com>
Fri, 26 Jun 2015 19:21:34 +0000 (00:51 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 1 Jul 2015 15:45:03 +0000 (21:15 +0530)
commitcdc9dd0750bcff780d54050512206fcf2ad05489
treea17b748128e60aa2e7baafee4aed1af823c8eb83
parenta8a8fc9ceea8430224c8c0ac932a75c029a1e225
spi: zynq_spi: Add fdt support in driver

Now zynq spi driver platform data is controlled by devicetree,
enable the status by saying "okay" on respective board dts to use
the devicetree generated platdata.

Ex:
&spi1 {
status = "okay";
};

Signed-off-by: Jagan Teki <jteki@openedev.com>
Acked-by: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Tested-by: Jagan Teki <jteki@openedev.com>
arch/arm/dts/zynq-7000.dtsi
doc/device-tree-bindings/spi/spi-zynq.txt
drivers/spi/zynq_spi.c