Re: [PATCH 0/2] hwmon: (pmbus/adm1266) adm1266_gpio_get_multiple() fixes
From: Linus Walleij
Date: Mon May 25 2026 - 04:37:48 EST
On Tue, May 19, 2026 at 12:25 AM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> > 1. Convert this driver to use regmap
>
> That would mean to convert the pmbus core code to regmap,
> plus all the pmbus client drivers.
>
> PMBus uses a mix of registers/command with different size, plus some
> block commands. That would be a difficult task. Byte registers can be
> mapped to word size, but for block registers that is difficult,
> and then there are commands with zero data length. Maybe someone
> managed to do this somewhere. I tried some time ago and could not get
> it to work.
I didn't know PMBus was that complex and honestly thought it
was something simple that had been regmapp:ed ages ago ...
allright, definitely an exercise for another day.
Yours,
Linus Walleij