]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spi: zynq_spi: Add fdt support in driver
authorJagan Teki <jteki@openedev.com>
Fri, 26 Jun 2015 19:21:34 +0000 (00:51 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:47:22 +0000 (00:47 +0200)
commitc21a004ef58292290df3efbc4a2dc2808a1ef5de
tree060e8bc97795100acdb86863fb53e7decb84252e
parent486aea9537ccd0639db01c247af6ba3710dd4ca1
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