Skip to contentSkip to conversation

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

PATCH Superseded Marek Vasut 4 participants 19 messages Sep 17 – Sep 21

Subsystems (4)

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 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

---
 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 9f5c37ca6496a..75c276548e122 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 v4 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

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
index 36e28e0e4ad99..04abae2018043 100644
@@ -1548,6 +1548,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
#3 lore raw

PATCH v4 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

---
 arch/arm64/boot/dts/freescale/Makefile        |    1 +
 .../freescale/imx95-data-modul-edm-sbc.dts    | 1111 +++++++++++++++++
 2 files changed, 1112 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
index 7944e3b325130..8e4c4464788e4 100644
@@ -955,6 +955,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-smarc-dev.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-tqma9596la-mba95xxca.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-tqma9596sa-mb-smarc-2.dtb
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +1111 -0

1,111 lines not on this page · raw message

Signature · 1 line
2.53.0
#4 lore raw

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

Thank you for your contribution! Sashiko AI review found 6 potential issue(s) to consider: - [High] dts: pcal6524 interrupt polarity is incorrectly set to LEVEL_HIGH - [Medium] dts: Ethernet PHY…

Thank you for your contribution! Sashiko AI review found 6 potential issue(s) to consider:
- [High] dts: pcal6524 interrupt polarity is incorrectly set to LEVEL_HIGH
- [Medium] dts: Ethernet PHY reset-gpios configured with wrong polarity
- [Medium] dts: eMMC reset GPIO defined but unused in usdhc1
- [Medium] dts: reg_panel_vcc regulator missing enable-active-high property
- [Medium] dts: M.2 Key-E (usdhc3) slot missing power regulator
- [Low] dts: tas2552 codec uses deprecated enable-gpio instead of enable-gpios --

commit 5792bafb068af6288c67560ae9fb90a4c34326af
Author: Marek Vasut <[email protected]>
arm64: dts: imx95: Add support for Data Modul i.MX95 eDM SBC

This commit adds support for the Data Modul i.MX95 eDM SBC evaluation board, enabling various peripherals like serial console, ethernet, eMMC, SD, SPI NOR, USB, and PCIe.

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +0 -0
new file mode 100644
index 0000000000000..0181262eb8a98

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 141

Quoted 9 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +9 -0
+	reg_panel_vcc: regulator-panel-vcc {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "PANEL_VCC";
+		gpios = <&i2c2_gpio_expander_20 17 0>;
+		/* Disabled by default, unless display board plugged in. */
+		status = "disabled";
+	};

