diff mbox series

[1/2] dt-bindings: can: fsl,flexcan.yaml: introduce the stb-gpios property

Message ID 20210107205915.7602-1-festevam@gmail.com
State New
Headers show
Series [1/2] dt-bindings: can: fsl,flexcan.yaml: introduce the stb-gpios property | expand

Commit Message

Fabio Estevam Jan. 7, 2021, 8:59 p.m. UTC
It is very common to have an STB pin in CAN transceivers, which allows
putting the transceiver in standby or normal operation mode.

Add a new optional 'stb-gpios' property to describe this.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Rob Herring (Arm) Jan. 13, 2021, 3:23 a.m. UTC | #1
On Thu, Jan 07, 2021 at 05:59:14PM -0300, Fabio Estevam wrote:
> It is very common to have an STB pin in CAN transceivers, which allows

> putting the transceiver in standby or normal operation mode.

> 

> Add a new optional 'stb-gpios' property to describe this.

> 

> Signed-off-by: Fabio Estevam <festevam@gmail.com>

> ---

>  Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml | 3 +++

>  1 file changed, 3 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml

> index 0d2df30f19db..64f904c4b3d5 100644

> --- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml

> +++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml

> @@ -66,6 +66,9 @@ properties:

>    xceiver-supply:

>      description: Regulator that powers the CAN transceiver.

>  

> +  stb-gpios:

> +    description: GPIO that controls the STB CAN transceiver pin.


maxItems: 1

> +

>    big-endian:

>      $ref: /schemas/types.yaml#/definitions/flag

>      description: |

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
index 0d2df30f19db..64f904c4b3d5 100644
--- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
+++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
@@ -66,6 +66,9 @@  properties:
   xceiver-supply:
     description: Regulator that powers the CAN transceiver.
 
+  stb-gpios:
+    description: GPIO that controls the STB CAN transceiver pin.
+
   big-endian:
     $ref: /schemas/types.yaml#/definitions/flag
     description: |