From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D5FDCAC5AA for ; Mon, 22 Sep 2025 17:58:24 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4cVrSY5GMjz304l; Tue, 23 Sep 2025 03:58:21 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1758563901; cv=none; b=GMijC0nIdLEjtj4lccLkCduAVL9QXX79+kCL7QtHwxpNdqy89fV9zMCh0Ye2ik+ULWW0z7IxxBDuPgxR7HxQZDgJmQwPrdIS0Y1ySAnCM7K2Ja6tvqgHnuu7MZQ/M9T1r37QnYIMPlfEwP4Y0ft6cv00CqwYpklg2CYgo9ndqUeVPUFUqQHWI/yxwfWmYMojherPMVvQOb0RfxSe0C+e3mqiuDqQ36+DB1e1nmupfiCREKGkKEGCrSgDoVaO4EcvsrEOkhT6fl4EzjwmLijd+Xs/TW80AdxsgVhAIrn5FIWXs9nQUxqzxp3tw2JNtsxOezMU7ASlyN07S+RRqM4ngQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1758563901; c=relaxed/relaxed; bh=cKED4uPJ+TKBOyEa5CsEPNGDx3w/XuHzMmE8+Sv4n+8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=R4e/fRUHYwoCBEqLVMeEIDJcVVr2Td724GnXVP7BQUuYH4XKTdUbgZUc2wRqoMQIUaUz/B/WIKzm/m7xWYFDeyiTqDI1ObWCgHXoh9dbjCK7kM3FRcHX6fey7OTOhjqM/4NfLVurLGk1K8DtR2ib9vcmCfqZ+Y5tRxeVStK6YiLR4uX+fvG+GiQNTStQB4VsObe5/f3fJhNBshs8G6swnKYALL3RuXqM6nfMOAY2J2ucVKs3Nk4225w4VBw5EwNSISBUBPIFt0U8usAFYGh5F0h6y0G7LJ43JZXYzvpKE73PVUzLfn0QCMSMLr/o5rijfKUnIEtjOD/U2O4sE2mmsA== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=Z5tbvbAT; dkim-atps=neutral; spf=pass (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=eajames@linux.ibm.com; receiver=lists.ozlabs.org) smtp.mailfrom=linux.ibm.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=Z5tbvbAT; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=eajames@linux.ibm.com; receiver=lists.ozlabs.org) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4cVrSX5NVJz2yr1 for ; Tue, 23 Sep 2025 03:58:20 +1000 (AEST) Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 58MBB0VA008695; Mon, 22 Sep 2025 17:58:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=cKED4uPJ+TKBOyEa5 CsEPNGDx3w/XuHzMmE8+Sv4n+8=; b=Z5tbvbATKhr3gplBTL9/9+rGns53Te6e3 v2q394uRaUgZ1xsb9Joh8MbAP0GM5ONbvAG2cpQy409oeScB/x2q07bM6g+SKeE4 P85sziYs3+SaY3eqdt8KlyuNHnlBPpLTLZE8LRtC111g+XB3SnmYfCJVclNRd1+Z MzsC0pg4pPf2A5m+paHnGxUADWIDS2CgMoHOirL3QiCCaNsyV+VK2mUwyKXtsWJJ kbpQlaNq4M/mhvvchdySPPNM2wKOC+Py9wpPr+VZTejRorJqgrp+BoFho9kkjKWh iaLJLxuKI10LhRDBZ1P8M7ouysDiDx9fhZE4mw29BRV0/Vp1cZsvA== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 499n0jcbha-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Sep 2025 17:58:14 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 58MGJ3PG031139; Mon, 22 Sep 2025 17:58:13 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([172.16.1.69]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 49b9vd0csy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Sep 2025 17:58:13 +0000 Received: from smtpav02.wdc07v.mail.ibm.com (smtpav02.wdc07v.mail.ibm.com [10.39.53.229]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 58MHwCOv31392404 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Sep 2025 17:58:12 GMT Received: from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC7045805B; Mon, 22 Sep 2025 17:58:12 +0000 (GMT) Received: from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5304358058; Mon, 22 Sep 2025 17:58:12 +0000 (GMT) Received: from slate16 (unknown [9.61.160.40]) by smtpav02.wdc07v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 Sep 2025 17:58:12 +0000 (GMT) From: Eddie James To: linux-aspeed@lists.ozlabs.org Cc: devicetree@vger.kernel.org, andrew@codeconstruct.com.au, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, eajames@linux.ibm.com Subject: [PATCH v7 3/7] dt-bindings: iio: Add Infineon DPS310 sensor documentation Date: Mon, 22 Sep 2025 12:58:00 -0500 Message-ID: <20250922175804.31679-4-eajames@linux.ibm.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250922175804.31679-1-eajames@linux.ibm.com> References: <20250922175804.31679-1-eajames@linux.ibm.com> X-Mailing-List: linux-aspeed@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTIwMDAzMyBTYWx0ZWRfX/I76OVD9E+/c a1jr9fyysoQDq1r5wxAF/+Hcau39rdz2O2iGJBgIPvka2eoeQWI37wCoH3Y3Fy3XGsM67Pj2on8 f/Q5jiiy27e43vcvMSZ4fMzp5xiFb4WWGKMfp/kMEDR+G6jj1jOa2sk+NaIV33spMYMQWMAJfqK g56Uy7fhO0jcqNqdg4UBzjj2zHzVfkGZdbYyQVhH9pNCsdEDX82OOC5O/bx+MClhbnX9ifMqdH/ XS9YwQEc+DVVTsHko10Agn8ttf0KgDyCO85iOB868yMVuklXBXsLHXav0zJB6Jv5z03rvO+Urwj Sbtcp60Lv7q/U6+FcZ9kRthfJSufGlwDjFUDf9zWkd0jaGQ2/miDSLCpKgVz682iopDZNlNe9J0 OcDMGcb7 X-Authority-Analysis: v=2.4 cv=TOlFS0la c=1 sm=1 tr=0 ts=68d18e36 cx=c_pps a=bLidbwmWQ0KltjZqbj+ezA==:117 a=bLidbwmWQ0KltjZqbj+ezA==:17 a=yJojWOMRYYMA:10 a=gEfo2CItAAAA:8 a=VnNF1IyMAAAA:8 a=VwQbUJbxAAAA:8 a=nPmG1HaLeDTRtUTItIQA:9 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-ORIG-GUID: fnUB-MU7cgX5fcpVUSqZh3qLmyBaTVVH X-Proofpoint-GUID: fnUB-MU7cgX5fcpVUSqZh3qLmyBaTVVH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-22_01,2025-09-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 phishscore=0 impostorscore=0 adultscore=0 suspectscore=0 spamscore=0 bulkscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2507300000 definitions=main-2509200033 The DPS310 is a barometric pressure and temperature sensor with an I2C interface. Remove it from trivial-devices.yaml and add its own documentation. Signed-off-by: Eddie James Reviewed-by: Rob Herring (Arm) --- .../iio/pressure/infineon,dps310.yaml | 44 +++++++++++++++++++ .../devicetree/bindings/trivial-devices.yaml | 2 - MAINTAINERS | 1 + 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml diff --git a/Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml b/Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml new file mode 100644 index 0000000000000..7c0782e2a821b --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/pressure/infineon,dps310.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Infineon DPS310 barometric pressure and temperature sensor + +maintainers: + - Eddie James + +description: + The DPS310 is a barometric pressure and temperature sensor with an I2C + interface. + +properties: + compatible: + enum: + - infineon,dps310 + + reg: + maxItems: 1 + + "#io-channel-cells": + const: 0 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pressure-sensor@76 { + compatible = "infineon,dps310"; + reg = <0x76>; + #io-channel-cells = <0>; + }; + }; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 7609acaa752d5..a72b7fabc7034 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -127,8 +127,6 @@ properties: - ibm,cffps2 # IBM On-Chip Controller hwmon device - ibm,p8-occ-hwmon - # Infineon barometric pressure and temperature sensor - - infineon,dps310 # Infineon IR36021 digital POL buck controller - infineon,ir36021 # Infineon IRPS5401 Voltage Regulator (PMIC) diff --git a/MAINTAINERS b/MAINTAINERS index 0c8281ea4cc64..92b9854a0e07d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12191,6 +12191,7 @@ INFINEON DPS310 Driver M: Eddie James L: linux-iio@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/iio/pressure/infineon,dps310.yaml F: drivers/iio/pressure/dps310.c INFINEON PEB2466 ASoC CODEC -- 2.51.0