Re: [PATCH 0/2] pinctrl: sx150x: OSCIO fix and block register transfers

From: Linus Walleij

Date: Sun Nov 29 2026 - 19:19:48 EST


On Wed, Nov 18, 2026 at 8:03 AM Dean Sellers <dean@xxxxxxxxxxxxx> wrote:

> Two changes to the SX150x driver, from bring-up of an SX1509Q-based
> board.
>
> Patch 1 stops sx150x_gpio_oscio_set() from writing the whole of
> RegClock. That write set the fOSC source in RegClock[6:5] to 00, which
> the datasheet documents as disabling the LED driver, keypad engine and
> debouncer.
>
> Patch 2 moves 16- and 32-bit registers in one i2c block transfer on the
> 789 models, relying on the register auto-increment that RegMisc[1]
> enables by default. This halves the number of transfers on the
> interrupt path.
>
> Testing: these were developed and tested on an SX1509Q on a 5.15-based
> kernel. I no longer have access to that hardware, so the versions here,
> rebased onto pinctrl devel, are compile-tested only (x86_64
> allmodconfig, W=1). Any testing on SX1508/SX1509 hardware would be
> welcome.

Patches applied because no comments and look good!

Yours,
Linus Walleij