Re: [PATCH v2] sh: defconfig: enable the current M66592 UDC symbol
From: John Paul Adrian Glaubitz
Date: Fri Aug 14 2026 - 04:38:44 EST
Hi Pengpeng,
On Fri, 2026-08-14 at 15:55 +0800, Pengpeng Hou wrote:
> The M66592 UDC provider is built under CONFIG_USB_M66592. Several
> SuperH defconfigs still enable the removed CONFIG_USB_GADGET_M66592
> symbol.
>
> Replace the stale entries with the current provider symbol.
>
> Assisted-by: Codex:gpt-5
> Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
> ---
> Changes since v1: https://lore.kernel.org/all/20260624081843.7864-1-pengpeng@xxxxxxxxxxx/
> - no source-code changes
> - rebase all three affected SuperH defconfigs
> - add the USB maintainers and list omitted from the first submission
> - add the coding-assistant disclosure
>
> The Kconfig/provider mapping was reviewed statically; no SuperH kernel
> build was performed.
>
> arch/sh/configs/migor_defconfig | 2 +-
> arch/sh/configs/sdk7786_defconfig | 2 +-
> arch/sh/configs/shx3_defconfig | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/sh/configs/migor_defconfig b/arch/sh/configs/migor_defconfig
> index 1d9d543eef4c..bde70f3bf857 100644
> --- a/arch/sh/configs/migor_defconfig
> +++ b/arch/sh/configs/migor_defconfig
> @@ -72,7 +72,7 @@ CONFIG_LOGO=y
> # CONFIG_LOGO_LINUX_VGA16 is not set
> # CONFIG_LOGO_LINUX_CLUT224 is not set
> CONFIG_USB_GADGET=y
> -CONFIG_USB_GADGET_M66592=y
> +CONFIG_USB_M66592=y
> CONFIG_USB_G_SERIAL=m
> CONFIG_RTC_CLASS=y
> CONFIG_RTC_DRV_RS5C372=y
> diff --git a/arch/sh/configs/sdk7786_defconfig b/arch/sh/configs/sdk7786_defconfig
> index d6fa3a422e24..d40be415dcb9 100644
> --- a/arch/sh/configs/sdk7786_defconfig
> +++ b/arch/sh/configs/sdk7786_defconfig
> @@ -147,7 +147,7 @@ CONFIG_USB_MON=y
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_STORAGE=y
> CONFIG_USB_GADGET=y
> -CONFIG_USB_GADGET_M66592=y
> +CONFIG_USB_M66592=y
> CONFIG_RTC_CLASS=y
> CONFIG_RTC_DRV_MAX6900=y
> CONFIG_RTC_DRV_SH=y
> diff --git a/arch/sh/configs/shx3_defconfig b/arch/sh/configs/shx3_defconfig
> index 0cb69a0b92cb..d7496ea9a9fc 100644
> --- a/arch/sh/configs/shx3_defconfig
> +++ b/arch/sh/configs/shx3_defconfig
> @@ -79,7 +79,7 @@ CONFIG_USB=y
> CONFIG_USB_MON=y
> CONFIG_USB_R8A66597_HCD=m
> CONFIG_USB_GADGET=y
> -CONFIG_USB_GADGET_M66592=y
> +CONFIG_USB_M66592=y
> CONFIG_RTC_CLASS=y
> CONFIG_RTC_DRV_SH=y
> CONFIG_UIO=m
Thanks for catching this!
Would it be possible to add a Fixes tag? I assume it should reference the
commit that dropped CONFIG_USB_GADGET_M66592 and forgot to update the configs.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913