Re: [PATCH v3] pinctrl: sunxi: use automatic voltage detection on A733

From: Norman Herms

Date: Thu Nov 26 2026 - 10:32:26 EST


Hi Enzo,

Tested on a Radxa Cubie A7S (1.8 V banks: PC, PE, PK) with v7.3.6 plus
our A733 patches, with this patch and Pablo's IRQ-bank series
backported and our own voltage-mode patches removed.

The firmware leaves GPIO_POW_MOD_SEL at 0x01155550 and
SGPIO_POW_MOD_SEL at 0x000AAAAA. After the probe they read 0x05555555
and 0x00055555. GPIO_POW_VAL shows 1.8 V on PC, PE and PK and 3.3 V on
the other banks, matching the schematic. The SD card works at 3.3 V
High Speed, and GPIO interrupts on PK0, PB0 and PJ24 follow pull edges.
Without both patches GPIO_POW_MOD_SEL reads 0x01155514.

Tested-by: Norman Herms <dockseed@xxxxxxxxx> # Radxa Cubie A7S (A733)

Not tested: 1.8 V switching of the SD card, the A523, pad voltages.
Built and measured by AI agents (Claude) on my board.

Thanks,
Norman