From: Ming Yu <a0282524688@gmail.com>
To: Lee Jones <lee@kernel.org>
Cc: Ming Yu <tmyu0@nuvoton.com>,
linux-kernel@vger.kernel.org, mfd@lists.linux.dev
Subject: Re: [PATCH v7 04/10] mfd: nct6694: Rename driver to nct6694-usb and update Kconfig
Date: Thu, 10 Sep 2026 14:04:28 +0800 [thread overview]
Message-ID: <CAOoeyxX8Tmk0qaWHz+xJoUZgGZbrqhcWQnGYbTEPoCWC2bOcdw@mail.gmail.com> (raw)
In-Reply-To: <20260903102447.GL2133376@google.com>
Hi Lee,
Thank you for reviewing.
Lee Jones <lee@kernel.org> 於 2026年9月3日週四 下午6:24寫道:
>
> On Fri, 21 Aug 2026, a0282524688@gmail.com wrote:
>
> > From: Ming Yu <a0282524688@gmail.com>
> >
> > Rename nct6694.c to nct6694-usb.c to accurately reflect that it
> > implements the USB transport backend.
> >
> > Additionally, introduce a new MFD_NCT6694_USB Kconfig option and convert
> > the existing MFD_NCT6694 into a hidden core symbol. The core symbol is
> > now automatically selected by the transport drivers.
> >
> > This Kconfig and naming restructure aligns with standard MFD transport
> > abstraction practices, paving the way for future interfaces (e.g., HIF)
> > to be seamlessly integrated.
> >
> > Signed-off-by: Ming Yu <a0282524688@gmail.com>
> > ---
> > Changes in v7:
>
> No changes or you forgot to populate it?
>
There is no functional change in v7 for this patch; I'll mark it
explicitly as "No changes." in v8.
> > Changes in v6:
>
...
> > --- "a/drivers/mfd/Kconfig"
> > +++ "b/drivers/mfd/Kconfig"
> > @@ -1164,19 +1164,30 @@ config MFD_MENF21BMC
> > will be called menf21bmc.
> >
> > config MFD_NCT6694
>
> So what does this do now?
>
> Will there be another core symbol soon?
>
MFD_NCT6694 is now a hidden symbol that builds only the
transport-agnostic core (nct6694-core.o, added in 5/10): the IRQ
domain, IDA pools and MFD sub-device registration shared by every
backend. It has no prompt because it is not useful on its own, so it
is selected automatically by whichever transport driver is enabled.
There won't be a second core symbol. The next addition is another
*transport*, MFD_NCT6694_HIF (eSPI, 10/10), which likewise selects
MFD_NCT6694. So the final shape is a single shared core selected by
one or more transports:
MFD_NCT6694 (hidden core) -> nct6694-core.o
^ select
MFD_NCT6694_USB (USB transport) -> nct6694-usb.o
MFD_NCT6694_HIF (eSPI transport) -> nct6694-hif.o [10/10]
I'll clarify this in the commit message for v8.
> > - tristate "Nuvoton NCT6694 support"
> > + tristate
> > select MFD_CORE
> > + help
> > + Core MFD support for the Nuvoton NCT6694 peripheral expander.
> > + This provides the common APIs and shared structures used by all
> > + interfaces (USB, HIF) to access the NCT6694 hardware features
> > + such as GPIO, I2C, CAN-FD, Watchdog, ADC, PWM, and RTC.
> > +
...
>
> --
> Lee Jones
Thanks,
Ming
next prev parent reply other threads:[~2026-09-10 6:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-21 3:34 [PATCH v7 00/10] mfd: nct6694: Refactor transport layer and add HIF (eSPI) support a0282524688
2026-08-21 3:34 ` [PATCH v7 01/10] mfd: nct6694: Move module type macros to shared header a0282524688
2026-08-21 3:34 ` [PATCH v7 02/10] mfd: nct6694: Refactor USB-specific data into nct6694_usb_data a0282524688
2026-09-03 9:53 ` Lee Jones
2026-08-21 3:34 ` [PATCH v7 03/10] mfd: nct6694: Rename USB transport functions with _usb_ prefix a0282524688
2026-08-21 3:34 ` [PATCH v7 04/10] mfd: nct6694: Rename driver to nct6694-usb and update Kconfig a0282524688
2026-09-03 10:24 ` Lee Jones
2026-09-10 6:04 ` Ming Yu [this message]
2026-08-21 3:35 ` [PATCH v7 05/10] mfd: nct6694: Extract core device management into a separate module a0282524688
2026-09-03 10:42 ` Lee Jones
2026-08-21 3:35 ` [PATCH v7 06/10] mfd: nct6694: Transfer command payloads via a dedicated DMA buffer a0282524688
2026-09-03 11:09 ` Lee Jones
2026-09-03 11:12 ` Lee Jones
2026-08-21 3:35 ` [PATCH v7 07/10] mfd: nct6694: Validate the interrupt IN endpoint a0282524688
2026-08-21 3:35 ` [PATCH v7 08/10] mfd: nct6694: Submit the interrupt URB after the core is registered a0282524688
2026-08-21 3:35 ` [PATCH v7 09/10] mfd: nct6694: Introduce regmap-based transport abstraction a0282524688
2026-08-21 3:35 ` [PATCH v7 10/10] mfd: nct6694: Add Host Interface (HIF) eSPI transport driver a0282524688
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOoeyxX8Tmk0qaWHz+xJoUZgGZbrqhcWQnGYbTEPoCWC2bOcdw@mail.gmail.com \
--to=a0282524688@gmail.com \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mfd@lists.linux.dev \
--cc=tmyu0@nuvoton.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®