From patchwork Fri Sep 6 15:49:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 825996 Delivered-To: patch@linaro.org Received: by 2002:adf:a345:0:b0:367:895a:4699 with SMTP id d5csp872723wrb; Fri, 6 Sep 2024 08:49:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVnQ7gZ3VVWOXjCiCgjfw7s4OHm8Z1zOeuo1PJMlBGaEnwdirOgAuYG8i6W8656aJi+VFYCsA==@linaro.org X-Google-Smtp-Source: AGHT+IFfEdBIAVUCvWhMyxQxw5xRDH/3RBMPRw+5Vncs042PMfJFcA0TTUC8mjgJgr3wlOA5jQC6 X-Received: by 2002:ac8:5f90:0:b0:457:c3fe:c2a with SMTP id d75a77b69052e-4580c69ce21mr36788511cf.18.1725637788632; Fri, 06 Sep 2024 08:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725637788; cv=none; d=google.com; s=arc-20240605; b=RL5PlIPw5v+BOYIBvOlbdSYdb+n6OaAkynp3fT2oYz/fDhQD5F1NWp0vw1Sn/KcTPE GjAd8vJsPnG22ZQWnj/Lpke57b4dp1CKSpvND/wv69LnqS4E+JazAmOYbAfxhip9wJMF DnxAkhm4z3qS/GqSNr0qAZpKBuH4b/5u2omXQ+N/9oFDOHPbcFWml22s4h8ti+GHbMDt mpbQor7+IHDJprY+8wgETLC4dqLzKWlbL58PcgR4JOr+tvAVOwsPYs6snFsaxRGhJsgj H1PS45GClCkFUTLve/iObGpm0xGSTaG46W4oSf06s5xS6h6jjASO2zylDY5v/6bgDDqo R/NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=NrqrsICLu1S605ONmePhYVSZHzgc/8eXv2dixDfwGvI=; fh=Z+yIxTJUDGcIjPT+8wBBiwuyPjBxktzNAfs/whH1Zz8=; b=KwxAZg3Z1/S7wgQQiOgSgKDBbnN/WMqQUS+mIRqFFCPHGvgVMlrwWJCZj6w+XxHMJf mY3wHRdBc3IOnjmR0CVUXBKcgtzlaD/kjEu/SJGd+966oxNgrVGdnM/4bdTpeyoEyBVn DdBSFLoNSXUEzir8bsn9bsTf8IE/hFnFuRMGqYbxFRtPqYgd/Fp+ovpjeCWOGhQUt10T x4T7xVT1i/3DR4zEPsRtlUG542m3U08vCTvD33HcfrpfsQcSDCPJiCfRfNrsXQ2TEAnu O6dI1mTdbXakTk/z+VHGKMVd+wIu5A0d3HNbsdorVVtYnouhXjwyWKsqkh3BMqRnlEBQ TKtQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WWdVqpCb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-458152f5ac1si8666021cf.3.2024.09.06.08.49.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Sep 2024 08:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WWdVqpCb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smbD4-0007yY-BG; Fri, 06 Sep 2024 11:49:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smbD3-0007y0-4Y for qemu-devel@nongnu.org; Fri, 06 Sep 2024 11:49:17 -0400 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smbD1-0008AB-JU for qemu-devel@nongnu.org; Fri, 06 Sep 2024 11:49:16 -0400 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a80eab3945eso246221266b.1 for ; Fri, 06 Sep 2024 08:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725637754; x=1726242554; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NrqrsICLu1S605ONmePhYVSZHzgc/8eXv2dixDfwGvI=; b=WWdVqpCb5BHWJcenSLwuXzrD3SsP3Vt1CTalbitUvrY7o8U7biiHTawpj54eTOiSk7 o3hh8P1F0OyTAC6U9X/6YnzJYm3nvW4pW3M/0oXfKssgFu+hx5owSGImvyiVEQQi0kSl 0TvqT9jazZLSuLxuFM6C9aZ1RtCcsh2l6pqJvQiMmi9jGkmru3uZ7J2IfrcX959VJCRT AEWgzfWMbUMO3U5l3m9HOSCwCv/EDkTd3BmeOJzseBHofELLvzLzpPqYl5IzZEdZtYYx TvjgRlQC7jTEuJ10N5CKcixbpmhD1MRuG6QETFXvR7a2g/r4tS54silGQFO3VoiJilsv YMhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725637754; x=1726242554; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NrqrsICLu1S605ONmePhYVSZHzgc/8eXv2dixDfwGvI=; b=PWlkKyKGGw8gJkTrHTIFQUM+fPBRAKpeEVIkmdRVcn5uocu8yV20lrCTkt5Lin7sM/ GlxH+AYo9WSE/xgsZibofdoSBt87UR86vd7k/1IWaPlfoUe55rF0x9tX0I52Kaw0NtBe XOxb9tD1nuUJcNbDwdxmAp2R0T+DSq8IHGmSpqyRnMaQPEfLbAY7ZNlseUmyLGe+PgXd 9QWP1Zgn2Q4UPdIHS4eqffQwekoIjS152qb6/cuMOTtelXv+FmrhRGOSz6Fym9Z8pjvG WE6H1aNDAaXVDGLNPgQeheVI/E78LR8FUFXLGGe6eeX1Gkd7I/6ksNxQ7VVD0k57tcze h/Bw== X-Forwarded-Encrypted: i=1; AJvYcCV8jXVpx8mw6Eit/PGB3b4o+AN64xSDAG7F8tgeoCuZNRTNA8k1rH5xVE+N8a+o4E8UC8HtqFdClc0r@nongnu.org X-Gm-Message-State: AOJu0YyDhL5rIEElo8DJx5162hdEY8bFFSMF7tX42dLHMar7TreR0SpA yNmYn24l74f9oTsMKwAvjwBn3VgORZ6t9xc2kJsRN5ue5GAzMDF2UkAgt6iDQlQ= X-Received: by 2002:a17:907:961e:b0:a8a:af0c:dba9 with SMTP id a640c23a62f3a-a8aaf0cdf7fmr169398366b.16.1725637753813; Fri, 06 Sep 2024 08:49:13 -0700 (PDT) Received: from localhost.localdomain (225.13.23.93.rev.sfr.net. [93.23.13.225]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8a6236d290sm289717666b.116.2024.09.06.08.49.12 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 06 Sep 2024 08:49:13 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Guenter Roeck , qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?C?= =?utf-8?q?=C3=A9dric_Le_Goater?= Subject: [PATCH v2 0/5] tmp105: Improvements and fixes Date: Fri, 6 Sep 2024 17:49:06 +0200 Message-ID: <20240906154911.86803-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=philmd@linaro.org; helo=mail-ej1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Respin of Guenter fixes with: - Use registerfields API - Clear OS bit in WRITE path Supersedes: <20240906132912.3826089-1-linux@roeck-us.net> Guenter Roeck (2): hw/sensor/tmp105: Coding style fixes hw/sensor/tmp105: Lower 4 bit of limit registers are always 0 Philippe Mathieu-Daudé (3): hw/sensor/tmp105: Use registerfields API hw/sensor/tmp105: Pass 'oneshot' argument to tmp105_alarm_update() hw/sensor/tmp105: OS (one-shot) bit in config register always returns 0 hw/sensor/tmp105.c | 66 ++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 29 deletions(-)