Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp520168rdb; Tue, 16 Jan 2024 07:32:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcBz7Yt5sseXNHezi/k+vCE9qlcHI3Hi8vLMdYmnCJQLFBf5SpJjok+lNjP7qA6A17mj2E X-Received: by 2002:a05:6402:254d:b0:558:fb9a:499d with SMTP id l13-20020a056402254d00b00558fb9a499dmr1981304edb.123.1705419153203; Tue, 16 Jan 2024 07:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705419153; cv=none; d=google.com; s=arc-20160816; b=iAX1LgA5aZ5X2tAJT9WBSSSTe1u88Lf8Qdx64X4Afy4Ep8tniGHcJqVveoUmtIuFt2 VEcEYNgFQkGXLkxwHba8zgHubGRmsDOKiQhmW2zMPKfj91eJ1zUiK2pPa2OiUS6ZiPYg +ni5crcYF3AJnAM4VKG40RaLaCvW6gLV/eu6sKxLGrsszno38XXAuBCa3CkDU6DeSotA mMv+8mKOCVa7HKKgWZOkp8tPfDpRNsGI209bglDNBAtCwQX++n9dhm+8XMh6j7wT/cnO m2xFmO02KbQRWrxTTLfrT+YOpy05BK2eBoMfpteqUtieLtnA23DrRbnyEBNwzKj5VuxU n82Q== 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=RRqh4IdEntOv7DoUtgbTz4JUfgL7oZgBjoCKT5NDl1E=; fh=/kFmcoaTFyqCQnXbpWYiHnYxHskkPm5fClEX18t1gzs=; b=kdUq64VbqjU2hjog+cDR8qMGDTJYqrnPSRKsJ9W/cQ8MkgrIoWAjRUKW7OK07TUQ4M 8R1WzqPWm5goRRk7eKSRYUApT3/Lw02nAMmxj2PU3VnDju23oOfm7D5sp7TPTnekV6W4 Wce7JsknKwe32yUF5zHDVXo8gFCsGulMN9CL8Txvp6OV1RORsvS0wi5UtjdMadY+GHxM Eegh3zkRrypNDfE91803uvTa9eAJ9izxG3Y7Pqlg3O1vvypiZ9xqseY6+KGua3nH0myj 2r41vusOKmkJ+dhizauEiMDU6Fjz/Kq5+EYo4aQwxmpLeOgeTwgbsQW9/LmYLre78bFk GQ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LaWfGwwX; spf=pass (google.com: domain of linux-kernel+bounces-27526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 b7-20020aa7df87000000b00559bfff2547si230505edy.48.2024.01.16.07.32.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 07:32:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27526-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=@linaro.org header.s=google header.b=LaWfGwwX; spf=pass (google.com: domain of linux-kernel+bounces-27526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27526-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C15FB1F2469A for ; Tue, 16 Jan 2024 15:32:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D5071C2A3; Tue, 16 Jan 2024 15:32:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LaWfGwwX" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 898D61CA84 for ; Tue, 16 Jan 2024 15:31:58 +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-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-555e07761acso12053549a12.0 for ; Tue, 16 Jan 2024 07:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705419117; x=1706023917; 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=RRqh4IdEntOv7DoUtgbTz4JUfgL7oZgBjoCKT5NDl1E=; b=LaWfGwwXpfBW6trIxvjEzmo5yXbop5/RY/oYvJb52Qc0/65dMzrlR/FXaLV3aF0WOw Zc0eLp+CEtcKQ9+ph9Div4KSv21K/jvb2ZIn0/E4LrjTFq/2eIIx8WmVa21kIlGrvADw SwpFQUkS+aqQGzXgKGQiftcsl/dSzJnuxEaMMWXTTHbO9RDIInbkTgGL/hlYCMWJVNYS WHX7wvPW/5KEjYzc66r6xijpE4QtBcp3xV8NzUwmTbj2SvuVmFMHHiUpT2zBdMPQd1yb F7ILpdg4Pf9oeyiS0ZCN0NMkJ0zq50HnM8VM+khlKGOivcwFpOFjUqVOKFgyDt7wnNz6 Pkpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705419117; x=1706023917; 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=RRqh4IdEntOv7DoUtgbTz4JUfgL7oZgBjoCKT5NDl1E=; b=f3cs5AS7TOFgNh9UFWGtki4PEbtuFzjXfC3FYNcbNXHTLloD3o1kzw9gg4ekpIe7dF MrqQvVYW3CoBA8J9afBvWzn7KCWffb4R3mDPlq8yfNk+riHv6BNIy8Au18uWxzB/U5l6 JtKEsJ2qfg+Yjl+XQ5Yaq0UZm87vOnaM3nSR/dJBw9Xdx7DvariY9b8UOrazgmcPzyXW /2YfWNCdR1XfG93wHQV0f6+XiCK3nr+bZlZgPBjJwflbBSXiB8i7zJwUflrd4CFZfWEK ykCgzG0NoSo3OjIr7MzfFJN7pSj0NpfCVnHSK/V1LEqHFuWPVL6Wx/vlRW1SXuZylE2k wAhg== X-Gm-Message-State: AOJu0YyHTbqtesNujVVVG+ruQIb8L0YocmvRGjEu4sORW+JpFwfjfb+h mfwcHBThzInW0kwvPlKffXz2IJHw8sWPmA== X-Received: by 2002:a17:906:615:b0:a2c:8872:60d4 with SMTP id s21-20020a170906061500b00a2c887260d4mr2582801ejb.22.1705419116767; Tue, 16 Jan 2024 07:31:56 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id qo11-20020a170907874b00b00a2ce46a27besm5078908ejc.190.2024.01.16.07.31.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Jan 2024 07:31:56 -0800 (PST) Message-ID: <4eab426b-f654-4e10-9ffa-5b34016565fb@linaro.org> Date: Tue, 16 Jan 2024 16:31:55 +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 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 Content-Language: en-US To: Petar Stoykov , linux-iio@vger.kernel.org Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Andy Shevchenko , Angel Iglesias , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: 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+wsGUBBM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9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16/01/2024 16:24, Petar Stoykov wrote: > Sensirion SDP500 is a digital differential pressure sensor. It provides > a digital I2C output. Add devicetree bindings requiring the compatible > string and I2C slave address (reg). > > Signed-off-by: Petar Stoykov > --- > .../bindings/iio/pressure/sdp500.yaml | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/pressure/sdp500.yaml Filename like compatible. > > diff --git a/Documentation/devicetree/bindings/iio/pressure/sdp500.yaml > b/Documentation/devicetree/bindings/iio/pressure/sdp500.yaml > new file mode 100644 > index 000000000000..af01ec7e3802 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/pressure/sdp500.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/pressure/sdp500.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: sdp500/sdp510 pressure sensor with I2C bus interface > + > +maintainers: > + - Petar Stoykov > + > +description: | Do not need '|' unless you need to preserve formatting. > + Pressure sensor from Sensirion with I2C bus interface. > + There is no software difference between sdp500 and sdp510. > + > +properties: > + compatible: > + const: sensirion,sdp500 > + No resources? No interrupts? No power supply or any pins? No even iio-cells? This looks incomplete. > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + i2c3 { i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + sdp500@40 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation Best regards, Krzysztof