linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AS621x driver
@ 2022-08-14 19:08 Joseph Strauss
  2022-08-14 20:37 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Strauss @ 2022-08-14 19:08 UTC (permalink / raw)
  To: linux-hwmon

The AS621x is a digital temperature sensor chip with an I2C interface. It has applications in electronic equipment, personal computers, wearables, and HVAC. The datasheet can be found here: https://ams.com/documents/20143/36005/AS621x_DS000677_4-00.pdf

I wish to write a driver for this device and contribute it to the kernel, as my first module. It being my first module, I wanted to make sure that this was a worthy use of everyone's time and that it could be useful at some point. Sparkfun provides a convenient breakout board already, which is the one that I will be using.

After searching through the mailing list archive, I found a set of patches from 2016 for the AS6200 as part of the iio subsystem. For reasons I could not find, the driver never got merged. I guess the original developers moved on to something else. Additionally, they were discussing towards the end how the hwmon subsystem may have been a better fit for the driver. Therefore, I wanted to hear everyone's thoughts on writing this driver before I get started on it. From what I can tell, it does not seem much more complex than some other temperature sensor drivers in the kernel, such as the tmp102.

Regards,
Joe Strauss


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

* Re: AS621x driver
  2022-08-14 19:08 AS621x driver Joseph Strauss
@ 2022-08-14 20:37 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-08-14 20:37 UTC (permalink / raw)
  To: Joseph Strauss; +Cc: linux-hwmon

On Sun, Aug 14, 2022 at 07:08:18PM +0000, Joseph Strauss wrote:
> The AS621x is a digital temperature sensor chip with an I2C interface. It has applications in electronic equipment, personal computers, wearables, and HVAC. The datasheet can be found here: https://ams.com/documents/20143/36005/AS621x_DS000677_4-00.pdf
> 
> I wish to write a driver for this device and contribute it to the kernel, as my first module. It being my first module, I wanted to make sure that this was a worthy use of everyone's time and that it could be useful at some point. Sparkfun provides a convenient breakout board already, which is the one that I will be using.
> 
> After searching through the mailing list archive, I found a set of patches from 2016 for the AS6200 as part of the iio subsystem. For reasons I could not find, the driver never got merged. I guess the original developers moved on to something else. Additionally, they were discussing towards the end how the hwmon subsystem may have been a better fit for the driver. Therefore, I wanted to hear everyone's thoughts on writing this driver before I get started on it. From what I can tell, it does not seem much more complex than some other temperature sensor drivers in the kernel, such as the tmp102.
> 

If you look really closely, you'll notice that the chip is LM75 compatible.
Except for the resolution it seems to be fully compatible to TPM112.
Given that, there is no need for a new driver. Extending the lm75 driver
should be sufficient.

Guenter

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

end of thread, other threads:[~2022-08-14 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-14 19:08 AS621x driver Joseph Strauss
2022-08-14 20:37 ` Guenter Roeck

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