Skip to contentSkip to conversation

dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6563

PATCH Applied Marek Vasut 4 participants 12 messages Sep 30 – Nov 13

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v6 1/3 dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6563

Microchip ATA6563 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.

---
Cc: Aswath Govindraju <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: No change
V3: No change
V4: No change
V5: Add RB from Krzysztof
V6: No change

---
 Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +1 -0
index 0cf5fa21106b6..e97b1bc0a2e45 100644
@@ -18,6 +18,7 @@ properties:
       - items:
           - enum:
               - microchip,ata6561
+              - microchip,ata6563
               - ti,tcan1051
           - const: ti,tcan1042
       - items:
Signature · 1 line
2.53.0
#1 lore raw

PATCH v6 2/3 dt-bindings: arm: fsl: Document Data Modul i.MX95 eDM SBC

Document Data Modul i.MX95 eDM SBC board. This is an evaluation board for various custom display units. Currently supported are serial console, ethernet, eMMC, SD, SPI NOR, USB host and PCIe.

---
Cc: Aswath Govindraju <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: No change
V3: No change
V4: No change
V5: Add AB from Krzysztof
V6: No change

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
index e563d96e4ff7c..81bb7b0caa8f7 100644
@@ -1578,6 +1578,7 @@ properties:
       - description: i.MX95 based Boards
         items:
           - enum:
+              - dmo,imx95-data-modul-edm-sbc # i.MX95 eDM SBC
               - fsl,imx95-15x15-ab2       # i.MX95 15x15 Audio Board V2
               - fsl,imx95-15x15-evk       # i.MX95 15x15 EVK Board
               - fsl,imx95-15x15-frdm      # i.MX95 15x15 FRDM Board
Signature · 1 line
2.53.0
#2 lore raw

PATCH v6 3/3 arm64: dts: imx95: Add support for Data Modul i.MX95 eDM SBC

In reply to Marek Vasut

Add support for Data Modul i.MX95 eDM SBC board. This is an evaluation board for various custom display units. Currently supported are serial console, ethernet, eMMC, SD, SPI NOR, USB host and PCIe.

---
Cc: Aswath Govindraju <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: - Rename PCIE_M2-E_EN to PCIE_M2-M_EN
- Fix the PCAL expander GPIO reset
V3: - Fix regulator-5p0v node name
- Use reset-gpios consistently
V4: - Replace gpio with gpios DT property
V5: - Rebase on next-20260928
V6: - Remove backlight supply nodes

---
 arch/arm64/boot/dts/freescale/Makefile        |    1 +
 .../freescale/imx95-data-modul-edm-sbc.dts    | 1079 +++++++++++++++++
 2 files changed, 1080 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
index a09672b49709e..b6acdc1689a3d 100644
@@ -965,6 +965,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-evk-sof.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-frdm-pro.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-aquila-clover.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-aquila-dev.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx95-data-modul-edm-sbc.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-toradex-osm-dev.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-toradex-smarc-dev.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-tqma9596la-mba95xxca.dtb
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +1079 -0

1,079 lines not on this page · raw message

Signature · 1 line
2.53.0
#3 lore raw

Re: [PATCH v6 3/3] arm64: dts: imx95: Add support for Data Modul i.MX95 eDM SBC

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider: - [High] dts: imx95: incorrect PCAL6524 interrupt polarity causes IRQ storm - [High] dts: imx95: incorrect…

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [High] dts: imx95: incorrect PCAL6524 interrupt polarity causes IRQ storm
- [High] dts: imx95: incorrect reset-gpios polarity holds Ethernet PHYs in reset
- [Medium] dts: imx95: missing power supply regulator for M.2 Key-E slot
- [Low] dts: imx95: unused pinctrl_panel_backlight_lvds group left in device tree --

commit 7f31e6dad5b9c7665d8920ec3ddbd34978190a69
Author: Marek Vasut <[email protected]>

arm64: dts: imx95: Add support for Data Modul i.MX95 eDM SBC

Add support for Data Modul i.MX95 eDM SBC board. This is an evaluation board for various custom display units. Currently supported are serial console, ethernet, eMMC, SD, SPI NOR, USB host and PCIe.

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +0 -0
new file mode 100644
index 0000000000000..5ca26c6ab665f
@@ -0,0 +1,1079 @@

