Re: [PATCH] char: add driver for mps VR controller mp2891

From: Randy Dunlap
Date: Tue Mar 14 2023 - 11:38:45 EST




On 3/14/23 02:18, Noah (Wensheng) Wang wrote:
> Hi Arnd, Grey:
> Thanks for the review.
>
> This driver will be used by facebook. This driver provide a device node for userspace to get output voltage, input voltage, input current, input power, output power and temperature of mp2891 controller through I2C. This driver determine what kind of value the userspace wants through the mp2891_write interface and return the corresponding value when the interface mp2891_read is called.
>
> Signed-off-by: Noah Wang <Noah.Wang@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/char/mp2891.c | 403 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 403 insertions(+)
> create mode 100644 drivers/char/mp2891.c
>

No Kconfig or Makefile changes?


--
~Randy