On Wed, 2025-09-03 at 08:47 +0200, Linus Walleij wrote:
On Wed, Sep 3, 2025 at 7:23 AM Matti Vaittinen [off-list ref]
wrote:
quoted
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?
Hmm I guess I'll get a similar comment on the series I just sent [1] :)
[1]: https://lore.kernel.org/linux-hwmon/20250903-ltc4283-support-v2-0-6bce091510bf@analog.com/ (local)
- Nuno Sá
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!
Yours,
Linus Walleij