diff options
| author | Jagan Teki <[email protected]> | 2015-06-27 00:51:34 +0530 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2015-07-01 21:15:03 +0530 |
| commit | cdc9dd0750bcff780d54050512206fcf2ad05489 (patch) | |
| tree | a17b748128e60aa2e7baafee4aed1af823c8eb83 /doc | |
| parent | a8a8fc9ceea8430224c8c0ac932a75c029a1e225 (diff) | |
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 <[email protected]>
Acked-by: Simon Glass <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Siva Durga Prasad Paladugu <[email protected]>
Tested-by: Jagan Teki <[email protected]>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/device-tree-bindings/spi/spi-zynq.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/spi/spi-zynq.txt b/doc/device-tree-bindings/spi/spi-zynq.txt index a7c275717b5..f397a36d680 100644 --- a/doc/device-tree-bindings/spi/spi-zynq.txt +++ b/doc/device-tree-bindings/spi/spi-zynq.txt @@ -11,6 +11,7 @@ Required properties: - clocks : Clock phandles (see clock bindings for details). - clock-names : List of input clock names - "ref_clk", "pclk" (See clock bindings for details). +- spi-max-frequency : Maximum SPI clocking speed of device in Hz Example: @@ -22,6 +23,7 @@ Example: interrupts = <0 26 4>; clocks = <&clkc 25>, <&clkc 34>; clock-names = "ref_clk", "pclk"; + spi-max-frequency = <166666700>; #address-cells = <1>; #size-cells = <0>; } ; |
