* [PATCH] sh: Use generic OHCI platform provider symbol
@ 2026-06-24 8:19 Pengpeng Hou
2026-06-24 18:16 ` Geert Uytterhoeven
0 siblings, 1 reply; 3+ messages in thread
From: Pengpeng Hou @ 2026-06-24 8:19 UTC (permalink / raw)
To: Yoshinori Sato, Rich Felker, John Paul Adrian Glaubitz
Cc: Pengpeng Hou, linux-sh, linux-kernel
The old SuperH-specific `USB_OHCI_SH` provider symbol no longer carries
an OHCI provider object. The current platform OHCI provider is
`USB_OHCI_HCD_PLATFORM`, which builds ohci-platform.o.
Several SH CPU subtypes still select `USB_OHCI_SH`, and the
sh7757lcr defconfig still enables it directly. Switch both the subtype
selects and the defconfig to `USB_OHCI_HCD_PLATFORM` so the intended OHCI
provider remains reachable when `USB_OHCI_HCD` is enabled.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
---
arch/sh/Kconfig | 8 ++++----
arch/sh/configs/sh7757lcr_defconfig | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -331,7 +331,7 @@ config CPU_SUBTYPE_SH7720
select CPU_SH3
select CPU_HAS_DSP
select SYS_SUPPORTS_SH_CMT
- select USB_OHCI_SH if USB_OHCI_HCD
+ select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
select PINCTRL
help
Select SH7720 if you have a SH3-DSP SH7720 CPU.
@@ -341,6 +341,6 @@ config CPU_SUBTYPE_SH7721
bool "Support SH7721 processor"
select CPU_SH3
select CPU_HAS_DSP
- select USB_OHCI_SH if USB_OHCI_HCD
+ select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
help
Select SH7721 if you have a SH3-DSP SH7721 CPU.
@@ -426,5 +426,5 @@ config CPU_SUBTYPE_SH7763
bool "Support SH7763 processor"
select CPU_SH4A
- select USB_OHCI_SH if USB_OHCI_HCD
+ select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
help
Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
@@ -452,5 +452,5 @@ config CPU_SUBTYPE_SH7786
select CPU_HAS_PTEAEX
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
- select USB_OHCI_SH if USB_OHCI_HCD
+ select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
select USB_EHCI_SH if USB_EHCI_HCD
select PINCTRL
diff --git a/arch/sh/configs/sh7757lcr_defconfig b/arch/sh/configs/sh7757lcr_defconfig
--- a/arch/sh/configs/sh7757lcr_defconfig
+++ b/arch/sh/configs/sh7757lcr_defconfig
@@ -58,8 +58,8 @@ CONFIG_HWMON is not set
CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_SH=y
CONFIG_USB_OHCI_HCD=y
-CONFIG_USB_OHCI_SH=y
+CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_STORAGE=y
CONFIG_MMC=y
CONFIG_MMC_SDHI=y
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sh: Use generic OHCI platform provider symbol
2026-06-24 8:19 [PATCH] sh: Use generic OHCI platform provider symbol Pengpeng Hou
@ 2026-06-24 18:16 ` Geert Uytterhoeven
2026-09-20 3:11 ` Pengpeng Hou
0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2026-06-24 18:16 UTC (permalink / raw)
To: Pengpeng Hou
Cc: Yoshinori Sato, Rich Felker, John Paul Adrian Glaubitz, linux-sh,
linux-kernel
On Wed, 24 Jun 2026 at 19:56, Pengpeng Hou <pengpeng@iscas.ac.cn> wrote:
> The old SuperH-specific `USB_OHCI_SH` provider symbol no longer carries
> an OHCI provider object. The current platform OHCI provider is
> `USB_OHCI_HCD_PLATFORM`, which builds ohci-platform.o.
>
> Several SH CPU subtypes still select `USB_OHCI_SH`, and the
> sh7757lcr defconfig still enables it directly. Switch both the subtype
> selects and the defconfig to `USB_OHCI_HCD_PLATFORM` so the intended OHCI
> provider remains reachable when `USB_OHCI_HCD` is enabled.
>
> Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Fixes: 4f6dfc2136fb2e8d ("usb: remove the dead USB_OHCI_SH option")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
It's a pity people sometimes don't take into account review comments
before applying patches...
https://lore.kernel.org/CAMuHMdVM3BpvVD3c4gp1OidnwF5zFd4MJecij7zWBnahzNaSNw@mail.gmail.com/
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sh: Use generic OHCI platform provider symbol
2026-06-24 18:16 ` Geert Uytterhoeven
@ 2026-09-20 3:11 ` Pengpeng Hou
0 siblings, 0 replies; 3+ messages in thread
From: Pengpeng Hou @ 2026-09-20 3:11 UTC (permalink / raw)
To: geert; +Cc: ysato, dalias, glaubitz, linux-sh, linux-kernel, hppiscas
Hi Geert,
I checked the removal of USB_OHCI_SH. Please include the tag you supplied:
Fixes: 4f6dfc2136fb ("usb: remove the dead USB_OHCI_SH option")
The current SH subtype selections and sh7757lcr_defconfig still name the
removed symbol. The patch switches those users to USB_OHCI_HCD_PLATFORM;
there is no additional code change for this metadata update.
Thanks,
Pengpeng
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-20 3:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 8:19 [PATCH] sh: Use generic OHCI platform provider symbol Pengpeng Hou
2026-06-24 18:16 ` Geert Uytterhoeven
2026-09-20 3:11 ` Pengpeng Hou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®