Re: [PATCH 2/3] iio: adc: Support ROHM BD79112 ADC/GPIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On 03/09/2025 09:47, Linus Walleij wrote:
On Wed, Sep 3, 2025 at 7:23 AM Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote:
Anyways, fast-forward to this day, I don't see it handling valid_mask. I
think it is a must for this device/driver, where pins can be either
GPIOs or ADC inputs.
Why not just add a .init_valid_mask() to
struct gpio_regmap_config so it can just pass that
down to its gpio_chip?
Sigh. I suppose that would technically make sense. (So would allowing other IC-specific callbacks... ;) ).
OK I don't want to load you with too much extra work for
the driver, but it seems such a small thing for a blocker,
and Michael who wrote the library is really helpful
with extending the code, so consider it!
I suppose I can see how that works out. I am not a fan of maintaining the extra code. Thanks for the suggestion.
Yours,
	-- Matti

[Index of Archives] [Linux SPI] [Linux Kernel] [Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [Linux for Samsung SOC] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [Linux MIPS] [Yosemite Campsites]

(追記) (追記ここまで)
Powered by Linux

AltStyle によって変換されたページ (->オリジナル) /