From patchwork Wed Jan 10 17:22:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petre Rodan X-Patchwork-Id: 18923 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp937334dyi; Wed, 10 Jan 2024 09:24:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IE28/O2XtVXklxCcN20Nueg3fUafZDU/tKPMO4/F+Ik77YuhgUcGqlF+eNf8QwAeORrkZaB X-Received: by 2002:a05:6a00:4fc7:b0:6da:c8b7:89f1 with SMTP id le7-20020a056a004fc700b006dac8b789f1mr1585785pfb.58.1704907455074; Wed, 10 Jan 2024 09:24:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704907455; cv=none; d=google.com; s=arc-20160816; b=H0sDBEyfy9zRxYIwC7mi85LA9jKGnPEKZTfTQ90phBd/3R/D0mX+cLfYO/w0f8scGH NKkUZuD/qOOfuz9uHrX0ewUDlqyz5pj9GSR7sJJ0FD7vO6fb3U1Jt5kh+Nmn8sP/OWI3 sP2u8aye31vxUzMcYNOTVem0EVAvsImO/fiHVpz305vcmg5qej1t1aRR5KV6mw/YWF3b 5IKyTk90nS9CgtxoKkDIUhiLR+MCDbPWmHwTIAC3HBSvYXyu6AnowXBl4s+kZOfjJfWt qkbjlBAVMy2KAU+A9IYoa5+lISi8+1J8J2k0KcZTR2RS3Ukb55TcXbec9mBmCgS2iZya UGNA== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=A8AyD/6c/oRdt1oBGZH0X6T4myu6iNnlM3CNRj2x+m8=; fh=RpJjGiuDlOjmyoLhPwSzjbPbeK51vYo3I0V3BuRLNmU=; b=rQga2cBbwhbtiIzTdhQh9BnHXyr/hqVI9eSn8+n/zAzdRfQvoa8JEUz32VD+qFrGf9 t7iVopGToX86NrL3uSJ5CIaiNP7hWpJ4lcGxMcoYMz8ydGc3eVsWw/Ugr4VLOFrFnVz1 FPVBsImgzopjnSYg0VTbBAT7lrhwys3piRp2L7rrS+EmXJoFtjuFTBvalmxfKSRODcij P1SYypynuaU4iYqeypC43wLt4QvzHq7/+H93n3M7rBk4Sx1vz3/4ODVo1Cwsj6u+SETy 9WPOMY3lN1mUcmUC+g5bmJbzIgqBOvm7Jfc0uu//mR5FDsrET0qrYihkr0DmJxWoV1Iq i0ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=aryp8uRM; spf=pass (google.com: domain of linux-kernel+bounces-22522-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22522-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id a9-20020aa78649000000b006d9b4e9a5e6si4008238pfo.383.2024.01.10.09.24.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 09:24:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22522-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=aryp8uRM; spf=pass (google.com: domain of linux-kernel+bounces-22522-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22522-ouuuleilei=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 90622B224A8 for ; Wed, 10 Jan 2024 17:24:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2FE94D5B1; Wed, 10 Jan 2024 17:23:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=subdimension.ro header.i=@subdimension.ro header.b="aryp8uRM" Received: from mail.subdimension.ro (skycaves.subdimension.ro [172.104.132.142]) (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 78AA44D102; Wed, 10 Jan 2024 17:23:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=subdimension.ro Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=subdimension.ro Received: from localhost.localdomain (unknown [188.24.94.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail.subdimension.ro (Postfix) with ESMTPSA id 8910828B531; Wed, 10 Jan 2024 17:23:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdimension.ro; s=skycaves; t=1704907392; bh=mjyfSltd/Lmj2z8wj65JHdOrQhfwlOTcV4rHxl3TvV0=; h=From:To:Cc:Subject:Date; b=aryp8uRMU3DrIpaEz2cseygXAUhmwFj4EwZEwI4andbp4zCrp6TRJCiRKSGTqm33Z rXPxfhdhgJEMAPtkwhLSo8X2paY1cttgsQZYN6lQy2+4wWTtLNE7NtIWSU29sG3ddp aaAuIb661C0o2ywJvTCNqLYSJRXiS8eI8LvfdIdY= From: Petre Rodan To: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Petre Rodan , Jonathan Cameron , Lars-Peter Clausen Subject: [PATCH 0/6] iio: pressure: hsc030pa new features Date: Wed, 10 Jan 2024 19:22:35 +0200 Message-ID: <20240110172306.31273-1-petre.rodan@subdimension.ro> X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787725039958565738 X-GMAIL-MSGID: 1787725039958565738 This set of patches covers the following: - small cleanup - mandatory 2ms delay between readings - support for triggered buffer readings - support for devices that have "sleep mode" factory option active Petre Rodan (6): dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add spi props dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add sleep-mode iio: pressure: hsc030pa cleanup iio: pressure: hsc030pa add mandatory delay iio: pressure: hsc030pa add triggered buffer iio: pressure: hsc030pa add sleep mode .../iio/pressure/honeywell,hsc030pa.yaml | 13 +++++ drivers/iio/pressure/hsc030pa.c | 48 ++++++++++++++++++- drivers/iio/pressure/hsc030pa.h | 9 +++- drivers/iio/pressure/hsc030pa_i2c.c | 28 ++++++++++- drivers/iio/pressure/hsc030pa_spi.c | 40 ++++++++++++++-- 5 files changed, 131 insertions(+), 7 deletions(-) --- 2.41.0