diff options
author | Shardar Shariff Md <smohammed@nvidia.com> | 2013-12-17 10:49:53 +0530 |
---|---|---|
committer | Shardar Mohammed <smohammed@nvidia.com> | 2013-12-31 04:19:06 -0800 |
commit | faf1da984974b2859731127d18915887ed4496e1 (patch) | |
tree | ae833373e4e565ecc3a41b6dde2036085ad62ea5 /Documentation/devicetree | |
parent | fed278ac9358836e71217544f9805d112fda52bc (diff) |
Doc: spi: tegra: Add spi client dt properties
Add description of spi client device controller
dt properties.
Bug 1422369
Change-Id: Icb6d75b19d44c2151a153824b957cf6b9cbed209
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/346248
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/spi/nvidia,spi-tegra114.txt | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/spi/nvidia,spi-tegra114.txt b/Documentation/devicetree/bindings/spi/nvidia,spi-tegra114.txt index 8a93aacd8d86..2d961d8e3d69 100644 --- a/Documentation/devicetree/bindings/spi/nvidia,spi-tegra114.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,spi-tegra114.txt @@ -13,8 +13,16 @@ Recommended properties: Optional properties: - nvidia,clock-always-on: Enable clock of spi always. -Example: +spi-client device controller properties: +- nvidia,enable-hw-based-cs: (Boolean) Use the HW based CS if enabled. +- nvidia,tx-clk-tap-delay: Delays the clock going out to the external device + with this tap value. +- nvidia,rx-clk-tap-delay: Delays the clock coming in from the external device + with this tap value. +- nvidia,cs-setup-clk-count: CS setup timing parameter. +- nvidia,cs-hold-clk-count: CS hold timing parameter. +Example: spi@7000d600 { compatible = "nvidia,tegra114-spi"; reg = <0x7000d600 0x200>; @@ -25,5 +33,15 @@ spi@7000d600 { #address-cells = <1>; #size-cells = <0>; status = "disabled"; -}; + <spi-client>@<bus_num> { + ... + ... + nvidia,enable-hw-based-cs; + nvidia,cs-setup-clk-count = <10>; + nvidia,cs-hold-clk-count = <10>; + nvidia,rx-clk-tap-delay = <0>; + nvidia,tx-clk-tap-delay = <16>; + ... + }; +}; |