* [PATCH 2/3] ARM: dts: stm32: Use STM32MP13xx compatible string for OHCI USB controller
2026-08-28 15:01 [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles Marek Vasut
@ 2026-08-28 15:01 ` Marek Vasut
2026-08-28 15:01 ` [PATCH 3/3] ARM: dts: stm32: Use STM32MP15xx " Marek Vasut
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Marek Vasut @ 2026-08-28 15:01 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 OHCI USB controller in
addition to "generic-ohci" 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-ohci 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
---
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 5ae33b26e313f..d1c5afb5f89aa 100644
--- a/arch/arm/boot/dts/st/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp131.dtsi
@@ -1128,7 +1128,7 @@ crc1: crc@58009000 {
};
usbh_ohci: usb@5800c000 {
- compatible = "generic-ohci";
+ compatible = "st,stm32mp13-ohci", "generic-ohci";
reg = <0x5800c000 0x1000>;
clocks = <&usbphyc>, <&rcc USBH>;
resets = <&rcc USBH_R>;
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 3/3] ARM: dts: stm32: Use STM32MP15xx compatible string for OHCI USB controller
2026-08-28 15:01 [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles Marek Vasut
2026-08-28 15:01 ` [PATCH 2/3] ARM: dts: stm32: Use STM32MP13xx compatible string for OHCI USB controller Marek Vasut
@ 2026-08-28 15:01 ` Marek Vasut
2026-08-28 15:09 ` [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles sashiko-bot
2026-08-31 8:51 ` Krzysztof Kozlowski
3 siblings, 0 replies; 6+ messages in thread
From: Marek Vasut @ 2026-08-28 15:01 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 OHCI USB controller in
addition to "generic-ohci" 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-ohci 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
---
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 e7fec8b49ae16..c37005c00ad65 100644
--- a/arch/arm/boot/dts/st/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
@@ -504,7 +504,7 @@ crc1: crc@58009000 {
};
usbh_ohci: usb@5800c000 {
- compatible = "generic-ohci";
+ compatible = "st,stm32mp15-ohci", "generic-ohci";
reg = <0x5800c000 0x1000>;
clocks = <&usbphyc>, <&rcc USBH>;
resets = <&rcc USBH_R>;
--
2.53.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles
2026-08-28 15:01 [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles Marek Vasut
2026-08-28 15:01 ` [PATCH 2/3] ARM: dts: stm32: Use STM32MP13xx compatible string for OHCI USB controller Marek Vasut
2026-08-28 15:01 ` [PATCH 3/3] ARM: dts: stm32: Use STM32MP15xx " Marek Vasut
@ 2026-08-28 15:09 ` sashiko-bot
2026-08-31 8:51 ` Krzysztof Kozlowski
3 siblings, 0 replies; 6+ messages in thread
From: sashiko-bot @ 2026-08-28 15:09 UTC (permalink / raw)
To: Marek Vasut; +Cc: devicetree, conor+dt, robh
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Incomplete binding family update: missing STM32MP1 EHCI compatibles.
--
commit b94b8c4a5c06e677f1c40f017de92bb5e2ec3002
Author: Marek Vasut <marex@nabladev.com>
dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles
This commit documents the SoC-specific compatibles for the ST STM32MP13xx
and STM32MP15xx series in the generic-ohci binding. This allows the SoC
DTSI to use these more accurate compatibles instead of just the generic
fallback.
> diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> index d42f448fa2044..1b54f0d91061f 100644
> --- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> +++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
> @@ -49,6 +49,8 @@ properties:
> - ingenic,jz4740-ohci
> - rockchip,rk3588-ohci
> - snps,hsdk-v1.0-ohci
> + - st,stm32mp13-ohci
> + - st,stm32mp15-ohci
[Severity: Medium]
Since st,stm32mp13-ohci and st,stm32mp15-ohci are being added here, should
the companion EHCI compatibles (st,stm32mp13-ehci and st,stm32mp15-ehci)
also be added to the compatible block in
Documentation/devicetree/bindings/usb/generic-ehci.yaml?
The device tree bindings subsystem guidelines state that when a binding
has multiple YAML files for different device types in the same family,
related files need matching updates. Updating generic-ehci.yaml would
ensure the EHCI companion controller is documented alongside its OHCI
counterpart, keeping the entire USB host subsystem on STM32MP1 fully
documented and future-proofed.
> - const: generic-ohci
> - enum:
> - generic-ohci
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260828150202.173109-1-marex@nabladev.com?part=1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles
2026-08-28 15:01 [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles Marek Vasut
` (2 preceding siblings ...)
2026-08-28 15:09 ` [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles sashiko-bot
@ 2026-08-31 8:51 ` Krzysztof Kozlowski
2026-08-31 9:00 ` Krzysztof Kozlowski
3 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-31 8: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
On Fri, Aug 28, 2026 at 05:01:26PM +0200, Marek Vasut wrote:
> Document SoC compatibles for ST STM32MP13xx and STM32MP15xx series of
> SoC, so they can be used as more accurate compatible in SoC DTSI. The
> SoC DTSI currently use plain "generic-ohci" which is not future proof.
>
> Signed-off-by: Marek Vasut <marex@nabladev.com>
> ---
This should go also with your access controllers property. What
happened to it?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH 1/3] dt-bindings: usb: generic-ohci: Document ST STM32MP1 SoC compatibles
2026-08-31 8:51 ` Krzysztof Kozlowski
@ 2026-08-31 9:00 ` Krzysztof Kozlowski
0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-31 9:00 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
On 31/08/2026 10:51, Krzysztof Kozlowski wrote:
> On Fri, Aug 28, 2026 at 05:01:26PM +0200, Marek Vasut wrote:
>> Document SoC compatibles for ST STM32MP13xx and STM32MP15xx series of
>> SoC, so they can be used as more accurate compatible in SoC DTSI. The
>> SoC DTSI currently use plain "generic-ohci" which is not future proof.
>>
>> Signed-off-by: Marek Vasut <marex@nabladev.com>
>> ---
>
> This should go also with your access controllers property. What
> happened to it?
>
Ah, I mixed patchsets/devices.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread