Re: [PATCH 1/2] regulator: fp9931: Fix VPOS/VNEG voltage selector table
Andreas Kemnade <[email protected]>
| Newsgroups | dev.linux.lists.imx,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260727220438.2a5bf1a8@akphone> |
On Tue, 21 Jul 2026 17:59:58 +0800 [email protected] wrote: > From: Robby Cai <[email protected]> > > The VPOSNEG_table[] mapping does not match the FP9931/JD9930 > datasheet. > > The datasheet defines the VPOS/VNEG voltage mapping as: > > 00h-04h -> 7.04V (-7.04V) > 05h -> 7.26V (-7.26V) > 06h -> 7.49V (-7.49V) > ... > 28h-3Fh -> 15.06V (-15.06V) > > However, the current table maps selector 0x05 to 7.04V instead of > 7.26V, causing all subsequent entries to be shifted by one position. > > Update VPOSNEG_table[] to match the documented register encoding. > > Fixes: 12d821bd13d4 ("regulator: Add FP9931/JD9930 driver") > Signed-off-by: Robby Cai <[email protected]> Reviewed-by: Andreas Kemnade <[email protected]>