[v3,2/2] dt-bindings: spi: updated usage example for spi-rx/tx-bus-width properties

Message ID 1518504675-26286-3-git-send-email-yogeshnarayan.gaur@nxp.com
State New
Headers show
Series
  • mtd: fsl-quadspi: Update slave device hwcap based on mode provided in dtsi file
Related show

Commit Message

Yogesh Narayan Gaur Feb. 13, 2018, 6:51 a.m.
Updated usage example by adding properties spi-rx-bus-width
and spi-tx-bus-width for slave node binding.

Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
---
Changes for v3:
- None
Changes for v2:
- None

 Documentation/devicetree/bindings/spi/spi-bus.txt | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring Feb. 13, 2018, 11:05 p.m. | #1
On Tue, Feb 13, 2018 at 12:21:15PM +0530, Yogesh Gaur wrote:
> Updated usage example by adding properties spi-rx-bus-width
> and spi-tx-bus-width for slave node binding.
> 
> Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
> ---
> Changes for v3:
> - None
> Changes for v2:
> - None
> 
>  Documentation/devicetree/bindings/spi/spi-bus.txt | 2 ++
>  1 file changed, 2 insertions(+)

Please add acked/reviewed bys when posting new versions.

Rob
Boris Brezillon Feb. 17, 2018, 8:48 a.m. | #2
Hi Yogesh,

Looks like you forgot to Cc Mark and the linux-spi ML.

Regards,

Boris

On Tue, 13 Feb 2018 12:21:15 +0530
Yogesh Gaur <yogeshnarayan.gaur@nxp.com> wrote:

> Updated usage example by adding properties spi-rx-bus-width
> and spi-tx-bus-width for slave node binding.
> 
> Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
> ---
> Changes for v3:
> - None
> Changes for v2:
> - None
> 
>  Documentation/devicetree/bindings/spi/spi-bus.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt b/Documentation/devicetree/bindings/spi/spi-bus.txt
> index 1f6e86f..4dbe267 100644
> --- a/Documentation/devicetree/bindings/spi/spi-bus.txt
> +++ b/Documentation/devicetree/bindings/spi/spi-bus.txt
> @@ -101,6 +101,8 @@ SPI example for an MPC5200 SPI bus:
>  			compatible = "micrel,ks8995m";
>  			spi-max-frequency = <1000000>;
>  			reg = <0>;
> +			spi-rx-bus-width = 4;
> +			spi-tx-bus-width = 4;
>  		};
>  
>  		codec@1 {

Patch

diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt b/Documentation/devicetree/bindings/spi/spi-bus.txt
index 1f6e86f..4dbe267 100644
--- a/Documentation/devicetree/bindings/spi/spi-bus.txt
+++ b/Documentation/devicetree/bindings/spi/spi-bus.txt
@@ -101,6 +101,8 @@  SPI example for an MPC5200 SPI bus:
 			compatible = "micrel,ks8995m";
 			spi-max-frequency = <1000000>;
 			reg = <0>;
+			spi-rx-bus-width = 4;
+			spi-tx-bus-width = 4;
 		};
 
 		codec@1 {