From patchwork Wed Jun 9 10:58:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 12309631 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E9C4C48BCD for ; Wed, 9 Jun 2021 11:01:39 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A1B4160FEB for ; Wed, 9 Jun 2021 11:01:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A1B4160FEB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:60354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqvxp-0007ZI-DG for qemu-devel@archiver.kernel.org; Wed, 09 Jun 2021 07:01:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqvum-0006DQ-Dt; Wed, 09 Jun 2021 06:58:28 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:43907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqvuj-0006oa-L8; Wed, 09 Jun 2021 06:58:27 -0400 Received: by mail-pf1-x431.google.com with SMTP id m7so5180946pfa.10; Wed, 09 Jun 2021 03:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CCOGy3zXThddL4G6l9Ox6Sa5E5r6AVgDtO7P9RWNneg=; b=XYeKP9vnS0ydxt4JzGD5/oMAS8ZLO1nDYUekg6BnJUrNVxOU3+R40pfeuFy/ILgoex wPl03CHwD10JPvTPLx0JNk34Uf3JE8Npedex893/3D9p5fU2qmhlqTeTYnIyAAVxrkfY vVvCew9vrosHlbBzg/qolu5wy/pP4zhQQNdsC3E2sxfxEbIaN7nVLC2/g/ZqtFKQ+E7d suQIconUsraQw6UKB6f19pwU/yCiMzeZ24y6y5R19pBfy7SzvndOGJOcwdiyR9maOTBd C0PgdRo2pdqGaGcjcrsmttnRMlbx4nNeSU3O0/22oyXfr5enqF3+EgGaKm2LqKMulIWB +bxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=CCOGy3zXThddL4G6l9Ox6Sa5E5r6AVgDtO7P9RWNneg=; b=VVn3tdPYTjWsWTmNOs/fuy1YNlsG/hRX9ELUTS9XIN/BVrVApdSCG9nZNuvfcBh7eu wkobIgTGzripjO9kImWVEf5+w7MVdsnABdZJvxubTCaAkx9Mx+qr18oHqedC6mgwE5NZ 3BXkzAVfxcFmSdHCFAaF/yRYKVlx4/kUsxpKTBO5Iztnkkeo735W79xNANpnQaXoq7iE WK2SR58KJ6HZtADEHDxoiE3m910EMEZg2MmJ+YeNp428W+SNxJyJRzXvxGkco7OAmPq0 BEXQTi8wgmIVxP2gfJtiTvigOkpMhEX+IyfJ7CfcSSk48cb9d+6Ldl1w3c9FNZDrdQwW 1pKg== X-Gm-Message-State: AOAM530Zh6rEXNZBUxJi9fnRtZN2SveW8EhQ7nWSkO4jZzkjdgmR569y HBq2ra06gVuJpYP1nCZiCSY= X-Google-Smtp-Source: ABdhPJy+yo+xD37qAfHXMWL79fNeCZN5xsJE1fpqj/N//NgVlFpucrvjvwq3KGe+B7F2CNnZt1frbw== X-Received: by 2002:a63:62c2:: with SMTP id w185mr3319047pgb.76.1623236303442; Wed, 09 Jun 2021 03:58:23 -0700 (PDT) Received: from voyager.lan ([45.124.203.19]) by smtp.gmail.com with ESMTPSA id c3sm12866923pfl.42.2021.06.09.03.58.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 03:58:22 -0700 (PDT) From: Joel Stanley To: =?utf-8?q?C=C3=A9dric_Le_Goater?= Subject: [PATCH 0/2] hw/misc: DPS310 temp and pressure sensor model Date: Wed, 9 Jun 2021 20:28:00 +0930 Message-Id: <20210609105802.17015-1-joel@jms.id.au> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=joel.stan@gmail.com; helo=mail-pf1-x431.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , qemu-arm@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This is a model for the Infineon DPS310 temperature and barometric pressure sensor. Joel Stanley (2): hw/misc: Add Infineon DPS310 sensor model arm/aspeed: Add DPS310 to Witherspoon and Rainier hw/arm/aspeed.c | 4 +- hw/misc/dps310.c | 357 ++++++++++++++++++++++++++++++++++++++++++++ hw/arm/Kconfig | 1 + hw/misc/Kconfig | 4 + hw/misc/meson.build | 1 + 5 files changed, 365 insertions(+), 2 deletions(-) create mode 100644 hw/misc/dps310.c