Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp514944rdb; Tue, 16 Jan 2024 07:24:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwaNnrF3cYCPQKBAQQ8D3loLJWh2w7EVDKf3DYmf/23stz08e94+OGw+lkFP4P4DvvCn8X X-Received: by 2002:a05:6a00:3c87:b0:6d9:bf35:768f with SMTP id lm7-20020a056a003c8700b006d9bf35768fmr9857383pfb.46.1705418685851; Tue, 16 Jan 2024 07:24:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705418685; cv=none; d=google.com; s=arc-20160816; b=YqMoLQnzWjBAlIL5mUPJYSuIosJeOwpAZlsUXlU+Cy7aqdUA/UFLSKultwi6alChb0 wzNBm7knaC39SYiwLZR9YM9A5iD3mCjkF6M8xy9G8KJPr4SZP87/ev0Q6TWxMzO0K/us QzdxpoJ4i7Ayv+mpWFnDCIVe62cc991VZ8BdL2qPs3+EBAl6/lHdDsB98UbTJdFxuag2 Mkqc2kHVUvmsV5/SMFr3JhgykXOHXNLOt64OCksBU6Bnj/1LHl75zrFUxumJzSmfwDFs Lut7MK4G0P0N7fzX3IOdApoioZtWywhUt/3I22NH4FGfKuZcYsHbtqor90nQ/Ls+TC4t 0NxQ== ARC-Message-Signature: i=1; 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=tjjU8IDrB3XaEWVqZQ0UDUmOq+AsoSGQAKLBwBxw4Rg=; fh=v89BBvtVLmvnsIsPEMTcrCcJrRAdszDcncaRMr6RPjo=; b=F6Vp7BfVi1Ui0QIA4t21R7qFWa30VAQuHgE34coBUNsLXTYEw6Dj0hhyAPLbaWG7Z3 zd0To8BlcRLT3UfAYl8URCq3QoyrcDeeEdlQ+J045nzLaNtEFqZsNb3xKeYzjAw2BEBr e1wmGFHo03VyVCTNyTq2tYkiKVwH5yiJN85fYeJjO/++W4ceadZ0Xm4om/CQRzvARLcm 5ugzG9pndiWPmrN8V2BNu5Lqvwci2bUhDf2PZdQub5Gnm89qA8p4yZXR26ZEBrZhnKjT i7F+VE17e69KWhRivFfUoCJz8AabfNYbMQtmIPL1dErVZJeYL3C6z2DFwPeCNHQmLEDn D/8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ELpBQhVl; spf=pass (google.com: domain of linux-kernel+bounces-27514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i185-20020a62c1c2000000b006dafc2e8b56si10639922pfg.361.2024.01.16.07.24.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 07:24:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27514-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=@gmail.com header.s=20230601 header.b=ELpBQhVl; spf=pass (google.com: domain of linux-kernel+bounces-27514-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27514-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8151A285F33 for ; Tue, 16 Jan 2024 15:24:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 031501C291; Tue, 16 Jan 2024 15:24:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ELpBQhVl" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 D0E551BF52; Tue, 16 Jan 2024 15:24:34 +0000 (UTC) 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-lj1-f175.google.com with SMTP id 38308e7fff4ca-2ccec119587so123326971fa.0; Tue, 16 Jan 2024 07:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705418673; x=1706023473; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=tjjU8IDrB3XaEWVqZQ0UDUmOq+AsoSGQAKLBwBxw4Rg=; b=ELpBQhVlYXsc7j4Cxn0vDrqSYWT+k481jQYT9YEvfrT7eO0iiRaQEOQDq2vEUlIhIz yqS0r5oEVfL16B1aiwUP7+djtbWdp5yPjP8wwI8XGIOEnWQ55nrEWdE0ZYlrAo3bydut L2Xp9qKFfJshIj8cd7pXm6JUJ1fyuXSigQ8ve/qol7p3BO12oHaEKtC2YRPObpcfAls7 ZFAnBnVedt/TbeXCWLvNQ1dBQ1DWCkH14yp2yebEYmP6p/Z6YedAG/T7B3azFHyZS5Sg R4VETZNdO7eBb1roFINISfEtpbGUde6wWbAue0JkSZ2wFm3ajubc87fTrKsrcOm5EigK x4NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705418673; x=1706023473; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tjjU8IDrB3XaEWVqZQ0UDUmOq+AsoSGQAKLBwBxw4Rg=; b=itAVD8T7yszuVZOWYvtV1U16gMxibfsX5QOvHthjMBOhUjN5CZh8EBZD+IdAYSoiOM mXtjkra2eDeh38uClBC+ty5RZvnj6Mpvi9j9ilO/yrTKDFqI5eqSkxL0HKxYaA1pOn30 OgofG5QtWCF5HBu6TOJV+BquXAx9qNOYM1pjpnuzWBxjemlefGRbigCs5ZAdsFdAX2Oj fOEcm4DmAXT216grkocgbyfdC/wQQFpwENdfRpUEG2JWw6fOVFpthZpQuWtct5FIun2S gh/k4tV65NLw5UN4N9YODvzlh55P/RmY9vaAapkRpHreTDl4oDn/sKPVShpLG/JYx0NH 9yHA== X-Gm-Message-State: AOJu0YxIKxeK6ogczMuMgfS7Q258zJjQrCe3E69z4m19gj2vAREzDvPa /J+JGXq136a5bolgkZQaYECd4tgQtlt2CZXbz4wJxG+a46s= X-Received: by 2002:a2e:a105:0:b0:2cd:9f51:ac23 with SMTP id s5-20020a2ea105000000b002cd9f51ac23mr3952853ljl.4.1705418672705; Tue, 16 Jan 2024 07:24:32 -0800 (PST) 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, 16 Jan 2024 16:24:21 +0100 Message-ID: Subject: [PATCH 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 To: 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 Content-Type: text/plain; charset="UTF-8" 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 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: | + 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: + - | + i2c3 { + #address-cells = <1>; + #size-cells = <0>; + sdp500@40 { + compatible = "sensirion,sdp500"; + reg = <0x40>; + }; + }; -- 2.30.2