[ ... ]

Review

Quoted 8 lines
(quoted diff) +8 -0
+	i2c2_gpio_expander_20: gpio@20 {	/* U12 */
+		compatible = "nxp,pcal6524";
+		reg = <0x20>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		interrupts-extended = <&gpio5 11 IRQ_TYPE_LEVEL_HIGH>;

[Severity: High]
Is the interrupt polarity configured correctly? Since open-drain lines typically rest HIGH due to pull-ups and assert LOW, wouldn't setting the polarity to IRQ_TYPE_LEVEL_HIGH cause the interrupt controller to see the line as asserted immediately, leading to an interrupt storm?

This same configuration is also used in i2c2_gpio_expander_21 and i2c2_gpio_expander_22.

[ ... ]

Quoted 9 lines
(quoted diff) +9 -0
+	ethphy0: ethernet-phy@1 {	/* KSZ9131RNXI U20 */
+		compatible = "ethernet-phy-id0022.1640";
+		reg = <1>;
+		interrupts-extended = <&gpio1 10 IRQ_TYPE_LEVEL_LOW>;
+		reset-assert-us = <1000>;
+		/* RESET_N signal rise time ~100ms */
+		reset-deassert-us = <120000>;
+		reset-gpios = <&i2c2_gpio_expander_22 4 GPIO_ACTIVE_HIGH>;
+	};

Review

Quoted 10 lines
(quoted diff) +10 -0
+
+	ethphy1: ethernet-phy@2 {	/* KSZ9131RNXI U22 */
+		compatible = "ethernet-phy-id0022.1640";
+		reg = <2>;
+		interrupts-extended = <&gpio1 10 IRQ_TYPE_LEVEL_LOW>;
+		reset-assert-us = <1000>;
+		/* RESET_N signal rise time ~100ms */
+		reset-deassert-us = <120000>;
+		reset-gpios = <&i2c2_gpio_expander_22 5 GPIO_ACTIVE_HIGH>;
+	};

[Severity: High]
Will setting GPIO_ACTIVE_HIGH hold the PHYs in reset? The core drives the line LOW to deassert reset when active-high is used, but the physical RESET_N pin is active-low, meaning a LOW signal actually holds the PHY in reset during normal operation.

[ ... ]

Review

Quoted 9 lines

+&usdhc3 { /* M.2 Key-E */

(quoted diff) +8 -0
+	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
+	pinctrl-0 = <&pinctrl_usdhc3>;
+	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
+	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
+	pinctrl-3 = <&pinctrl_usdhc3>;
+	bus-width = <4>;
+	status = "okay";
+};

[Severity: Medium]
Is a regulator missing for the M.2 Key-E slot?

The usdhc3 interface is enabled, but the DT lacks a regulator node for VDD_3V3_M2-E_EN (pin 5 of i2c2_gpio_expander_20) and lacks a vmmc-supply assignment. Will the slot remain physically unpowered because the enable GPIO is never driven active by the kernel?

[ ... ]

Review

Quoted 5 lines
(quoted diff) +5 -0
+	pinctrl_panel_backlight_lvds: backlightlvdsgrp {
+		fsl,pins = <
+			IMX95_PAD_GPIO_IO27__GPIO2_IO_BIT27			0x31e
+		>;
+	};

[Severity: Low]
Is this pinctrl group orphaned? The backlight supply nodes were removed in V6 of the patch, but the associated pinctrl_panel_backlight_lvds group appears to have been left in the device tree.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
#4 lore raw
In reply to Marek Vasut
Quoted 34 lines · Marek Vasut

Microchip ATA6563 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.

---
Cc: Aswath Govindraju <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: No change
V3: No change
V4: No change
V5: Add RB from Krzysztof
V6: No change

---
  Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
  1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +0 -0
index 0cf5fa21106b6..e97b1bc0a2e45 100644

Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml properties: · line 24

Quoted 7 lines
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +1 -0
@@ -18,6 +18,7 @@ properties:
        - items:
            - enum:
                - microchip,ata6561
+              - microchip,ata6563
                - ti,tcan1051
            - const: ti,tcan1042
        - items:

+CC Vinod, is this patch OK with you ?

Thank you.

maintainer
#5 lore raw
Quoted 30 lines · Marek Vasut
Quoted 29 lines · Marek Vasut

Microchip ATA6563 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.

---
Cc: Aswath Govindraju <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: No change
V3: No change
V4: No change
V5: Add RB from Krzysztof
V6: No change

---
  Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
  1 file changed, 1 insertion(+)
Quoted 14 lines

Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml properties: · line 24

Quoted 12 lines
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +1 -0
index 0cf5fa21106b6..e97b1bc0a2e45 100644
@@ -18,6 +18,7 @@ properties:
        - items:
            - enum:
                - microchip,ata6561
+              - microchip,ata6563
                - ti,tcan1051
            - const: ti,tcan1042
        - items:

+CC Vinod, is this patch OK with you ?

Looks good to me, I will pick this after rc1 (monday)

Signature · 1 line
~Vinod
#6 lore raw
Quoted 46 lines · Vinod Koul
Quoted 30 lines · Marek Vasut
Quoted 29 lines · Marek Vasut

Microchip ATA6563 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.

---
Cc: Aswath Govindraju <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: No change
V3: No change
V4: No change
V5: Add RB from Krzysztof
V6: No change

---
   Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
   1 file changed, 1 insertion(+)
Quoted 14 lines

Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml properties: · line 24

Quoted 12 lines
Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +1 -0
index 0cf5fa21106b6..e97b1bc0a2e45 100644
@@ -18,6 +18,7 @@ properties:
         - items:
             - enum:
                 - microchip,ata6561
+              - microchip,ata6563
                 - ti,tcan1051
             - const: ti,tcan1042
         - items:

+CC Vinod, is this patch OK with you ?

Quoted 1 line

Looks good to me, I will pick this after rc1 (monday)

I would like to do a brief reminder here, so this won't get lost, since rc1 is now out and I don't see this in dmaengine.git.

Thank you for your help!

maintainer
#7 lore raw
Quoted 7 lines · Marek Vasut
Quoted 3 lines · Vinod Koul
Quoted 1 line

+CC Vinod, is this patch OK with you ?

Looks good to me, I will pick this after rc1 (monday)

I would like to do a brief reminder here, so this won't get lost, since rc1 is now out and I don't see this in dmaengine.git.

I have picked it up in phy tree...

Signature · 1 line
~Vinod
#8 lore raw
Quoted 10 lines · Vinod Koul
Quoted 7 lines · Marek Vasut
Quoted 3 lines · Vinod Koul
Quoted 1 line

+CC Vinod, is this patch OK with you ?

Looks good to me, I will pick this after rc1 (monday)

I would like to do a brief reminder here, so this won't get lost, since rc1 is now out and I don't see this in dmaengine.git.

I have picked it up in phy tree...

Thank you !

maintainer Applied
#9 lore raw

Re: (subset) [PATCH v6 1/3] dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6563

In reply to Marek Vasut
Quoted 5 lines · Marek Vasut

Microchip ATA6563 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.

Applied, thanks!

[1/3] dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6563

      commit: b338621a7e68bb9dc91d08e1774262deb0db50f6

Best regards,

Signature · 1 line
~Vinod
#10 lore raw

Re: (subset) [PATCH v6 1/3] dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6563

Quoted 8 lines · Vinod Koul
Quoted 5 lines · Marek Vasut

Microchip ATA6563 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.

Quoted 4 lines

Applied, thanks!

[1/3] dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6563

       commit: b338621a7e68bb9dc91d08e1774262deb0db50f6

Thank you.

Frank, I think you can now proceed with the rest ?

#11 lore raw

Re: (subset) [PATCH v6 1/3] dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6563

Quoted 9 lines · Marek Vasut
Quoted 8 lines · Vinod Koul
Quoted 5 lines · Marek Vasut

Microchip ATA6563 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.

Quoted 7 lines
Quoted 4 lines

Applied, thanks!

[1/3] dt-bindings: phy: ti,tcan104x-can: Document Microchip ATA6563

       commit: b338621a7e68bb9dc91d08e1774262deb0db50f6

Thank you.

Frank, I think you can now proceed with the rest ?

Can you rebase to imx/dt64? There are not base-commit informaiton, I can't apply.

Frank

Quoted 1 line