All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Alistair Francis <alistair23@gmail.com>
Cc: Alistair Francis <alistair@alistair23.me>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Sascha Hauer <kernel@pengutronix.de>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Lee Jones <lee.jones@linaro.org>,
	Linux PM list <linux-pm@vger.kernel.org>,
	linux-hwmon@vger.kernel.org,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 
	<devicetree@vger.kernel.org>, NXP Linux Team <linux-imx@nxp.com>,
	Zhang Rui <rui.zhang@intel.com>, Amit Kucheria <amitk@kernel.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Andreas Kemnade <andreas@kemnade.info>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Guenter Roeck <linux@roeck-us.net>
Subject: Re: [PATCH v18 5/8] hwmon: sy7636a: Add temperature driver for sy7636a
Date: Mon, 21 Mar 2022 09:02:57 +0100	[thread overview]
Message-ID: <CAMuHMdWF5z7oYpsBybeAGRA2jWToZD=7wnvtiULg9irQ=rbQSQ@mail.gmail.com> (raw)
In-Reply-To: <CAKmqyKNtE8=Jna78+L2a8BwsgM+LZVPi4ppg8Z0RGJ-21RqPtw@mail.gmail.com>

Hi Alistair,

On Mon, Mar 21, 2022 at 8:35 AM Alistair Francis <alistair23@gmail.com> wrote:
> On Tue, Mar 8, 2022 at 9:21 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > On Mon, Jan 24, 2022 at 1:25 PM Alistair Francis <alistair@alistair23.me> wrote:
> > > This is a multi-function device to interface with the sy7636a
> > > EPD PMIC chip from Silergy.
> > >
> > > Signed-off-by: Alistair Francis <alistair@alistair23.me>
> > > Acked-by: Guenter Roeck <linux@roeck-us.net>
> >
> > Thanks for your patch, which is now commit de34a40532507814 ("hwmon:
> > sy7636a: Add temperature driver for sy7636a") in mfd/for-mfd-next.
> >
> > > --- a/drivers/hwmon/Kconfig
> > > +++ b/drivers/hwmon/Kconfig
> > > @@ -1672,6 +1672,15 @@ config SENSORS_SIS5595
> > >           This driver can also be built as a module. If so, the module
> > >           will be called sis5595.
> > >
> > > +config SENSORS_SY7636A
> > > +       tristate "Silergy SY7636A"
> > > +       help
> > > +         If you say yes here you get support for the thermistor readout of
> > > +         the Silergy SY7636A PMIC.
> >
> > As this is an i2c mfd device, you do need a dependency on MFD and I2C,
> > or some other symbol, unless compile-testing?
>
> It doesn't depend on either to build though. It can be built independently.

That is true.

But do you think all users configuring their kernel should be asked
about all (thousands) of config symbols for drivers that can be built,
but won't work or are irrelevant otherwise?

Please read
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/kbuild/kconfig-language.rst#n541

Thanks!

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

WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Alistair Francis <alistair23@gmail.com>
Cc: Alistair Francis <alistair@alistair23.me>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Sascha Hauer <kernel@pengutronix.de>,
	 Liam Girdwood <lgirdwood@gmail.com>,
	Lee Jones <lee.jones@linaro.org>,
	 Linux PM list <linux-pm@vger.kernel.org>,
	linux-hwmon@vger.kernel.org,
	 "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>, NXP Linux Team <linux-imx@nxp.com>,
	 Zhang Rui <rui.zhang@intel.com>,
	Amit Kucheria <amitk@kernel.org>,
	 Linux ARM <linux-arm-kernel@lists.infradead.org>,
	 Andreas Kemnade <andreas@kemnade.info>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	 Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Guenter Roeck <linux@roeck-us.net>
Subject: Re: [PATCH v18 5/8] hwmon: sy7636a: Add temperature driver for sy7636a
Date: Mon, 21 Mar 2022 09:02:57 +0100	[thread overview]
Message-ID: <CAMuHMdWF5z7oYpsBybeAGRA2jWToZD=7wnvtiULg9irQ=rbQSQ@mail.gmail.com> (raw)
In-Reply-To: <CAKmqyKNtE8=Jna78+L2a8BwsgM+LZVPi4ppg8Z0RGJ-21RqPtw@mail.gmail.com>

Hi Alistair,

On Mon, Mar 21, 2022 at 8:35 AM Alistair Francis <alistair23@gmail.com> wrote:
> On Tue, Mar 8, 2022 at 9:21 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > On Mon, Jan 24, 2022 at 1:25 PM Alistair Francis <alistair@alistair23.me> wrote:
> > > This is a multi-function device to interface with the sy7636a
> > > EPD PMIC chip from Silergy.
> > >
> > > Signed-off-by: Alistair Francis <alistair@alistair23.me>
> > > Acked-by: Guenter Roeck <linux@roeck-us.net>
> >
> > Thanks for your patch, which is now commit de34a40532507814 ("hwmon:
> > sy7636a: Add temperature driver for sy7636a") in mfd/for-mfd-next.
> >
> > > --- a/drivers/hwmon/Kconfig
> > > +++ b/drivers/hwmon/Kconfig
> > > @@ -1672,6 +1672,15 @@ config SENSORS_SIS5595
> > >           This driver can also be built as a module. If so, the module
> > >           will be called sis5595.
> > >
> > > +config SENSORS_SY7636A
> > > +       tristate "Silergy SY7636A"
> > > +       help
> > > +         If you say yes here you get support for the thermistor readout of
> > > +         the Silergy SY7636A PMIC.
> >
> > As this is an i2c mfd device, you do need a dependency on MFD and I2C,
> > or some other symbol, unless compile-testing?
>
> It doesn't depend on either to build though. It can be built independently.

That is true.

But do you think all users configuring their kernel should be asked
about all (thousands) of config symbols for drivers that can be built,
but won't work or are irrelevant otherwise?

Please read
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/kbuild/kconfig-language.rst#n541

Thanks!

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-03-21  8:03 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-24 12:10 [PATCH v18 0/8] Add support for the silergy,sy7636a Alistair Francis
2022-01-24 12:10 ` Alistair Francis
2022-01-24 12:10 ` [PATCH v18 1/8] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml Alistair Francis
2022-01-24 12:10   ` [PATCH v18 1/8] dt-bindings: mfd: Initial commit of silergy, sy7636a.yaml Alistair Francis
2022-01-24 12:10 ` [PATCH v18 2/8] mfd: simple-mfd-i2c: Add a Kconfig name Alistair Francis
2022-01-24 12:10   ` Alistair Francis
2022-03-08 10:53   ` Geert Uytterhoeven
2022-03-08 10:53     ` Geert Uytterhoeven
2022-03-19  2:36     ` Alistair Francis
2022-03-19  2:36       ` Alistair Francis
2022-03-19  9:28       ` Geert Uytterhoeven
2022-03-19  9:28         ` Geert Uytterhoeven
2022-03-19 14:48         ` Guenter Roeck
2022-03-19 14:48           ` Guenter Roeck
2022-03-21  7:45           ` Alistair Francis
2022-03-21  7:45             ` Alistair Francis
2022-03-21  8:48             ` Lee Jones
2022-03-21  8:48               ` Lee Jones
2022-01-24 12:10 ` [PATCH v18 3/8] mfd: simple-mfd-i2c: Enable support for the silergy,sy7636a Alistair Francis
2022-01-24 12:10   ` [PATCH v18 3/8] mfd: simple-mfd-i2c: Enable support for the silergy, sy7636a Alistair Francis
2022-03-19  9:31   ` Geert Uytterhoeven
2022-03-19  9:31     ` Geert Uytterhoeven
2022-01-24 12:10 ` [PATCH v18 4/8] regulator: sy7636a: Remove requirement on sy7636a mfd Alistair Francis
2022-01-24 12:10   ` Alistair Francis
2022-03-08 11:02   ` Geert Uytterhoeven
2022-03-08 11:02     ` Geert Uytterhoeven
2022-01-24 12:10 ` [PATCH v18 5/8] hwmon: sy7636a: Add temperature driver for sy7636a Alistair Francis
2022-01-24 12:10   ` Alistair Francis
2022-03-08 11:21   ` Geert Uytterhoeven
2022-03-08 11:21     ` Geert Uytterhoeven
2022-03-21  7:34     ` Alistair Francis
2022-03-21  7:34       ` Alistair Francis
2022-03-21  8:02       ` Geert Uytterhoeven [this message]
2022-03-21  8:02         ` Geert Uytterhoeven
2022-01-24 12:10 ` [PATCH v18 6/8] ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a Alistair Francis
2022-01-24 12:10   ` Alistair Francis
2022-01-24 12:10 ` [PATCH v18 7/8] ARM: dts: imx7d-remarkable2: " Alistair Francis
2022-01-24 12:10   ` Alistair Francis
2022-01-24 12:10 ` [PATCH v18 8/8] ARM: dts: imx7d-remarkable2: Enable lcdif Alistair Francis
2022-01-24 12:10   ` Alistair Francis
2022-02-08  9:30 ` [GIT PULL] Immutable branch between MFD, HWMON and Regulator due for the v5.18 merge window Lee Jones
2022-02-08  9:30   ` Lee Jones

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='CAMuHMdWF5z7oYpsBybeAGRA2jWToZD=7wnvtiULg9irQ=rbQSQ@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=alistair23@gmail.com \
    --cc=alistair@alistair23.me \
    --cc=amitk@kernel.org \
    --cc=andreas@kemnade.info \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh+dt@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.