* [PATCH v2 2/3] ARM: dts: stm32: Use STM32MP13xx compatible string for EHCI USB controller
2026-08-28 15:21 [PATCH v2 1/3] dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles Marek Vasut
@ 2026-08-28 15:21 ` Marek Vasut
2026-08-28 15:21 ` [PATCH v2 3/3] ARM: dts: stm32: Use STM32MP15xx " Marek Vasut
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2026-08-28 15:21 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Marek Vasut, Alexandre Torgue, Conor Dooley, Greg Kroah-Hartman,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-kernel, linux-stm32, linux-usb
Use accurate STM32MP13xx compatible string for EHCI USB controller in
addition to "generic-ehci" fallback compatible string. This is future
proof, and drivers can match on the accurate compatible string in case
they need to discern this controller from the generic-ehci one.
Signed-off-by: Marek Vasut <marex@nabladev.com>
---
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: linux-usb@vger.kernel.org
---
V2: No change
---
arch/arm/boot/dts/st/stm32mp131.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/stm32mp131.dtsi
index d1c5afb5f89aa..ae45c2023afeb 100644
--- a/arch/arm/boot/dts/st/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp131.dtsi
@@ -1137,7 +1137,7 @@ usbh_ohci: usb@5800c000 {
};
usbh_ehci: usb@5800d000 {
- compatible = "generic-ehci";
+ compatible = "st,stm32mp13-ehci", "generic-ehci";
reg = <0x5800d000 0x1000>;
clocks = <&usbphyc>, <&rcc USBH>;
resets = <&rcc USBH_R>;
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH v2 3/3] ARM: dts: stm32: Use STM32MP15xx compatible string for EHCI USB controller
2026-08-28 15:21 [PATCH v2 1/3] dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles Marek Vasut
2026-08-28 15:21 ` [PATCH v2 2/3] ARM: dts: stm32: Use STM32MP13xx compatible string for EHCI USB controller Marek Vasut
@ 2026-08-28 15:21 ` Marek Vasut
2026-08-28 15:26 ` [PATCH v2 1/3] dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles sashiko-bot
2026-08-28 15:51 ` Conor Dooley
3 siblings, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2026-08-28 15:21 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Marek Vasut, Alexandre Torgue, Conor Dooley, Greg Kroah-Hartman,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-kernel, linux-stm32, linux-usb
Use accurate STM32MP15xx compatible string for EHCI USB controller in
addition to "generic-ehci" fallback compatible string. This is future
proof, and drivers can match on the accurate compatible string in case
they need to discern this controller from the generic-ehci one.
Signed-off-by: Marek Vasut <marex@nabladev.com>
---
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: linux-usb@vger.kernel.org
---
V2: No change
---
arch/arm/boot/dts/st/stm32mp151.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/st/stm32mp151.dtsi b/arch/arm/boot/dts/st/stm32mp151.dtsi
index c37005c00ad65..ae31883732388 100644
--- a/arch/arm/boot/dts/st/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
@@ -515,7 +515,7 @@ usbh_ohci: usb@5800c000 {
};
usbh_ehci: usb@5800d000 {
- compatible = "generic-ehci";
+ compatible = "st,stm32mp15-ehci", "generic-ehci";
reg = <0x5800d000 0x1000>;
clocks = <&usbphyc>, <&rcc USBH>;
resets = <&rcc USBH_R>;
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH v2 1/3] dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles
2026-08-28 15:21 [PATCH v2 1/3] dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles Marek Vasut
2026-08-28 15:21 ` [PATCH v2 2/3] ARM: dts: stm32: Use STM32MP13xx compatible string for EHCI USB controller Marek Vasut
2026-08-28 15:21 ` [PATCH v2 3/3] ARM: dts: stm32: Use STM32MP15xx " Marek Vasut
@ 2026-08-28 15:26 ` sashiko-bot
2026-08-28 15:51 ` Conor Dooley
3 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-08-28 15:26 UTC (permalink / raw)
To: Marek Vasut; +Cc: robh, devicetree, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Incomplete binding update: missing matching SoC compatibles for OHCI
--
commit 7095875c29b62fc4da25d15360437f36863e8a6a
Author: Marek Vasut <marex@nabladev.com>
dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles
This commit documents SoC-specific compatibles for the ST STM32MP13xx and
STM32MP15xx series in the generic-ehci binding. This provides a more
accurate compatible string for the SoC DTSI than the plain "generic-ehci"
fallback.
> diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
> index 55a5aa7d7a54e..a88aa1e1ee59c 100644
> --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
> +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
> @@ -55,6 +55,8 @@ properties:
> - rockchip,rk3588-ehci
> - snps,hsdk-v1.0-ehci
> - socionext,uniphier-ehci
> + - st,stm32mp13-ehci
> + - st,stm32mp15-ehci
> - const: generic-ehci
[Severity: Medium]
Since the STM32MP13xx and STM32MP15xx hardware includes both EHCI and OHCI
controllers in a companion setup, should a matching update be made to
Documentation/devicetree/bindings/usb/generic-ohci.yaml?
Currently, generic-ohci.yaml has an equivalent list of SoC-specific OHCI
compatibles:
- ingenic,jz4740-ohci
- rockchip,rk3588-ohci
- snps,hsdk-v1.0-ohci
- const: generic-ohci
Without adding the corresponding ST compatible strings to generic-ohci.yaml,
the OHCI controller remains documented only as "generic-ohci", which leaves
it not future proof in the same way generic-ehci was prior to this change.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260828152130.176171-1-marex@nabladev.com?part=1
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v2 1/3] dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles
2026-08-28 15:21 [PATCH v2 1/3] dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles Marek Vasut
` (2 preceding siblings ...)
2026-08-28 15:26 ` [PATCH v2 1/3] dt-bindings: usb: generic-ehci: Document ST STM32MP1 SoC compatibles sashiko-bot
@ 2026-08-28 15:51 ` Conor Dooley
3 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2026-08-28 15:51 UTC (permalink / raw)
To: Marek Vasut
Cc: linux-arm-kernel, Alexandre Torgue, Conor Dooley,
Greg Kroah-Hartman, Krzysztof Kozlowski, Maxime Coquelin,
Rob Herring, devicetree, linux-kernel, linux-stm32, linux-usb
[-- Attachment #1: Type: text/plain, Size: 75 bytes --]
Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread