dt-bindings: phy: ti,tcan104x-can: Document Microchip
Subsystems (3)
v4 cover dt-bindings: phy: ti,tcan104x-can: Document Microchip
Hi,
In this v4, I addressed Krzysztof's comments and incorporated the changelog and tag received from Conor.
v3:
https://lore.kernel.org/r/[email protected]/
v2:
https://lore.kernel.org/r/[email protected]/
v1:
https://lore.kernel.org/r/[email protected]/
First of all, I want to apologize for the silly mistakes in my patch preparation. I wasn’t aware of the need to include the changelog and received tags in new versions. This is my first patch in the kernel, and I am very excited about it. I am eager to gain experience in working on FOSS.
I greatly appreciate all your feedback, and I will do my best to address and fix any issues.
Ilya Orazov (1):
dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6561
.../devicetree/bindings/phy/ti,tcan104x-can.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)
base-commit: 872cf28b8df9c5c3a1e71a88ee750df7c2513971
Signature · 1 line
2.34.1
PATCH v4 1/1 dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6561
Microchip ATA6561 is High-Speed CAN Transceiver with Standby Mode. It is pin-compatible with TI TCAN1042 and has a compatible programming model, therefore use ti,tcan1042 as fallback compatible.
--- .../devicetree/bindings/phy/ti,tcan104x-can.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +9 -4
@@ -14,10 +14,15 @@ properties: pattern: "^can-phy" compatible: - enum: - - nxp,tjr1443 - - ti,tcan1042 - - ti,tcan1043 + oneOf: + - items: + - enum: + - microchip,ata6561 + - const: ti,tcan1042 + - enum: + - ti,tcan1042 + - ti,tcan1043 + - nxp,tjr1443 '#phy-cells': const: 0
Signature · 1 line
2.34.1
Vinod Koul
maintainerRe: [PATCH v4 1/1] dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6561
Quoted 21 lines · Ilya Orazov
Microchip ATA6561 is High-Speed CAN Transceiver with Standby Mode. It is pin-compatible with TI TCAN1042 and has a compatible programming model, therefore use ti,tcan1042 as fallback compatible.
Acked-by Conor Dooley <[email protected]>Signed-off-by Ilya Orazov <[email protected]>--- .../devicetree/bindings/phy/ti,tcan104x-can.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +0
-3@@ -14,10 +14,15 @@ properties: pattern: "^can-phy" compatible: - enum: - - nxp,tjr1443 - - ti,tcan1042
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml properties: · line 25
Quoted 10 lines
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +9
-1- - ti,tcan1043 + oneOf: + - items: + - enum: + - microchip,ata6561 + - const: ti,tcan1042 + - enum: + - ti,tcan1042 + - ti,tcan1043 + - nxp,tjr1443
No driver/dt for new compatibles?
Quoted 5 lines
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +0
-0'#phy-cells': const: 0Signature · 1 line
2.34.1
Signature · 1 line
~Vinod
Re: [PATCH v4 1/1] dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6561
Quoted 19 lines · Vinod Koul
Quoted 17 lines · Ilya Orazov
Microchip ATA6561 is High-Speed CAN Transceiver with Standby Mode. It is pin-compatible with TI TCAN1042 and has a compatible programming model, therefore use ti,tcan1042 as fallback compatible.
Acked-by Conor Dooley <[email protected]>Signed-off-by Ilya Orazov <[email protected]>--- .../devicetree/bindings/phy/ti,tcan104x-can.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +0
-0@@ -14,10 +14,15 @@ properties: pattern: "^can-phy"
Quoted 16 lines
Quoted 4 lines
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +0
-3compatible: - enum: - - nxp,tjr1443 - - ti,tcan1042Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml properties: · line 25
Quoted 10 lines
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +9
-1- - ti,tcan1043 + oneOf: + - items: + - enum: + - microchip,ata6561 + - const: ti,tcan1042 + - enum: + - ti,tcan1042 + - ti,tcan1043 + - nxp,tjr1443No driver/dt for new compatibles?
There is phy-can-transceiver.c driver that can be used also for ata6561. I used this PHY in my own DTS. It is a popular chip, so I decided to add ATA6561 to the kernel, as I believe it would be beneficial.
Quoted 9 lines
Quoted 6 lines
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +0
-1'#phy-cells': const: 0 --2.34.1
--
~Vinod
--
Best regards,
Ilya Orazov