Message ID | 20240506-mcp251xfd-gpio-feature-v2-0-615b16fa8789@ew.tq-group.com (mailing list archive) |
---|---|
Headers | show |
Series | can: mcp251xfd: add gpio functionality | expand |
On 06.05.2024 07:59:42, Gregor Herburger wrote: > Hi all, > > The mcp251xfd allows two pins to be configured as GPIOs. This series > adds support for this feature. > > The GPIO functionality is controlled with the IOCON register which has > an erratum. The second patch is to work around this erratum. I am not ^^^^^^ > sure if the place for the check and workaround in > mcp251xfd_regmap_crc_write is correct or if the check could be bypassed > with a direct call to mcp251xfd_regmap_crc_gather_write. If you have a > better suggestion where to add the check please let me know. Yes, better move the workaround to mcp251xfd_regmap_crc_gather_write(). I don't remember under which circumstances regmap uses the gather_write() or the write() function. > Patch 1-3 from https://lore.kernel.org/linux-can/20240429-mcp251xfd-runtime_pm-v1-0-c26a93a66544@pengutronix.de/ Nitpick: Please add your S-o-b to these patches. Marc