Re: [PATCH 1/5] dt-bindings: can: tcan4x5x: Add tcan4552 and tcan4553 variants
From: Simon Horman
Date: Tue Mar 14 2023 - 12:13:41 EST
On Tue, Mar 14, 2023 at 04:11:57PM +0100, Markus Schneider-Pargmann wrote:
> These two new chips do not have state or wake pins.
>
> Signed-off-by: Markus Schneider-Pargmann <msp@xxxxxxxxxxxx>
Not a requirement from my side,
but perhaps it would be worth converting this binding to yaml
at some point.
> ---
> .../devicetree/bindings/net/can/tcan4x5x.txt | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt
> index e3501bfa22e9..38a2b5369b44 100644
> --- a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt
> +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt
> @@ -4,7 +4,10 @@ Texas Instruments TCAN4x5x CAN Controller
> This file provides device node information for the TCAN4x5x interface contains.
>
> Required properties:
> - - compatible: "ti,tcan4x5x"
> + - compatible:
> + "ti,tcan4x5x" or
> + "ti,tcan4552" or
> + "ti,tcan4553"
> - reg: 0
> - #address-cells: 1
> - #size-cells: 0
> @@ -21,8 +24,10 @@ Optional properties:
> - reset-gpios: Hardwired output GPIO. If not defined then software
> reset.
> - device-state-gpios: Input GPIO that indicates if the device is in
> - a sleep state or if the device is active.
> - - device-wake-gpios: Wake up GPIO to wake up the TCAN device.
> + a sleep state or if the device is active. Not
> + available with tcan4552/4553.
> + - device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not
> + available with tcan4552/4553.
>
> Example:
> tcan4x5x: tcan4x5x@0 {
> --
> 2.39.2
>