Re: [PATCH] pinctrl: sunxi: A523: fix voltage withstand encoding
Per Larsson <[email protected]>
| Newsgroups | dev.linux.lists.linux-sunxi,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260722141700.7fe240f1@rpi> |
On Wed, 22 Jul 2026 00:39:56 +0200 Andre Przywara <[email protected]> wrote: > The Allwinner A523 uses the same GPIO voltage "withstand" programming > (setting the input level voltage thresholds) as the previous SoCs, but > for some odd reason inverts the encoding of 1.8V vs. 3.3V. > > Add a new bias voltage type to note this difference, and select it for > the A523. At the same time also use the newer "CTL" version, which in > addition allows to turn off the withstand programming for I/O voltages > other than exact 1.8V or 3.3V (for instance for 2.5V sometimes used > for Ethernet PHYs). The A523 has that enable register, but didn't use > it so far. > > This fixes eMMC and reportedly Ethernet operation on some A523 boards. > > Fixes: 648be4cd9517 ("pinctrl: sunxi: Add support for the Allwinner > A523") Signed-off-by: Andre Przywara <[email protected]> > --- I'd say this looks like the correct fix. With this (and removing the incorrect voltage bump "fix") the eMMC on my X96QPro+ works. Not seeing any regressions, so Tested-by: Per Larsson <[email protected]>