mbox series

[0/2] hwmon: (lm75) Add NXP P3T1755 support

Message ID 20241217120304.32950-4-wsa+renesas@sang-engineering.com (mailing list archive)
Headers show
Series hwmon: (lm75) Add NXP P3T1755 support | expand

Message

Wolfram Sang Dec. 17, 2024, 12:03 p.m. UTC
This small series adds support for the above temp sensor. Ultimately, I
want to support it via I3C. But for now, start simple and add I2C
support, so we have something to compare against.


Wolfram Sang (2):
  dt-bindings: hwmon: lm75: Add NXP P3T1755 sensor
  hwmon: (lm75) Add NXP P3T1755 support

 Documentation/devicetree/bindings/hwmon/lm75.yaml |  1 +
 Documentation/hwmon/lm75.rst                      |  6 ++++--
 drivers/hwmon/lm75.c                              | 13 +++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

Comments

Guenter Roeck Dec. 17, 2024, 10:59 p.m. UTC | #1
On 12/17/24 04:03, Wolfram Sang wrote:
> This small series adds support for the above temp sensor. Ultimately, I
> want to support it via I3C. But for now, start simple and add I2C
> support, so we have something to compare against.

I just sent a RFC/RFT patch converting all chip access code to regmap
to the hwmon list. This should help with adding I3C support. It would
be great if you can have a look.

Thanks,
Guenter
Wolfram Sang Dec. 18, 2024, 7:27 a.m. UTC | #2
Guenter,

> I just sent a RFC/RFT patch converting all chip access code to regmap
> to the hwmon list. This should help with adding I3C support. It would
> be great if you can have a look.

Thanks, this is really awesome! It surely will help me adding I3C
support. I already sketched multiple paths to handle the regmap problem
of config reg being 8 bits while all other are 16 bits. A custom read
callback was also one option I considered. I will check your patch later
today and base my work on top of it.

All the best,

   Wolfram