[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/10] hw/misc: Add Infineon DPS310 sensor model
From: |
Cédric Le Goater |
Subject: |
Re: [PATCH 09/10] hw/misc: Add Infineon DPS310 sensor model |
Date: |
Thu, 12 Aug 2021 17:15:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/11/21 3:25 AM, Joel Stanley wrote:
> On Tue, 10 Aug 2021 at 23:37, Corey Minyard <minyard@acm.org> wrote:
>>
>> On Mon, Aug 09, 2021 at 03:15:55PM +0200, Cédric Le Goater wrote:
>>> From: Joel Stanley <joel@jms.id.au>
>>>
>>> This contains some hardcoded register values that were obtained from the
>>> hardware after reading the temperature.
>>>
>>> It does enough to test the Linux kernel driver. The FIFO mode, IRQs and
>>> operation modes other than the default as used by Linux are not modelled.
>>>
>>> Signed-off-by: Joel Stanley <joel@jms.id.au>
>>> [ clg: Fix sequential reading ]
>>> Message-Id: <20210616073358.750472-2-joel@jms.id.au>
>>> Signed-off-by: Cédric Le Goater <clg@kaod.org>
>>> Message-Id: <20210629142336.750058-4-clg@kaod.org>
>>> Signed-off-by: Cédric Le Goater <clg@kaod.org>
>>> ---
>>> hw/misc/dps310.c | 227 ++++++++++++++++++++++++++++++++++++++++++++
>>
>> Can this go into hw/sensor?
>
> For sure. I wrote it four years ago, when obviously hw/sensor didn't exist.
I moved it under hw/sensor.
C.
- [PATCH 01/10] hw: arm: aspeed: Enable eth0 interface for aspeed-ast2600-evb, (continued)
- [PATCH 01/10] hw: arm: aspeed: Enable eth0 interface for aspeed-ast2600-evb, Cédric Le Goater, 2021/08/09
- [PATCH 03/10] watchdog: aspeed: Fix sequential control writes, Cédric Le Goater, 2021/08/09
- [PATCH 04/10] hw: aspeed_gpio: Simplify 1.8V defines, Cédric Le Goater, 2021/08/09
- [PATCH 02/10] watchdog: aspeed: Sanitize control register values, Cédric Le Goater, 2021/08/09
- [PATCH 09/10] hw/misc: Add Infineon DPS310 sensor model, Cédric Le Goater, 2021/08/09
- [PATCH 06/10] misc/pca9552: Fix LED status register indexing in pca955x_get_led(), Cédric Le Goater, 2021/08/09
- [PATCH 07/10] arm/aspeed: rainier: Add i2c eeproms and muxes, Cédric Le Goater, 2021/08/09
- [PATCH 10/10] arm/aspeed: Add DPS310 to Witherspoon and Rainier, Cédric Le Goater, 2021/08/09
- [PATCH 05/10] hw: aspeed_gpio: Clarify GPIO controller name, Cédric Le Goater, 2021/08/09
- [PATCH 08/10] aspeed: Emulate the AST2600A3, Cédric Le Goater, 2021/08/09