Re: [PATCH v1] power: regulator: mpq8785: match the MPS MPQ8646
Peng Fan <[email protected]>
| Newsgroups | org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 24, 2026 at 05:36:40PM +0200, Vincent Jardin wrote: >Add the MPQ8646, which handles the same case as the MPQ8785. > >It shares the info table, and it shares the VOUT: >both parts report VID in VOUT_MODE while actually encoding VOUT >as DIRECT with m=64 R=1, which mpq8785_identify_vout() already fixes up. > >Linux does the same thing from the other side: >drivers/hwmon/pmbus/mpq8646.c intercepts PMBUS_VOUT_MODE in >read_byte_data() and returns DIRECT when the chip says >VID. > >Linux gained the compatible in the shared binding >(Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq8785.yaml, >commit e7ba3115134b "dt-bindings: hwmon: pmbus: add MPS MPQ8646"), >which groups it with mps,mpq8785 for mps,vout-fb-divider-ratio-permille, >the same here. > >Verified against silicon on a board whose +0V8_VDD rail is an >MPQ8646: the chip self-reports MODEL="MPQ8646" with VOUT_MODE=0x17. > >Signed-off-by: Vincent Jardin <[email protected]> > Reviewed-by: Peng Fan <[email protected]>