devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support
@ 2024-12-17 12:03 Wolfram Sang
  2024-12-17 12:03 ` [PATCH 1/2] dt-bindings: hwmon: lm75: Add NXP P3T1755 sensor Wolfram Sang
  2024-12-17 22:59 ` [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support Guenter Roeck
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfram Sang @ 2024-12-17 12:03 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Conor Dooley, devicetree, Guenter Roeck,
	Jean Delvare, Jonathan Corbet, Krzysztof Kozlowski, linux-doc,
	linux-hwmon, Rob Herring

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(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] dt-bindings: hwmon: lm75: Add NXP P3T1755 sensor
  2024-12-17 12:03 [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support Wolfram Sang
@ 2024-12-17 12:03 ` Wolfram Sang
  2024-12-17 18:18   ` Conor Dooley
  2024-12-17 22:59 ` [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support Guenter Roeck
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfram Sang @ 2024-12-17 12:03 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Jean Delvare, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-hwmon, devicetree

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 Documentation/devicetree/bindings/hwmon/lm75.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml
index 29bd7460cc26..c38255243f57 100644
--- a/Documentation/devicetree/bindings/hwmon/lm75.yaml
+++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml
@@ -28,6 +28,7 @@ properties:
       - maxim,max31725
       - maxim,max31726
       - maxim,mcp980x
+      - nxp,p3t1755
       - nxp,pct2075
       - st,stds75
       - st,stlm75
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: hwmon: lm75: Add NXP P3T1755 sensor
  2024-12-17 12:03 ` [PATCH 1/2] dt-bindings: hwmon: lm75: Add NXP P3T1755 sensor Wolfram Sang
@ 2024-12-17 18:18   ` Conor Dooley
  2024-12-18  7:19     ` Wolfram Sang
  0 siblings, 1 reply; 6+ messages in thread
From: Conor Dooley @ 2024-12-17 18:18 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Jean Delvare, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-hwmon, devicetree

[-- Attachment #1: Type: text/plain, Size: 840 bytes --]

On Tue, Dec 17, 2024 at 01:03:05PM +0100, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Commit body is entirely missing? What differentiates this device from
the others in the file?

> ---
>  Documentation/devicetree/bindings/hwmon/lm75.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml
> index 29bd7460cc26..c38255243f57 100644
> --- a/Documentation/devicetree/bindings/hwmon/lm75.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml
> @@ -28,6 +28,7 @@ properties:
>        - maxim,max31725
>        - maxim,max31726
>        - maxim,mcp980x
> +      - nxp,p3t1755
>        - nxp,pct2075
>        - st,stds75
>        - st,stlm75
> -- 
> 2.45.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support
  2024-12-17 12:03 [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support Wolfram Sang
  2024-12-17 12:03 ` [PATCH 1/2] dt-bindings: hwmon: lm75: Add NXP P3T1755 sensor Wolfram Sang
@ 2024-12-17 22:59 ` Guenter Roeck
  2024-12-18  7:27   ` Wolfram Sang
  1 sibling, 1 reply; 6+ messages in thread
From: Guenter Roeck @ 2024-12-17 22:59 UTC (permalink / raw)
  To: Wolfram Sang, linux-renesas-soc
  Cc: Conor Dooley, devicetree, Jean Delvare, Jonathan Corbet,
	Krzysztof Kozlowski, linux-doc, linux-hwmon, Rob Herring

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: hwmon: lm75: Add NXP P3T1755 sensor
  2024-12-17 18:18   ` Conor Dooley
@ 2024-12-18  7:19     ` Wolfram Sang
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Sang @ 2024-12-18  7:19 UTC (permalink / raw)
  To: Conor Dooley
  Cc: linux-renesas-soc, Jean Delvare, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-hwmon, devicetree

[-- Attachment #1: Type: text/plain, Size: 127 bytes --]


> Commit body is entirely missing? What differentiates this device from
> the others in the file?

Okay, will add this info.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support
  2024-12-17 22:59 ` [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support Guenter Roeck
@ 2024-12-18  7:27   ` Wolfram Sang
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Sang @ 2024-12-18  7:27 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: linux-renesas-soc, Conor Dooley, devicetree, Jean Delvare,
	Jonathan Corbet, Krzysztof Kozlowski, linux-doc, linux-hwmon,
	Rob Herring

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-12-18  7:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-17 12:03 [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support Wolfram Sang
2024-12-17 12:03 ` [PATCH 1/2] dt-bindings: hwmon: lm75: Add NXP P3T1755 sensor Wolfram Sang
2024-12-17 18:18   ` Conor Dooley
2024-12-18  7:19     ` Wolfram Sang
2024-12-17 22:59 ` [PATCH 0/2] hwmon: (lm75) Add NXP P3T1755 support Guenter Roeck
2024-12-18  7:27   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).