[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z5O-avYZkWsD-Vka@smile.fi.intel.com>
Date: Fri, 24 Jan 2025 18:23:06 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Cedric Encarnacion <cedricjustine.encarnacion@...log.com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-doc@...r.kernel.org,
linux-hwmon@...r.kernel.org, Guenter Roeck <linux@...ck-us.net>,
Jean Delvare <jdelvare@...e.com>, Jonathan Corbet <corbet@....net>,
Delphine CC Chiu <Delphine_CC_Chiu@...ynn.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Radu Sabau <radu.sabau@...log.com>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Alexis Czezar Torreno <alexisczezar.torreno@...log.com>
Subject: Re: [PATCH v4 2/3] hwmon: (pmbus/adp1050): Add support for adp1051,
adp1055 and ltp8800
On Fri, Jan 24, 2025 at 11:17:45PM +0800, Cedric Encarnacion wrote:
> Introduce hardware monitoring support for the following devices:
>
> ADP1051: 6 PWM for I/O Voltage, I/O Current, Temperature
> ADP1055: 6 PWM for I/O Voltage, I/O Current, Power, Temperature
> LTP8800-1A/-2/-4A: 150A/135A/200A DC/DC µModule Regulator
>
> The ADP1051 and ADP1055 are similar digital controllers for high
> efficiency DC-DC power conversion while the LTP8800 is a family of
> step-down μModule regulators that provides microprocessor core voltage
> from 54V power distribution architecture. All of the above components
> features telemetry monitoring of input/output voltage, input current,
> output power, and temperature over PMBus.
...
> static const struct i2c_device_id adp1050_id[] = {
> - {"adp1050"},
> + { .name = "adp1050", .driver_data = (kernel_ulong_t)&adp1050_info},
> + { .name = "adp1051", .driver_data = (kernel_ulong_t)&adp1051_info},
> + { .name = "adp1055", .driver_data = (kernel_ulong_t)&adp1055_info},
> + { .name = "ltp8800", .driver_data = (kernel_ulong_t)<p8800_info},
Seems like missing inner trailing space.
> {}
> };
...
> static const struct of_device_id adp1050_of_match[] = {
> - { .compatible = "adi,adp1050"},
> + { .compatible = "adi,adp1050", .data = &adp1050_info},
> + { .compatible = "adi,adp1051", .data = &adp1051_info},
> + { .compatible = "adi,adp1055", .data = &adp1055_info},
> + { .compatible = "adi,ltp8800", .data = <p8800_info},
Ditto.
> {}
> };
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists