From faf1da984974b2859731127d18915887ed4496e1 Mon Sep 17 00:00:00 2001 From: Shardar Shariff Md Date: Tue, 17 Dec 2013 10:49:53 +0530 Subject: 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 Reviewed-on: http://git-master/r/346248 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan --- .../bindings/spi/nvidia,spi-tegra114.txt | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'Documentation/devicetree') 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"; -}; + @ { + ... + ... + 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>; + ... + }; +}; -- cgit v1.2.3