Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1129121rdd; Wed, 10 Jan 2024 09:24:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKFGXobMhPN5WUjEqsFnzpKIkZkTcRze4JoSiCkoFsRRKE9qNZaSFsmsJLDcI6cGGFGtYn X-Received: by 2002:a05:620a:4006:b0:783:36aa:468 with SMTP id h6-20020a05620a400600b0078336aa0468mr1408410qko.130.1704907440142; Wed, 10 Jan 2024 09:24:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704907440; cv=none; d=google.com; s=arc-20160816; b=HVUpr6wOHWx+ygbbV+Xke8bk5xYqRXG+zsLcBW0HwpdfM9SpCxP9Bqu7sX+WpDfoQU G4qdaSI950nz11eaRiVSUWx0tg118ID3E7pVJXZ+HKn9b6AUEa6Dz+ZW6wEyJI7p3a3n RNdKEutfGpchRyW5xgmUAqP9/LkhhDdliHnv7hTeCuK4TcUQxHjK8qAKNGY2WSCnae1V F0JzldbU7cbdfBljP5UqRXpjxTdZJr8q2EAEMxGdoC65tAGVsgIZW+lFAU77jHQUNy6S TidMxDMUGJnl/jcj8NrZU/1jwy8a7I13Pyf7RBrYT7DWPXxsURUxuFGtP2jKs6CM+68Q i94g== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+wcYTvY5S+UCp4ZM6lF9MNwYesqZrvxfyXKrJPscr4M=; fh=qAPe5qiEjGEI6PAB4iGo703ejtRIE8f07Uvyp/kzsRs=; b=Dv3mal+16ajzrA6sDktA673a5ORoAYpIHp70eRCZks/0K5hJFCHADUYUPQ1fTZbNaa d7IxHweMX/HTz8EZypMtiO5wlu1WmeHMztBwIkrAyhvv3/VT1VYQTM5mA8xCyNLpWJmg LJRz7Yq5MLP/9djFji1d/+sEXxqw4Yt+oByWpJwJSxOlv4/N8tDQslzn9VD/PjVGGiQI YynknRYyPYKLlpjgG6xJpLH3kFiCBnPLfjaDYOeNDEEvl7hohh/qrfbqKC7RX/JbTj6o 4k4yeMqhogvyHy1GOxCfLWwLpxRQlEF1rr3Z9OzzjZDScs9+7YRvDmOBQ/sq/aAA4oS7 HXAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=Q+R50F5j; spf=pass (google.com: domain of linux-kernel+bounces-22526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22526-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y11-20020a05620a25cb00b0077f2859aae2si4571632qko.246.2024.01.10.09.24.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 09:24:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=Q+R50F5j; spf=pass (google.com: domain of linux-kernel+bounces-22526-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22526-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E120C1C22767 for ; Wed, 10 Jan 2024 17:23:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BC954D59C; 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="Q+R50F5j" 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 78AF24D105; 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 27AF6295116; Wed, 10 Jan 2024 17:23:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdimension.ro; s=skycaves; t=1704907393; bh=JR2K1BGHxcrEH+xlbeKvVMsrrRoi4/Miv25LV1xkXWs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Q+R50F5jAAkGNV5MXSZqLkl4o0OpmvSKhAdLA4tRMfd/7asJONo/36bTmpWvHYbBE IouYktqbeh9Knwqp26O6aVbhSdp1mEexnlVj5CLq/BDwIpIFiSH1YRw2A7kujBWfp6 mKb2fmRzPhfw55g0Sxqk4BEEHL/WkwW8Y/z/3vMQ= From: Petre Rodan To: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Petre Rodan , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 2/6] dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add sleep-mode Date: Wed, 10 Jan 2024 19:22:37 +0200 Message-ID: <20240110172306.31273-3-petre.rodan@subdimension.ro> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240110172306.31273-1-petre.rodan@subdimension.ro> References: <20240110172306.31273-1-petre.rodan@subdimension.ro> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add sleep-mode property present in some custom chips. This flag activates a special wakeup sequence prior to conversion. Signed-off-by: Petre Rodan --- .../bindings/iio/pressure/honeywell,hsc030pa.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.yaml b/Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.yaml index 89977b9f01cf..350da1d6991b 100644 --- a/Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.yaml +++ b/Documentation/devicetree/bindings/iio/pressure/honeywell,hsc030pa.yaml @@ -86,6 +86,15 @@ properties: Maximum pressure value the sensor can measure in pascal. To be specified only if honeywell,pressure-triplet is set to "NA". + honeywell,sleep-mode: + description: | + 'Sleep Mode' is a special factory set mode of the chip that allows the + sensor to power down between measurements. It is implemented only on + special request, and it is an attribute not present in the HSC/SSC series + nomenclature. + Set in order to enable the special wakeup sequence prior to conversion. + $ref: /schemas/types.yaml#/definitions/flag + vdd-supply: description: Provide VDD power to the sensor (either 3.3V or 5V depending on the chip) @@ -140,6 +149,7 @@ examples: honeywell,pressure-triplet = "NA"; honeywell,pmin-pascal = <0>; honeywell,pmax-pascal = <200000>; + //honeywell,sleep-mode; }; }; ... -- 2.41.0