On 8/11/21 3:25 AM, Joel Stanley wrote: > On Tue, 10 Aug 2021 at 23:37, Corey Minyard <miny...@acm.org> wrote: >> >> On Mon, Aug 09, 2021 at 03:15:55PM +0200, Cédric Le Goater wrote: >>> From: Joel Stanley <j...@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 <j...@jms.id.au> >>> [ clg: Fix sequential reading ] >>> Message-Id: <20210616073358.750472-2-j...@jms.id.au> >>> Signed-off-by: Cédric Le Goater <c...@kaod.org> >>> Message-Id: <20210629142336.750058-4-...@kaod.org> >>> Signed-off-by: Cédric Le Goater <c...@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.