From: Guenter Roeck <linux@roeck-us.net>
To: Joseph Strauss <jstrauss16@proton.me>
Cc: linux-hwmon@vger.kernel.org
Subject: Re: AS621x driver
Date: Sun, 14 Aug 2022 13:37:13 -0700 [thread overview]
Message-ID: <20220814203713.GA3689180@roeck-us.net> (raw)
In-Reply-To: <20220814190815.sgybykap5vmdmlwr@libretux>
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
prev parent reply other threads:[~2022-08-14 20:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-14 19:08 AS621x driver Joseph Strauss
2022-08-14 20:37 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220814203713.GA3689180@roeck-us.net \
--to=linux@roeck-us.net \
--cc=jstrauss16@proton.me \
--cc=linux-hwmon@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox