Re: [PATCH 1/2] gpio: regmap: Support few IC specific operations
From: Vaittinen, Matti
Date: Thu May 20 2021 - 07:50:27 EST
On Thu, 2021-05-20 at 14:28 +0300, Matti Vaittinen wrote:
> The set_config and init_valid_mask GPIO operations are usually very
> IC
> specific. Allow IC drivers to provide these custom operations at
> gpio-regmap registration.
>
> Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>
Ouch. Immediately after sending this I noticed that I omitted the
cover-letter. Sorry folks.
In a nutshell - idea is to support providing some IC specific
operations at gpio_regmap registration. This should help broaden the
gpio-regmap IC coverage without the need of exposing the gpio_chip.
Some preliminary discussion can be seen here:
https://lore.kernel.org/linux-gpio/c4faac648d3e0c7f3dcb50f7e24c8b322e8c6974.camel@xxxxxxxxxxxxxxxxx/
Best Regards
Matti Vaittinen
Attachment:
signature.asc
Description: This is a digitally signed message part