Re: [PATCH v2] iio: humidity: am2315: add am2320 to i2c_device_id table

David Lechner <[email protected]>
Newsgroups dev.linux.lists.linux-kernel-mentees,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/11/26 10:12 AM, Nicolás Antinori wrote:
> On Mon Aug 10, 2026 at 4:28 PM -03, David Lechner wrote:
>> On 8/10/26 1:32 PM, Nicolás Antinori wrote:
>>> The AM2320 is fully compatible with the AM2315 sensor in terms of I2C
>>> communication protocol and measurement conversions.
>>>
>>> Add the "am2320" entry to the i2c_device_id table.
>>
>> Interesting. No devicetree bindings for this one? What kind of
>> system is it on?
>>
> 
> I am testing this on a Raspberry Pi 3b mounted on a protoboard.

How do you tell the RPi to bind the driver?

Since Raspberry Pi is ARM-based, usually we would use devicetree
overlay to do this, which would mean that we should write a
dt-bindings .yaml file for these chips.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.