dt-bindings: phy: ti,tcan104x-can: Document NXP TJA105X/1048

The TJA1048 is a dual high-speed CAN transceiver with sleep mode supported
and no EN pin.

The TJA1051 is a high-speed CAN transceiver with slient mode supported,
but only TJA1051T/E has EN pin. To make it simple, make enable-gpios as
optional for TJA1051.

The TJA1057 is a high-speed CAN transceiver with slient mode supported
and no EN pin.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20251001-can-v7-1-fad29efc3884@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
Peng Fan 2025-10-01 21:22:32 +08:00 committed by Vinod Koul
parent 0f75caf42b
commit 05ace63d0b

View File

@ -22,15 +22,25 @@ properties:
- enum:
- ti,tcan1042
- ti,tcan1043
- nxp,tja1048
- nxp,tja1051
- nxp,tja1057
- nxp,tjr1443
'#phy-cells':
const: 0
enum: [0, 1]
silent-gpios:
description:
gpio node to toggle silent signal on transceiver
maxItems: 1
standby-gpios:
description:
gpio node to toggle standby signal on transceiver
maxItems: 1
gpio node to toggle standby signal on transceiver. For two Items, item 1
is for stbn1, item 2 is for stbn2.
minItems: 1
maxItems: 2
enable-gpios:
description:
@ -53,6 +63,59 @@ required:
- compatible
- '#phy-cells'
allOf:
- if:
properties:
compatible:
enum:
- nxp,tjr1443
- ti,tcan1042
- ti,tcan1043
then:
properties:
'#phy-cells':
const: 0
silent-gpios: false
standby-gpios:
maxItems: 1
- if:
properties:
compatible:
contains:
const: nxp,tja1048
then:
properties:
'#phy-cells':
const: 1
enable-gpios: false
silent-gpios: false
standby-gpios:
minItems: 2
- if:
properties:
compatible:
contains:
const: nxp,tja1051
then:
properties:
'#phy-cells':
const: 0
standby-gpios: false
- if:
properties:
compatible:
contains:
const: nxp,tja1057
then:
properties:
'#phy-cells':
const: 0
enable-gpios: false
standby-gpios: false
additionalProperties: false
examples: