Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1233137rdd; Wed, 10 Jan 2024 12:54:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IH09dforaY1qoHmhXVFVQVykaYM5IkNUKQoQaXil87RwaVXUp9+zcYuPlXKqQnQh7l2dUGo X-Received: by 2002:a17:90a:778b:b0:28c:dc42:327b with SMTP id v11-20020a17090a778b00b0028cdc42327bmr97304pjk.7.1704920081630; Wed, 10 Jan 2024 12:54:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704920081; cv=none; d=google.com; s=arc-20160816; b=GFALavgeubSWgjrhNLN1Vm/cL2pl/EMARjfbcm8jrmflxfBv9Ve/D7QbM5Yzwz5v4I vnzRJHcVSOe731FZQwQyUZNXS1Gv4AUMk4WIPYL+Kh7g3z2Uw6ZvGBVBicUNFWNzOT8J dgSELoQ+fgyJ6osYDivl7NwVsTlspDG3+H2KTRkKr8VlFyqqzSfzXSBxPjdj+XhrVB02 FIIIYa8/Vg8YV3HSv2x6PwKcDgGdBJgNkyRwj5n3WcrItC8Zr6ESY0c4MhQc0WlbLGM9 /XLIHgpyijGpJFcVpjv0+0N6qi2Uwht5qvuJLw39WGquQXxZenGmshHOOs8fPeYFTwIQ O+NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=R1M7ps4WkHmNkGZ5ie9/GgPQiwPprEwmBMC0OtQiSIE=; fh=yPee+v1La1EoC/P+tlhcfdMf+OnTqya1/Wk7xf2HY20=; b=mtYh6bhNN+948zEPuKMttailXEzqFUSs0RN3G6yd8+cBa+AsNcrfffYUvuXxRMg9UG cjPzUA2SIcrnIsSXZyEhPV2wcJP5D6JL64jJIA99mo1L+hehGWWbJ+UTiZoUFYjk0oCY WvZB6aS7DbeSv3HuHSk1X/4bvbIObV4iUY0qXHhpzVYrFWaO7zz9bh25YYRMOMWFBj7b D31KArDDED+jkN+DVUUU6XW9W+X6g6jBmibdiWCPF+1050gFauUX9xwMhIerH17afoMj KlmW9c5Emo+g7/5Q0eGaXUDphfy5SrENuCXtEzH5u6abZDBCnZz+ulVTZneHRGDDKxPw 6Qkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KQptysEg; spf=pass (google.com: domain of linux-kernel+bounces-22785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t18-20020a17090ad51200b0028868509509si2106468pju.108.2024.01.10.12.54.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 12:54:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KQptysEg; spf=pass (google.com: domain of linux-kernel+bounces-22785-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7029A286010 for ; Wed, 10 Jan 2024 20:51:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 243C05103D; Wed, 10 Jan 2024 20:48:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KQptysEg" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5082D51013 for ; Wed, 10 Jan 2024 20:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40e4d64a431so24495035e9.0 for ; Wed, 10 Jan 2024 12:48:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704919717; x=1705524517; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=R1M7ps4WkHmNkGZ5ie9/GgPQiwPprEwmBMC0OtQiSIE=; b=KQptysEg6FRvwy4NrwrXC0EqaMoyt5t3dLV3+40MyOrqzJ6g3w535Ym8ucPUsrFmL8 ho5kuBORycW/+Gkk5Y/+alc1xZeo5l27qtK6xPeFIaptfegPoYr5JwED900DANs0qHCg V4Qo13bNxKYf7IsTq/0FEHHx3HxtucrFAyaeroO8YcaCOZpCCpBgYGEhvXKbWgmYdsWW qsGmLm5ZG00hVyFuwe+XxGeYB9OhXAzEY9MgwzA4icFNaBBe33/85vq0+GqcIjs3V5Di zSFrsVW55oq3B9QuClzZws2d9IneAxF1vZb5bUsdu4qRo74eYDF+9sAD0xAsO35w4LP6 gUlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704919717; x=1705524517; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=R1M7ps4WkHmNkGZ5ie9/GgPQiwPprEwmBMC0OtQiSIE=; b=vDtFXhbN09sJqdwO0bmgK2p/pWcxPpxD8DtIMej2pJdvNYZCjiPemnbYUhOjcTi1lR z+7v8/oDGe+rsM/y7fOxxozHYXT3wnuYPq45uqHaDjf1so+9/Yh7whvFRHgK5xav/8V9 9S2IzgpRM0QDVZL9nO3mP4azLVulXI7SOZYKEkizVLosEg5hS3exkeSPIEtGVXcgLvWG dJCrZnIru97bNFLUU60iyXqV4CM0cIG7FVYHoB+OeDfRBrivXnTiDC4VOAC703mRafpX Q00RNbMZaq6apWLEFtah/5Duzlo/CyJthFg6z/p83cIJq5VSThw6eyJqRaWVQ04QYwnI mXgQ== X-Gm-Message-State: AOJu0Yx5TSpnrU2yPjDi9xhONexrg5MaewDiPQ7OjSVWf/fSO5QXhCP7 rnnr+CGfiGyPpyYENjBzvDuAgG7f92rq1g== X-Received: by 2002:a05:6000:885:b0:337:3f72:3dd5 with SMTP id cs5-20020a056000088500b003373f723dd5mr41314wrb.32.1704919717656; Wed, 10 Jan 2024 12:48:37 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id k14-20020a5d6e8e000000b003366c058509sm5659636wrz.23.2024.01.10.12.48.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 12:48:36 -0800 (PST) Message-ID: Date: Wed, 10 Jan 2024 21:48:34 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/6] dt-bindings: iio: pressure: honeywell,hsc030pa.yaml add sleep-mode Content-Language: en-US To: Petre Rodan , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley References: <20240110172306.31273-1-petre.rodan@subdimension.ro> <20240110172306.31273-3-petre.rodan@subdimension.ro> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+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SJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240110172306.31273-3-petre.rodan@subdimension.ro> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/01/2024 18:22, Petre Rodan wrote: > 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: "Sleep mode" naming suggests there are choices, like mode foo and mode bar. Probably you want something like "sleep-between-measurements" or something matching how does it work. > + description: | Do not need '|' unless you need to preserve formatting. > + '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; Drop comment. > 2.41.0 > Best regards, Krzysztof