From: Eddie James <eajames@linux.ibm.com>
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 v3 2/4] dt-bindings: iio: Add Infineon DPS310 sensor documentation
Date: Wed, 6 Aug 2025 13:47:09 -0500 [thread overview]
Message-ID: <20250806184711.1882725-3-eajames@linux.ibm.com> (raw)
In-Reply-To: <20250806184711.1882725-1-eajames@linux.ibm.com>
The DPS310 is a barometric pressure and temperature sensor with
an I2C interface. Remove it from trivial-devices.yaml and add it's
own documentation.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
.../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 000000000000..3c2d807e4939
--- /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 <eajames@linux.ibm.com>
+
+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 f3dd18681aa6..3f2c5b815d0d 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 4912b8a83bbb..756d988933d3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11996,6 +11996,7 @@ INFINEON DPS310 Driver
M: Eddie James <eajames@linux.ibm.com>
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.50.1
next prev parent reply other threads:[~2025-08-06 18:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-06 18:47 [PATCH v3 0/4] ARM: dts: aspeed: Add Balcones system Eddie James
2025-08-06 18:47 ` [PATCH v3 1/4] dt-bindings: arm: aspeed: add IBM Balcones board Eddie James
2025-08-06 18:47 ` Eddie James [this message]
2025-08-06 22:07 ` [PATCH v3 2/4] dt-bindings: iio: Add Infineon DPS310 sensor documentation Rob Herring
2025-08-06 18:47 ` [PATCH v3 3/4] dt-bindings: trivial-devices: Document max31785 sensors Eddie James
2025-08-06 22:04 ` Rob Herring
2025-08-06 22:59 ` Rob Herring
2025-08-07 14:10 ` Eddie James
2025-08-06 18:47 ` [PATCH v3 4/4] ARM: dts: aspeed: Add Balcones system Eddie James
2025-08-06 22:57 ` [PATCH v3 0/4] " Rob Herring (Arm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250806184711.1882725-3-eajames@linux.ibm.com \
--to=eajames@linux.ibm.com \
--cc=andrew@codeconstruct.com.au \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.