Re: [PATCH 1/2] gpio: regmap: Support few IC specific operations
From: Vaittinen, Matti <hidden>
Date: 2021-05-20 11:50:15
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 488 bytes
From: Vaittinen, Matti <hidden>
Date: 2021-05-20 11:50:15
Also in:
lkml
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 <redacted>
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@fi.rohmeurope.com/ (local) Best Regards Matti Vaittinen