Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1153063rdb; Fri, 16 Feb 2024 07:00:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWG4gumF1rc+Cq6hnR3lyHCH2Af2Zl5OxKSkojoSgpc6y8KtYE2BvNVU81rJtLYnNUhSOg3yaKGiWiyYcsWIz1q/6fCYg/bP+s4gqiDHw== X-Google-Smtp-Source: AGHT+IHEIHQbb8dabDNSUqH6JxarPa/NrMl3xq1Md4Rn/VY1KEkel/Xp+JNxOsW9C79sobwpfH6F X-Received: by 2002:a05:6512:535:b0:511:45ec:a17f with SMTP id o21-20020a056512053500b0051145eca17fmr3550415lfc.40.1708095642631; Fri, 16 Feb 2024 07:00:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708095642; cv=pass; d=google.com; s=arc-20160816; b=ivoj06kf9mZ9eP2EjxErerxzgvnGBLg8HNg3YFSD5V5fQUAJT7r1RfM+RKYQaVvBGs wm2R8vPV874s5t1Mg0Uph4xUkCaakY272UdJnj82QuYkIJJnITcOYqAsYqmRIVqjEcAT pKIt1HUAQrZdNYv+h9Q/mv7PjPCVNXS21kNXRoXDl1kVa/b+AqB+kTGzitgQnZq9QMd7 /8UAc6yIH7VeGYfbbYjn3EzLF7L0kwsXdRrmItSsr8mN+WK4JdfZAgtMCw1ARlbr0Zgp RlRf2m6r1NEUY3QtM6jdeNDKDwGOut88Pi3Eg2pMlTZbJB49gTZkKiAyUOBIllxjHIP/ dY2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=NJHxctjLpdOz+OTZFSqK4opizsxjoypbEqwqwI3iHLQ=; fh=//+2cTEgcnm/nhcKhEezeBLrqtvifmIIqwZlBvaOsjI=; b=fTyDstQHyoQ2HhVp6A4EPshk7QFNMan7h9aXuI/4sZ4v2PrpkOSe4bL4ABoAv0G2gA Pn1opf50ezjAKMBzi5HvcWTcKOL+H0dgbxjBsIRzPmFn57gRF5VmlsNBjV6zDtzRZGYK nYOHy2zSwMORBDecx/Ix2t6knVU1X4YIl8QkvWURfL7seN5+tN1ynT1cVQMdunaqxAaP umibXWTAq3vhzN8gLqAMAQRIGp7wz17sukb4kCuEctU6V3xirvMy3hUA3/kLKIwjurx0 uKD/17wMcFfANUV17ho64rdzzfel4msdQsfAUe3kz5mXKhJCcjAD9jC/FXRJFZcioL9W KUPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D7UfS5hW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fy10-20020a170906b7ca00b00a3dddddad27si6752ejb.840.2024.02.16.07.00.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:00:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D7UfS5hW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 598EB1F2301F for ; Fri, 16 Feb 2024 15:00:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D027012EBD2; Fri, 16 Feb 2024 15:00:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="D7UfS5hW" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D65D912F377; Fri, 16 Feb 2024 15:00:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708095636; cv=none; b=WSnKbv02/hYDPJypUOn90JUtOZ1dBpJjBih9OO7g38+G/lhwEMYGznkZEs4xdmmhdCz6MdqRqse+4Qi8CON+PmcT2vdGYDwxgfPzojZu1Xd3di4/Zi8BzOY3AoNHy+l9QXZpaXn/TrxVSX5vtyCSgcdFsS78ahimBQdxg/PDQ00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708095636; c=relaxed/simple; bh=SlsPKpnC/Bj0Ge4xbcBdLPan6kK3Dz/4j4gB5D2L1VU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jJLPXRKHJppiqP3jzddhxf6OiHfPHJfNZ/56C/os0xfVMNJmbymhug0wxnOb4qYkpBrWOrZdy5nTphmlfQ9EAYiNaM9kbXAQFfaWz9u+yPgscunRRY96fkc6RBS0NAcHWi/quDA7ondmJHDZmPGpUbk2QVU4hvgqhP7Za4sUwzM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=D7UfS5hW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00E34C433C7; Fri, 16 Feb 2024 15:00:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708095636; bh=SlsPKpnC/Bj0Ge4xbcBdLPan6kK3Dz/4j4gB5D2L1VU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=D7UfS5hWvGrV0c6HztB7bftM4x+YCOGfe5XNHzdaBtCU5NHG7ikVTCROH0Ro2x6Fk aymugkNxgqOhjTDC8Q4mDsS4Urx1OqBt++KzVAkiiTbD3+Y9rrX6q/fdisgHK8rYiU gv29Tp86xePMnEvOq09zB3sw7nShc9yhyo+tNNuWH05m+gdlyoh6wIXiAGRg75FuaS yMtrhPcN+iZVKApW6SEoe6n9ZrFoeQHcYk69gcM9H7a9Bb+feOVszxs2wkLSgXGdjf SOtcjbeL6Nd495I9YY2XsR3K71f/GIKJldp47nUPJ5gYtvFCV2lPUPeXSidzx2MHZM XjrPt+mQ3Rpbw== Date: Fri, 16 Feb 2024 15:00:25 +0000 From: Jonathan Cameron To: Petre Rodan Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Lars-Peter Clausen Subject: Re: [PATCH v3 0/6] iio: pressure: hsc030pa: cleanup and triggered buffer Message-ID: <20240216150025.6c718307@jic23-huawei> In-Reply-To: <20240211075645.28777-1-petre.rodan@subdimension.ro> References: <20240211075645.28777-1-petre.rodan@subdimension.ro> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 11 Feb 2024 09:56:31 +0200 Petre Rodan wrote: > This set of patches covers the following: > > - small cleanup > - mandatory 2ms delay between readings > - support for triggered buffer readings Hi Petre Applied to the togreg branch of iio.git but that will initially be pushed out as testing for 0-day to take a look at it. Thanks, Jonathan > > The support for devices that have "sleep mode" factory option that was > present in v1 of this patchset was removed, for a few reasons: > > - a Honeywell employee told me that this chip variant is extremely > unlikely to be found in the wild, which also makes testing the > driver functionality impossible > - I found no reliable way of generating i2c/spi bus traffic with no > payload (toggle CS for SPI case, send i2c packet containing only > the address byte) that are required for the wakeup sequence. > > Petre Rodan (6): > dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add spi props > iio: pressure: hsc030pa: use signed type to hold div_64() result > iio: pressure: hsc030pa: include cleanup > iio: pressure: hsc030pa: update datasheet URLs > iio: pressure: hsc030pa add mandatory delay > iio: pressure: hsc030pa add triggered buffer > > .../iio/pressure/honeywell,hsc030pa.yaml | 3 ++ > drivers/iio/pressure/Kconfig | 2 + > drivers/iio/pressure/hsc030pa.c | 49 ++++++++++++++++++- > drivers/iio/pressure/hsc030pa.h | 7 +++ > drivers/iio/pressure/hsc030pa_i2c.c | 9 +++- > drivers/iio/pressure/hsc030pa_spi.c | 7 ++- > 6 files changed, 73 insertions(+), 4 deletions(-) >