Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2113588lqa; Tue, 30 Apr 2024 08:28:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+iZ5OXR0UhU83JiGkiX1+XY74c6JOanVvYOIr6g4zAIsHW3y0KHlwNO85dYXy7iwamanaLfRcLmMQwJRkyikd3PR6u9n126rglXChVA== X-Google-Smtp-Source: AGHT+IHCsB2l+srr/RTy4GGt9HaR1oararBW1aqIEQZkJZ1EqzDC7ZyKA6KkYOcg8MKq+9WEKRhG X-Received: by 2002:a17:906:f9d3:b0:a58:8827:6764 with SMTP id lj19-20020a170906f9d300b00a5888276764mr49129ejb.46.1714490925363; Tue, 30 Apr 2024 08:28:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714490925; cv=pass; d=google.com; s=arc-20160816; b=TK8KvEEGb7bD89y5RZFCJ9VC72K4QUOEJMTxtCL0nEi4qWMvUqi3A0M5cyMaPMcQBF HL8UREwkNNUYbc8tlA9skO4O5S7FdtCjq7b+5z5t227CFMRvxZ9THRakc0QJSY1FGJ3Q nQGmcMD0cerQzXL0xRnBgXO88Wy0gjMl1YBb0kkZz+G0Zp14y3RtlhleTIhIRmVdEFOF FVcNo4DLG7APfhhrBol73LjyiT3DjLBBIMb1bnzbrLq0DjBUGUMIQihR4Q26tnIigeeA JJ5cT1D7iOdqeg1AIAYVYDrxJU6H8Zr1JS+/E7l3GC6RZGh/h6yOohgFCoyenXe5PgE8 ARZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=UQYoJna7w7pSNE1L7t4Hc2/L2BmjKZjh0BD0hkD3YNs=; fh=jAlIrKMNZjouPULi36eIrOSoCyh4BgltKrlNhGguS5U=; b=dXlCuuHVxX3mRfHmxhw8txAKUlWNaOutU3UXJVyPerG0FkMPhSrfgDb2C2if1Jw3On Bz7jVSQWJsUBvp297bjzZWBHAHX06D9ZK+cwZY4Sen1cgtYbOHDzuVHYTpuYFXi4/Bf9 zC+CYjSeXGWZUE8tX2OnLWZloVmQ0RP7LVhx32TPmF6C7l/rNl7oI9EwcYi+27JAg+Qv XWC/ua15hlBHmnGB2FXkt+s59/H9haG+g4/FiXUdPbbjRZyAmmEz40VWerTsdvREMwi/ EhTk65Zg4gtwSyak9nCIw05SeGDE3A7GhFABvPxiiNmU9R3lEt1VSoK6SXKnqPc0f7WR Sm7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=N1jjjsTt; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-164263-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164263-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ho43-20020a1709070eab00b00a58f81de102si3294160ejc.466.2024.04.30.08.28.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 08:28:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164263-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=@gmail.com header.s=20230601 header.b=N1jjjsTt; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-164263-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164263-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 1C05D1F22010 for ; Tue, 30 Apr 2024 15:28:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7471517799B; Tue, 30 Apr 2024 15:27:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N1jjjsTt" Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) (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 49D21175554; Tue, 30 Apr 2024 15:27:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490854; cv=none; b=QaAda4VcqZtOVEei2T+7GUouN6XFit2rUGyD86M9JycujOVyiKiCsylXKVXKXMFKmZjcKCiZGrOOZ43EtkgQa3y9DLgEsSfEIeb+I0ZUBpZUuW8NocfTpDcPYMy1yHqyO0xK45UeQ5w+Xc5GTtjFcagqUAqtwJ93OdlSwJkwrP8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490854; c=relaxed/simple; bh=GLPkDYuhGT29VLhMic9dO8Y0lzclOq4is89TUFXMZDE=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=uXV8izyUdbbLMiHsUxxDTl1IykG9uAWG1tmvn1I5ZFpCUsabtRiV6ZPV73GiIXow/PRvlumvg/TIgIUOwuDAb1flq7TQzjSRtOxvcdCiPnFFTB1bBcUsRFP2wiO2Pdbw89/rT6odlJeK4iBOvgyUnjWZdtnTjnlZdQwJTTBCgFU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=N1jjjsTt; arc=none smtp.client-ip=209.85.166.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-io1-f66.google.com with SMTP id ca18e2360f4ac-7deb424da41so182930239f.1; Tue, 30 Apr 2024 08:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714490852; x=1715095652; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=UQYoJna7w7pSNE1L7t4Hc2/L2BmjKZjh0BD0hkD3YNs=; b=N1jjjsTtnjz1+RfnC1IG7PFRLfE4ZtQXgC+q46T2Bm4T6rFyRCss1mm3TAa4KFcG/m UIE41eCZhymxeAX/gBBkV+3609nQEfWcHQYPRzGEDEeCFUO9/iPv44W2GJy0i7t4d8n4 Q4ha2sWmtyejdElw5j5cyuTFWcChUMjEQUzaZdV2A75QoemuDuh619Bd/y1kdPAAz9/Q Y1dcg5a1ReqTpcQaOeCSS+Am5RxsG//3Cvi8CA/srr6YJjpXBGaHjpcCZHxlVfdwA08a qH1Q7ZBt3DX/uKqQPL6p8hAW+gLcvZ3g6ItFuNua0ckNe8uvwyTt+VUONAXhgCCczI9F mTeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714490852; x=1715095652; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UQYoJna7w7pSNE1L7t4Hc2/L2BmjKZjh0BD0hkD3YNs=; b=Bzzhjo794opoBNQ1snmf0A+x1Ubp7MwTSWES0sK6G3vsU9J31GDsL96gRsuDJTd9Ei tt2weHYV6xkKo7a8wDLYanBbmVrPi2hihE6tZm0MsiA5Qd52fALwVGYD2SCiwMLhmM7o nPXsfH9YTcdFhc+fT1VX93FoFo6w4tNiVMTxagpbvSTQUS4Lv3WC5T2YSKgWP2co+Bka PG64du/Ta8jwCxO5v3Mva4nRcGlbHx8SoXrIFzE1p4Mxz6vfBVAeRacWoCgyydj0SwK5 DiDnIk23CjgQXk/RSRT9S/d6lJshvop0xH2pqpgDn9E8tckRTcrV/M6rMQijYlIZCw+h RNpQ== X-Forwarded-Encrypted: i=1; AJvYcCWJbpi/SqhQ7XuT30cSx8cRtCDABZLKh2qXn8O5KXdbaaOmWov5cdkLIb0WiodhsS6ROAID9wYTf/58ktlmNiolLoyBpTUcrFdjmK9bE1Pm2qS4cSZS+6dxQ6CsEVDQjD4S4ouJG+alvw== X-Gm-Message-State: AOJu0YzAEfg/RIKCURuMxOq0NGdz4OnegsklDOD38qQT+YZsuro1NMtV DQO7UUlk2pjdkuhX7y7Qke/+K/OyHlb8zcsdId9SOD9/LTfSDU7D6+mTGtKQDOBRcbJX5gkYGz6 h2ztOFzk92HUdgczoeqDBioF83gHfhvqLjvo= X-Received: by 2002:a05:6602:2589:b0:7de:d032:1fee with SMTP id p9-20020a056602258900b007ded0321feemr175169ioo.8.1714490852250; Tue, 30 Apr 2024 08:27:32 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Petar Stoykov Date: Tue, 30 Apr 2024 17:27:20 +0200 Message-ID: Subject: [PATCH v2 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Krzysztof Kozlowski , Lars-Peter Clausen , Rob Herring , Andy Shevchenko , Angel Iglesias , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" From 60f5cc7f65b07124f19428a713c3bc33b9e4a7a7 Mon Sep 17 00:00:00 2001 From: Petar Stoykov Date: Mon, 15 Jan 2024 14:29:25 +0100 Subject: [PATCH 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 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 --- .../iio/pressure/sensirion,sdp500.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml diff --git a/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml b/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml new file mode 100644 index 000000000000..3cdf17df7d52 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml @@ -0,0 +1,39 @@ +# 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: | + Pressure sensor from Sensirion with I2C bus interface. + There is no software difference between sdp500 and sdp510. + +properties: + compatible: + const: sensirion,sdp500 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + pressure@40 { + compatible = "sensirion,sdp500"; + reg = <0x40>; + vdd-supply = <&foo>; + }; + }; -- 2.30.2