[Severity: Medium]
Does reg_panel_vcc need an enable-active-high property? Without it, the regulator defaults to active-low logic, which will drive the panel VCC low when the regulator is enabled.

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 311

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +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]
Will triggering interrupts-extended on IRQ_TYPE_LEVEL_HIGH cause an interrupt storm? The PCAL6524 INT output is an open-drain, active-low signal, so the line will idle high.

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 342

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -0
+	i2c2_gpio_expander_21: gpio@21 {	/* U14 */
+		compatible = "nxp,pcal6524";
+		reg = <0x21>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		interrupts-extended = <&gpio5 11 IRQ_TYPE_LEVEL_HIGH>;

[Severity: High]
Could this IRQ_TYPE_LEVEL_HIGH configuration also lead to an interrupt storm for i2c2_gpio_expander_21?

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 380

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -0
+	i2c2_gpio_expander_22: gpio@22 {	/* U13 */
+		compatible = "nxp,pcal6524";
+		reg = <0x22>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		interrupts-extended = <&gpio5 11 IRQ_TYPE_LEVEL_HIGH>;

[Severity: High]
Does i2c2_gpio_expander_22 similarly need to be configured for an active-low interrupt instead of IRQ_TYPE_LEVEL_HIGH?

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 423

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -0
+	tas2552: audio-codec@40 {
+		compatible = "ti,tas2552";
+		reg = <0x40>;
+		#sound-dai-cells = <0>;
+		avdd-supply = <&reg_1p8v>;
+		iovdd-supply = <&reg_3p3v>;
+		vbat-supply = <&reg_5p0v>;
+		enable-gpio = <&i2c2_gpio_expander_20 23 GPIO_ACTIVE_HIGH>;

[Severity: Low]
This isn't a bug, but should tas2552 be using the enable-gpios property name instead of the deprecated enable-gpio? The patch changelog mentions replacing gpio with gpios DT properties.

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 529

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -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>;

[Severity: Medium]
Will ethphy0 be held in reset permanently? The KSZ9131RNXI RESET_N signal is active-low, so defining reset-gpios with GPIO_ACTIVE_HIGH will drive the line high to assert reset.

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 539

Quoted 10 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +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: Medium]
Does ethphy1 also suffer from the incorrect GPIO_ACTIVE_HIGH reset polarity?

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 723

Quoted 3 lines

+&usdhc1 { /* eMMC */

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +2 -0
+	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
+	pinctrl-0 = <&pinctrl_usdhc1>;

[Severity: Medium]
Could usdhc1 be missing its reset sequence configuration? The hardware provides an eMMC_RESET line on the I2C GPIO expander, but it isn't consumed via mmc-pwrseq or reset-gpios. This might cause the eMMC to fail to initialize during warm reboots.

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts

Quoted 3 lines

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

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +2 -0
+	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
+	pinctrl-0 = <&pinctrl_usdhc3>;

[Severity: Medium]
Does the usdhc3 node need a vmmc-supply? The VDD_3V3_M2-E_EN pin is defined on the expander but there is no fixed regulator defined to power the M.2 Key-E slot, which might leave peripherals undetectable.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
#5 lore raw

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

Quoted 25 lines · On Thu, Sep 17, 2026 at 06:35:12AM +0000, [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 6 potential issue(s) to consider:
- [High] dts: pcal6524 interrupt polarity is incorrectly set to LEVEL_HIGH
- [Medium] dts: Ethernet PHY reset-gpios configured with wrong polarity
- [Medium] dts: eMMC reset GPIO defined but unused in usdhc1
- [Medium] dts: reg_panel_vcc regulator missing enable-active-high property
- [Medium] dts: M.2 Key-E (usdhc3) slot missing power regulator
- [Low] dts: tas2552 codec uses deprecated enable-gpio instead of enable-gpios --

commit 5792bafb068af6288c67560ae9fb90a4c34326af
Author: Marek Vasut <[email protected]>
arm64: dts: imx95: Add support for Data Modul i.MX95 eDM SBC

This commit adds support for the Data Modul i.MX95 eDM SBC evaluation board, enabling various peripherals like serial console, ethernet, eMMC, SD, SPI NOR, USB, and PCIe.

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +0 -0
new file mode 100644
index 0000000000000..0181262eb8a98

[ ... ]

Quoted 6 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 138

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +6 -0
+	reg_panel_vcc: regulator-panel-vcc {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "PANEL_VCC";
+		gpios = <&i2c2_gpio_expander_20 17 0>;

gpio third arg 0, means GPIO_ACTIVE_HIGH

so need enable-active-high

if your boards have invertor should use GPIO_ACTIVE_LOW

Quoted 11 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 56

Quoted 3 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +3 -0
+		/* Disabled by default, unless display board plugged in. */
+		status = "disabled";
+	};

[Severity: Medium]
Does reg_panel_vcc need an enable-active-high property? Without it, the regulator defaults to active-low logic, which will drive the panel VCC low when the regulator is enabled.

[ ... ]

Quoted 13 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 311

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +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]
Will triggering interrupts-extended on IRQ_TYPE_LEVEL_HIGH cause an interrupt storm? The PCAL6524 INT output is an open-drain, active-low signal, so the line will idle high.

Yes, suppose it should LOW to trigger irq.

Quoted 33 lines

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 342

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -0
+	i2c2_gpio_expander_21: gpio@21 {	/* U14 */
+		compatible = "nxp,pcal6524";
+		reg = <0x21>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		interrupts-extended = <&gpio5 11 IRQ_TYPE_LEVEL_HIGH>;

[Severity: High]
Could this IRQ_TYPE_LEVEL_HIGH configuration also lead to an interrupt storm for i2c2_gpio_expander_21?

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 380

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -0
+	i2c2_gpio_expander_22: gpio@22 {	/* U13 */
+		compatible = "nxp,pcal6524";
+		reg = <0x22>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		interrupts-extended = <&gpio5 11 IRQ_TYPE_LEVEL_HIGH>;

[Severity: High]
Does i2c2_gpio_expander_22 similarly need to be configured for an active-low interrupt instead of IRQ_TYPE_LEVEL_HIGH?

[ ... ]

Quoted 13 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 423

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -0
+	tas2552: audio-codec@40 {
+		compatible = "ti,tas2552";
+		reg = <0x40>;
+		#sound-dai-cells = <0>;
+		avdd-supply = <&reg_1p8v>;
+		iovdd-supply = <&reg_3p3v>;
+		vbat-supply = <&reg_5p0v>;
+		enable-gpio = <&i2c2_gpio_expander_20 23 GPIO_ACTIVE_HIGH>;

[Severity: Low]
This isn't a bug, but should tas2552 be using the enable-gpios property name instead of the deprecated enable-gpio? The patch changelog mentions replacing gpio with gpios DT properties.

Please fix this one.

Quoted 17 lines

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 529

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -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>;

[Severity: Medium]
Will ethphy0 be held in reset permanently? The KSZ9131RNXI RESET_N signal is active-low, so defining reset-gpios with GPIO_ACTIVE_HIGH will drive the line high to assert reset.

Quoted 13 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 539

Quoted 10 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +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: Medium]
Does ethphy1 also suffer from the incorrect GPIO_ACTIVE_HIGH reset polarity?

Is it correct?

Quoted 12 lines

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 723

Quoted 3 lines

+&usdhc1 { /* eMMC */

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +2 -0
+	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
+	pinctrl-0 = <&pinctrl_usdhc1>;

[Severity: Medium]
Could usdhc1 be missing its reset sequence configuration? The hardware provides an eMMC_RESET line on the I2C GPIO expander, but it isn't consumed via mmc-pwrseq or reset-gpios. This might cause the eMMC to fail to initialize during warm reboots.

Please check this

Frank

Quoted 14 lines

[ ... ]

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts

Quoted 3 lines

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

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +2 -0
+	pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
+	pinctrl-0 = <&pinctrl_usdhc3>;

[Severity: Medium]
Does the usdhc3 node need a vmmc-supply? The VDD_3V3_M2-E_EN pin is defined on the expander but there is no fixed regulator defined to power the M.2 Key-E slot, which might leave peripherals undetectable.

--
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3

#6 lore raw

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

On 9/17/26 6:53 PM, Frank Li wrote:

Hello Frank,

Quoted 8 lines · On Thu, Sep 17, 2026 at 06:35:12AM +0000, [email protected] wrote:
Quoted 7 lines

Thank you for your contribution! Sashiko AI review found 6 potential issue(s) to consider:
- [High] dts: pcal6524 interrupt polarity is incorrectly set to LEVEL_HIGH
- [Medium] dts: Ethernet PHY reset-gpios configured with wrong polarity
- [Medium] dts: eMMC reset GPIO defined but unused in usdhc1
- [Medium] dts: reg_panel_vcc regulator missing enable-active-high property
- [Medium] dts: M.2 Key-E (usdhc3) slot missing power regulator
- [Low] dts: tas2552 codec uses deprecated enable-gpio instead of enable-gpios

[...]

Quoted 9 lines
Quoted 6 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 138

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +6 -0
+	reg_panel_vcc: regulator-panel-vcc {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "PANEL_VCC";
+		gpios = <&i2c2_gpio_expander_20 17 0>;

gpio third arg 0, means GPIO_ACTIVE_HIGH

Quoted 3 lines

so need enable-active-high

if your boards have invertor should use GPIO_ACTIVE_LOW

I already went through all that, please see "Re: [PATCH 3/3] arm64: dts: imx95: Add support for Data Modul i.MX95 eDM SBC" .

[...]

Quoted 14 lines
Quoted 5 lines
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +5 -0
+	tas2552: audio-codec@40 {
+		compatible = "ti,tas2552";
+		reg = <0x40>;
+		#sound-dai-cells = <0>;
+		avdd-supply = <&reg_1p8v>;
Quoted 8 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 423

Quoted 3 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +3 -0
+		iovdd-supply = <&reg_3p3v>;
+		vbat-supply = <&reg_5p0v>;
+		enable-gpio = <&i2c2_gpio_expander_20 23 GPIO_ACTIVE_HIGH>;

[Severity: Low]
This isn't a bug, but should tas2552 be using the enable-gpios property name instead of the deprecated enable-gpio? The patch changelog mentions replacing gpio with gpios DT properties.

Quoted 1 line

Please fix this one.

No, this is correct, see

Documentation/devicetree/bindings/sound/ti,tas2552.yaml: enable-gpio:

[...]

#7 lore raw

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

Quoted 24 lines · Marek Vasut

On 9/17/26 6:53 PM, Frank Li wrote:

Hello Frank,

Quoted 8 lines · On Thu, Sep 17, 2026 at 06:35:12AM +0000, [email protected] wrote:
Quoted 7 lines

Thank you for your contribution! Sashiko AI review found 6 potential issue(s) to consider:
- [High] dts: pcal6524 interrupt polarity is incorrectly set to LEVEL_HIGH
- [Medium] dts: Ethernet PHY reset-gpios configured with wrong polarity
- [Medium] dts: eMMC reset GPIO defined but unused in usdhc1
- [Medium] dts: reg_panel_vcc regulator missing enable-active-high property
- [Medium] dts: M.2 Key-E (usdhc3) slot missing power regulator
- [Low] dts: tas2552 codec uses deprecated enable-gpio instead of enable-gpios

[...]

Quoted 9 lines
Quoted 6 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 138

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +6 -0
+	reg_panel_vcc: regulator-panel-vcc {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "PANEL_VCC";
+		gpios = <&i2c2_gpio_expander_20 17 0>;

gpio third arg 0, means GPIO_ACTIVE_HIGH

Quoted 6 lines
Quoted 3 lines

so need enable-active-high

if your boards have invertor should use GPIO_ACTIVE_LOW

I already went through all that, please see "Re: [PATCH 3/3] arm64: dts:
imx95: Add support for Data Modul i.MX95 eDM SBC" .

at https://lore.kernel.org/imx/[email protected]/

<&i2c2_gpio_expander_20 17 0>;
                           ^

0 should use predefine MACRO, after I check 0 means GPIO_ACTIVE_HIGH.

so need enable-active-high for regulator.

Quoted 17 lines

[...]

Quoted 14 lines
Quoted 13 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 423

Quoted 8 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -0
+	tas2552: audio-codec@40 {
+		compatible = "ti,tas2552";
+		reg = <0x40>;
+		#sound-dai-cells = <0>;
+		avdd-supply = <&reg_1p8v>;
+		iovdd-supply = <&reg_3p3v>;
+		vbat-supply = <&reg_5p0v>;
+		enable-gpio = <&i2c2_gpio_expander_20 23 GPIO_ACTIVE_HIGH>;

[Severity: Low]
This isn't a bug, but should tas2552 be using the enable-gpios property name instead of the deprecated enable-gpio? The patch changelog mentions replacing gpio with gpios DT properties.

Quoted 5 lines
Quoted 1 line

Please fix this one.

No, this is correct, see

Documentation/devicetree/bindings/sound/ti,tas2552.yaml: enable-gpio:

It is fine now, I suggest update bindings to allow both. which convert by Rob at Jan 2026. I think Rob may miss it.

kernel hack code covert -gpio to -gpios

Frank

Quoted 2 lines

[...]

#8 lore raw

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

On 9/17/26 8:46 PM, Frank Li wrote:

Hello Frank,

[...]

Quoted 16 lines
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 138

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +6 -0
+	reg_panel_vcc: regulator-panel-vcc {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "PANEL_VCC";
+		gpios = <&i2c2_gpio_expander_20 17 0>;

gpio third arg 0, means GPIO_ACTIVE_HIGH

Quoted 6 lines
Quoted 3 lines

so need enable-active-high

if your boards have invertor should use GPIO_ACTIVE_LOW

I already went through all that, please see "Re: [PATCH 3/3] arm64: dts:
imx95: Add support for Data Modul i.MX95 eDM SBC" .

Quoted 8 lines

at https://lore.kernel.org/imx/[email protected]/

<&i2c2_gpio_expander_20 17 0>;
                            ^

0 should use predefine MACRO, after I check 0 means GPIO_ACTIVE_HIGH.

so need enable-active-high for regulator.

This is extended via a DTO, so no, I must not use a macro because I do not know the polarity of this signal, that is why there is 0 here.

The enable-active-high DT property must explicitly NOT be here, because the DTO can not remove properties from the base DT. Adding enable-active-high here would make the DTO unable to operate this signal as active-low .

Quoted 16 lines
Quoted 16 lines
Quoted 15 lines
Quoted 5 lines
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +5 -0
+	tas2552: audio-codec@40 {
+		compatible = "ti,tas2552";
+		reg = <0x40>;
+		#sound-dai-cells = <0>;
+		avdd-supply = <&reg_1p8v>;
Quoted 8 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 423

Quoted 3 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +3 -0
+		iovdd-supply = <&reg_3p3v>;
+		vbat-supply = <&reg_5p0v>;
+		enable-gpio = <&i2c2_gpio_expander_20 23 GPIO_ACTIVE_HIGH>;

[Severity: Low]
This isn't a bug, but should tas2552 be using the enable-gpios property name instead of the deprecated enable-gpio? The patch changelog mentions replacing gpio with gpios DT properties.

Please fix this one.

Quoted 8 lines
Quoted 3 lines

No, this is correct, see

Documentation/devicetree/bindings/sound/ti,tas2552.yaml: enable-gpio:

It is fine now, I suggest update bindings to allow both. which convert by Rob at Jan 2026. I think Rob may miss it.

kernel hack code covert -gpio to -gpios

I'll add that into my todo, but that is a separate fix from this DT.

#9 lore raw

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

Quoted 29 lines · Marek Vasut

On 9/17/26 8:46 PM, Frank Li wrote:

Hello Frank,

[...]

Quoted 23 lines
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 138

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +6 -0
+	reg_panel_vcc: regulator-panel-vcc {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "PANEL_VCC";
+		gpios = <&i2c2_gpio_expander_20 17 0>;

gpio third arg 0, means GPIO_ACTIVE_HIGH

Quoted 6 lines
Quoted 3 lines

so need enable-active-high

if your boards have invertor should use GPIO_ACTIVE_LOW

I already went through all that, please see "Re: [PATCH 3/3] arm64: dts:
imx95: Add support for Data Modul i.MX95 eDM SBC" .

at https://lore.kernel.org/imx/[email protected]/

<&i2c2_gpio_expander_20 17 0>;
                            ^

0 should use predefine MACRO, after I check 0 means GPIO_ACTIVE_HIGH.

Quoted 8 lines
Quoted 1 line

so need enable-active-high for regulator.

This is extended via a DTO, so no, I must not use a macro because I do not know the polarity of this signal, that is why there is 0 here.

The enable-active-high DT property must explicitly NOT be here, because the DTO can not remove properties from the base DT. Adding enable-active-high here would make the DTO unable to operate this signal as active-low .

But why DTO need update regulator-panel-vcc's gpio informaiton. I suppose it is fixed when board design.

Does this regulator place at additional boards?

Frank

Quoted 26 lines
Quoted 17 lines
Quoted 17 lines
Quoted 16 lines
Quoted 14 lines

arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts line 423

Quoted 9 lines
arch/arm64/boot/dts/freescale/imx95-data-modul-edm-sbc.dts new file +8 -0
+	tas2552: audio-codec@40 {
+		compatible = "ti,tas2552";
+		reg = <0x40>;
+		#sound-dai-cells = <0>;
+		avdd-supply = <&reg_1p8v>;
+		iovdd-supply = <&reg_3p3v>;
+		vbat-supply = <&reg_5p0v>;
+		enable-gpio = <&i2c2_gpio_expander_20 23 GPIO_ACTIVE_HIGH>;

[Severity: Low]
This isn't a bug, but should tas2552 be using the enable-gpios property name instead of the deprecated enable-gpio? The patch changelog mentions replacing gpio with gpios DT properties.

Please fix this one.

Quoted 8 lines
Quoted 3 lines

No, this is correct, see

Documentation/devicetree/bindings/sound/ti,tas2552.yaml: enable-gpio:

It is fine now, I suggest update bindings to allow both. which convert by Rob at Jan 2026. I think Rob may miss it.

kernel hack code covert -gpio to -gpios

I'll add that into my todo, but that is a separate fix from this DT.

#10 lore raw

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

On 9/18/26 3:58 PM, Frank Li wrote:

Hello Frank,

Quoted 28 lines
Quoted 28 lines
Quoted 16 lines
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines

Review

Quoted 6 lines
(quoted diff) +6 -0
+	reg_panel_vcc: regulator-panel-vcc {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "PANEL_VCC";
+		gpios = <&i2c2_gpio_expander_20 17 0>;

gpio third arg 0, means GPIO_ACTIVE_HIGH

Quoted 6 lines
Quoted 3 lines

so need enable-active-high

if your boards have invertor should use GPIO_ACTIVE_LOW

I already went through all that, please see "Re: [PATCH 3/3] arm64: dts:
imx95: Add support for Data Modul i.MX95 eDM SBC" .

Quoted 8 lines

at https://lore.kernel.org/imx/[email protected]/

<&i2c2_gpio_expander_20 17 0>;
                             ^

0 should use predefine MACRO, after I check 0 means GPIO_ACTIVE_HIGH.

so need enable-active-high for regulator.

This is extended via a DTO, so no, I must not use a macro because I do not know the polarity of this signal, that is why there is 0 here.

Quoted 7 lines
Quoted 3 lines

The enable-active-high DT property must explicitly NOT be here, because the DTO can not remove properties from the base DT. Adding enable-active-high here would make the DTO unable to operate this signal as active-low .

But why DTO need update regulator-panel-vcc's gpio informaiton. I suppose it is fixed when board design.

It is just a GPIO, it can have either polarity depending on the regulator that it controls.

Signature · 2 lines
Best regards,
Marek Vasut
#11 lore raw

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

Quoted 37 lines · Marek Vasut

On 9/18/26 3:58 PM, Frank Li wrote:

Hello Frank,

Quoted 33 lines
Quoted 31 lines
Quoted 16 lines
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines

Review

Quoted 6 lines
(quoted diff) +6 -0
+	reg_panel_vcc: regulator-panel-vcc {
+		compatible = "regulator-fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "PANEL_VCC";
+		gpios = <&i2c2_gpio_expander_20 17 0>;

gpio third arg 0, means GPIO_ACTIVE_HIGH

Quoted 6 lines
Quoted 3 lines

so need enable-active-high

if your boards have invertor should use GPIO_ACTIVE_LOW

I already went through all that, please see "Re: [PATCH 3/3] arm64: dts:
imx95: Add support for Data Modul i.MX95 eDM SBC" .

Quoted 8 lines

at https://lore.kernel.org/imx/[email protected]/

<&i2c2_gpio_expander_20 17 0>;
                             ^

0 should use predefine MACRO, after I check 0 means GPIO_ACTIVE_HIGH.

so need enable-active-high for regulator.

This is extended via a DTO, so no, I must not use a macro because I do not know the polarity of this signal, that is why there is 0 here.

The enable-active-high DT property must explicitly NOT be here, because the DTO can not remove properties from the base DT. Adding enable-active-high here would make the DTO unable to operate this signal as active-low .

Quoted 5 lines
Quoted 2 lines

But why DTO need update regulator-panel-vcc's gpio informaiton. I suppose it is fixed when board design.

It is just a GPIO, it can have either polarity depending on the regulator that it controls.

Understand, But the problem is why polarity change after board design?

If reg_panel_vcc is on added on boards, should it be in dtso file also to match your hardware design correctly?

Frank

Quoted 4 lines

--
Best regards,
Marek Vasut

#12 lore raw

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

On 9/21/26 6:24 PM, Frank Li wrote:

Hello Frank,

Quoted 10 lines
Quoted 5 lines
Quoted 2 lines

But why DTO need update regulator-panel-vcc's gpio informaiton. I suppose it is fixed when board design.

It is just a GPIO, it can have either polarity depending on the regulator that it controls.

Understand, But the problem is why polarity change after board design?

If reg_panel_vcc is on added on boards, should it be in dtso file also to match your hardware design correctly?

We want to avoid duplication in the DTOs files, do we not ?

Hence, base common stuff in the base DT, stuff that changes in the DTOs.

#13 lore raw

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

Quoted 10 lines · Marek Vasut

On 9/21/26 6:24 PM, Frank Li wrote:

Hello Frank,

Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

But why DTO need update regulator-panel-vcc's gpio informaiton. I suppose it is fixed when board design.

It is just a GPIO, it can have either polarity depending on the regulator that it controls.

Quoted 6 lines
Quoted 4 lines

Understand, But the problem is why polarity change after board design?

If reg_panel_vcc is on added on boards, should it be in dtso file also to match your hardware design correctly?

We want to avoid duplication in the DTOs files, do we not ?

Yes, but there are not dtso file yet, I don't know how to share it yet.

Quoted 2 lines

Hence, base common stuff in the base DT, stuff that changes in the DTOs.

Idea is good, but avoid hack stuff. Can you show me what's plan use reg_panel_vcc in dtso and how to share it.

Frank

#14 lore raw

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

On 9/21/26 7:11 PM, Frank Li wrote:

Hello Frank,

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

But why DTO need update regulator-panel-vcc's gpio informaiton. I suppose it is fixed when board design.

It is just a GPIO, it can have either polarity depending on the regulator that it controls.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Understand, But the problem is why polarity change after board design?

If reg_panel_vcc is on added on boards, should it be in dtso file also to match your hardware design correctly?

We want to avoid duplication in the DTOs files, do we not ?

Yes, but there are not dtso file yet, I don't know how to share it yet.

Yes, there is no DTSO, because there is no DPU support for MX95, so display support in upstream is missing (check with Victor Liu, they might know more about the current state).

Quoted 4 lines
Quoted 1 line

Hence, base common stuff in the base DT, stuff that changes in the DTOs.

Idea is good, but avoid hack stuff. Can you show me what's plan use reg_panel_vcc in dtso and how to share it.

See above, currently I cannot really use the regulator, because of the missing DPU support. The only DTO I temporarily have in tree (used with my DPU patchset) is for the RPi 7" display 2, which does not use this regulator.

The plan is to use it the same way as on the MX8MM/MX8MP eDM SBC in the DTO:

&reg_panel_vcc {
gpios = <&i2c2_gpio_expander_20 17 GPIO_ACTIVE_HIGH>; enable-active-high;
status = "okay";
};

or

&reg_panel_vcc {
gpios = <&i2c2_gpio_expander_20 17 GPIO_ACTIVE_LOW>; status = "okay";
};

#15 lore raw

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

Quoted 23 lines · Marek Vasut

On 9/21/26 7:11 PM, Frank Li wrote:

Hello Frank,

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

But why DTO need update regulator-panel-vcc's gpio informaiton. I suppose it is fixed when board design.

It is just a GPIO, it can have either polarity depending on the regulator that it controls.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Understand, But the problem is why polarity change after board design?

If reg_panel_vcc is on added on boards, should it be in dtso file also to match your hardware design correctly?

We want to avoid duplication in the DTOs files, do we not ?

Yes, but there are not dtso file yet, I don't know how to share it yet.

Yes, there is no DTSO, because there is no DPU support for MX95, so display support in upstream is missing (check with Victor Liu, they might know more about the current state).

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Hence, base common stuff in the base DT, stuff that changes in the DTOs.

Idea is good, but avoid hack stuff. Can you show me what's plan use reg_panel_vcc in dtso and how to share it.

See above, currently I cannot really use the regulator, because of the missing DPU support.

I suggest add it when it will be used. Or Remove gpios = <&i2c2_gpio_expander_20 17 0>;

Suppose it will be overwrited by dtso future.

Quoted 12 lines

The only DTO I temporarily have in tree (used with my DPU patchset) is for the RPi 7" display 2, which does not use this regulator.

The plan is to use it the same way as on the MX8MM/MX8MP eDM SBC in the DTO:

&reg_panel_vcc {
gpios = <&i2c2_gpio_expander_20 17 GPIO_ACTIVE_HIGH>; enable-active-high;
status = "okay";
};

Quoted 6 lines

or

&reg_panel_vcc {
gpios = <&i2c2_gpio_expander_20 17 GPIO_ACTIVE_LOW>; status = "okay";
};

In future, it should be nexus node for it and put reg_panel_vcc into dtso files, and looks like you use gpio controller add-on boards's regulator.

Frank

#16 lore raw

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

On 9/21/26 9:23 PM, Frank Li wrote:

[...]

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Hence, base common stuff in the base DT, stuff that changes in the DTOs.

Idea is good, but avoid hack stuff. Can you show me what's plan use reg_panel_vcc in dtso and how to share it.

See above, currently I cannot really use the regulator, because of the missing DPU support.

I suggest add it when it will be used.

The users can already use it with additional downstream patches, so having the base node in the DT is helpful to the users.

Quoted 1 line

Or Remove gpios = <&i2c2_gpio_expander_20 17 0>;

Having the GPIO described here is also helpful to the users, since they won't have to look up which GPIO is controlling this regulator in the schematic, and won't make mistakes.

Quoted 1 line

Suppose it will be overwrited by dtso future.

Only the polarity.

Quoted 14 lines
Quoted 14 lines

The only DTO I temporarily have in tree (used with my DPU patchset) is for the RPi 7" display 2, which does not use this regulator.

The plan is to use it the same way as on the MX8MM/MX8MP eDM SBC in the DTO:

&reg_panel_vcc {
   gpios = <&i2c2_gpio_expander_20 17 GPIO_ACTIVE_HIGH>;
   enable-active-high;
   status = "okay";
};

or

Quoted 7 lines
Quoted 4 lines
&reg_panel_vcc {
   gpios = <&i2c2_gpio_expander_20 17 GPIO_ACTIVE_LOW>;
   status = "okay";
};

In future, it should be nexus node for it and put reg_panel_vcc into dtso files, and looks like you use gpio controller add-on boards's regulator.

There is really no need for a nexus node, only for a polarity setting.

#17 lore raw
In reply to Marek Vasut
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] dt-bindings: phy: incomplete schema validation for microchip,ata6563 --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: phy: incomplete schema validation for microchip,ata6563 --

commit e1e7d148b2a5e6742f485d13055f3692d10dbf6a
Author: Marek Vasut <[email protected]>

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.

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

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

[Severity: Medium]
Will this compatible string bypass the constraints enforced in the allOf block below?

Since microchip,ata6563 is defined as an array item here, the compatible property will be an array at runtime (e.g. ["microchip,ata6563", "ti,tcan1042"]).

Looking at the allOf conditional block for ti,tcan1042:

allOf:
- if:
properties:
compatible:
enum:
- nxp,tjr1443
- ti,tcan1042
- ti,tcan1043

This block uses an exact enum match. In JSON Schema, an array value will not match this enum of single strings.

Does this need to use contains: enum or contains: const to properly apply constraints (like #phy-cells: const: 0) when a fallback array is used?

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1