Skip to contentSkip to conversation

dt-bindings: iio: pressure: invensense,icp101xx: add binding

PATCH Superseded Rodrigo Gobbi 4 participants 4 messages Jun 26, 2025 – Jun 30, 2025

Subsystems (2)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: iio: pressure: invensense,icp101xx: add binding

There is no txt file for it, add yaml for invensense,icp101xx family which is already used in the driver.

---
Very simple yaml for a i2c device with psu. The pin out for the rest of the family (the other PNs) doesn`t change anything here, since the diff were RESV pins (unused).

This yaml file falls in the same category as others that Ive submitted, the driver author, which might be still interested at this hardware, is no long contributing (at least for what Ive looked). Also, its email is still "at invensense", not "at tdk", either way Ill ping him here due the mention at the "maintainers" field:

Dear @Jean-Baptiste Maneyrol, I`ve noticed that since the driver was added, there was no binding doc for it and this is what this patch is addressing. In this case, a maintainer ref is required inside the .yaml file and I would like to ask if I can add you in this case.
I would appreciate your comment or suggestion over this topic.

Tks all and regards.

---
 .../iio/pressure/invensense,icp101xx.yaml     | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +45 -0
new file mode 100644
index 000000000000..439f8aaafbd2
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/pressure/invensense,icp101xx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: InvenSense ICP-101xx Barometric Pressure Sensors
+
+maintainers:
+  - Jean-Baptiste Maneyrol <[email protected]>
+
+description: |
+  Support for ICP-101xx family: ICP-10100, ICP-10101, ICP-10110, ICP-10111.
+  Those devices uses a simple I2C communication bus, measuring the pressure
+  in a ultra-low noise at the lowest power.
+  Datasheet: https://product.tdk.com/system/files/dam/doc/product/sensor/pressure/capacitive-pressure/data_sheet/ds-000186-icp-101xx.pdf
+
+properties:
+  compatible:
+    const: invensense,icp10100
+
+  reg:
+    maxItems: 1
+
+  vdd-supply: true
+
+required:
+  - compatible
+  - reg
+  - vdd-supply
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        pressure@63 {
+            compatible = "invensense,icp10100";
+            reg = <0x63>;
+            vdd-supply = <&vdd_1v8>;
+        };
+    };
+...
Signature · 1 line
2.49.0
#1 lore raw
Quoted 8 lines · Rodrigo Gobbi

There is no txt file for it, add yaml for invensense,icp101xx family which is already used in the driver.

---
Very simple yaml for a i2c device with psu. The pin out for the rest of the family (the other PNs) doesn`t change anything here, since the diff were RESV pins (unused).

Filename matching compatible, please.

<form letter>
Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.

Tools like b4 or scripts/get_maintainer.pl provide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline) or work on fork of kernel (don't, instead use mainline). Just use b4 and everything should be fine, although remember about b4 prep --auto-to-cc if you added new patches to the patchset.

You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time.

Please kindly resend and include all necessary To/Cc entries. </form letter>

Best regards,
Krzysztof

maintainer
#2 lore raw
In reply to Rodrigo Gobbi
Quoted 2 lines · On Thu, 26 Jun 2025 18:12:25 -0300 Rodrigo Gobbi <[email protected]>…

There is no txt file for it, add yaml for invensense,icp101xx family which is already used in the driver.

Don't mention binding in patch title. The dt-bindings prefix makes that obvious.

Quoted 11 lines

---
Very simple yaml for a i2c device with psu. The pin out for the rest of the family (the other PNs) doesn`t change anything here, since the diff were RESV pins (unused).

This yaml file falls in the same category as others that Ive submitted, the driver author, which might be still interested at this hardware, is no long contributing (at least for what Ive looked). Also, its email is still "at invensense", not "at tdk", either way Ill ping him here due the mention at the "maintainers" field:

Try a search for their name in recent mails to the list. +CC Jean-Baptiste at new TDK address. People don't always remember to send a mailmap update when their company email changes, particularly if it is due to an acquisition.

Jean-Baptiste has been active in the last week so not hard to find!

Quoted 19 lines

Dear @Jean-Baptiste Maneyrol, I`ve noticed that since the driver was added, there was no binding doc for it and this is what this patch is addressing. In this case, a maintainer ref is required inside the .yaml file and I would like to ask if I can add you in this case.
I would appreciate your comment or suggestion over this topic.

Tks all and regards.

---
 .../iio/pressure/invensense,icp101xx.yaml     | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +0 -0
new file mode 100644
index 000000000000..439f8aaafbd2

Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml line 4

Quoted 4 lines
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +4 -0
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/pressure/invensense,icp101xx.yaml#

No wild cards in file names please. Just pick a device to name the binding after. Wild cards have an annoying habit of getting messed up by companies releasing completely non compatible parts in the middle of what we thought was a reserved number range.

Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml line 10

Quoted 6 lines
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +6 -0
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: InvenSense ICP-101xx Barometric Pressure Sensors
+
+maintainers:
+  - Jean-Baptiste Maneyrol <[email protected]>

I'd assume switch to the TDK address +CC but I'll need an Ack or RB from Jean-Baptiste.

Quoted 35 lines
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +35 -0
+
+description: |
+  Support for ICP-101xx family: ICP-10100, ICP-10101, ICP-10110, ICP-10111.
+  Those devices uses a simple I2C communication bus, measuring the pressure
+  in a ultra-low noise at the lowest power.
+  Datasheet: https://product.tdk.com/system/files/dam/doc/product/sensor/pressure/capacitive-pressure/data_sheet/ds-000186-icp-101xx.pdf
+
+properties:
+  compatible:
+    const: invensense,icp10100
+
+  reg:
+    maxItems: 1
+
+  vdd-supply: true
+
+required:
+  - compatible
+  - reg
+  - vdd-supply
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        pressure@63 {
+            compatible = "invensense,icp10100";
+            reg = <0x63>;
+            vdd-supply = <&vdd_1v8>;
+        };
+    };
+...
#3 lore raw
Quoted 31 lines

________________________________________
From: Jonathan Cameron <[email protected]>
Sent: Saturday, June 28, 2025 17:20
To: Rodrigo Gobbi <[email protected]>
Cc: [email protected] <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; Jean-Baptiste Maneyrol <[email protected]>; ~lkcamp/[email protected] <~lkcamp/[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]>; Jean-Baptiste Maneyrol <[email protected]> Subject: Re: [PATCH] dt-bindings: iio: pressure: invensense,icp101xx: add binding

This Message Is From an External Sender
This message came from outside your organization.

Quoted 2 lines · On Thu, 26 Jun 2025 18:12:25 -0300 Rodrigo Gobbi <[email protected]>…

There is no txt file for it, add yaml for invensense,icp101xx family which is already used in the driver.

Don't mention binding in patch title. The dt-bindings prefix makes that obvious.

Quoted 11 lines

---
Very simple yaml for a i2c device with psu. The pin out for the rest of the family (the other PNs) doesn`t change anything here, since the diff were RESV pins (unused).

This yaml file falls in the same category as others that Ive submitted, the driver author, which might be still interested at this hardware, is no long contributing (at least for what Ive looked). Also, its email is still "at invensense", not "at tdk", either way Ill ping him here due the mention at the "maintainers" field:

Quoted 12 lines

Try a search for their name in recent mails to the list. +CC Jean-Baptiste at new TDK address. People don't always remember to send a mailmap update when their company email changes, particularly if it is due to an acquisition.

Jean-Baptiste has been active in the last week so not hard to find!

Quoted 6 lines

Dear @Jean-Baptiste Maneyrol, I`ve noticed that since the driver was added, there was no binding doc for it and this is what this patch is addressing. In this case, a maintainer ref is required inside the .yaml file and I would like to ask if I can add you in this case.
I would appreciate your comment or suggestion over this topic.

Hello Rodrigo and Jonathan,

no problem for me to be mentioned as the maintainer of the driver. You just need to update the email address to @tdk.com domain.

There are some fixes to do already mentioned, but after that it is OK. Here is my tag.

Thanks,
JB

Quoted 69 lines
Quoted 13 lines

Tks all and regards.

---
 .../iio/pressure/invensense,icp101xx.yaml     | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +0 -0
new file mode 100644
index 000000000000..439f8aaafbd2

Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml line 4

Quoted 4 lines
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +4 -0
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: https://urldefense.com/v3/__http://devicetree.org/schemas/iio/pressure/invensense,icp101xx.yaml*__;Iw!!FtrhtPsWDhZ6tw!CIWSeuXxYychGWeOLDrarNL-Mq6ijPY4NMQPXCqHfpuylsLnNydInuuT_Ghx9UM5ctT9icN-kmVRn-okGdyO6ng$[devicetree[.]org]

No wild cards in file names please. Just pick a device to name the binding after. Wild cards have an annoying habit of getting messed up by companies releasing completely non compatible parts in the middle of what we thought was a reserved number range.

Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml line 10

Quoted 6 lines
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +6 -0
+$schema: https://urldefense.com/v3/__http://devicetree.org/meta-schemas/core.yaml*__;Iw!!FtrhtPsWDhZ6tw!CIWSeuXxYychGWeOLDrarNL-Mq6ijPY4NMQPXCqHfpuylsLnNydInuuT_Ghx9UM5ctT9icN-kmVRn-okFzKV_so$[devicetree[.]org]
+
+title: InvenSense ICP-101xx Barometric Pressure Sensors
+
+maintainers:
+  - Jean-Baptiste Maneyrol <[email protected]>

I'd assume switch to the TDK address +CC but I'll need an Ack or RB from Jean-Baptiste.

Quoted 35 lines
Documentation/devicetree/bindings/iio/pressure/invensense,icp101xx.yaml new file +35 -0
+
+description: |
+  Support for ICP-101xx family: ICP-10100, ICP-10101, ICP-10110, ICP-10111.
+  Those devices uses a simple I2C communication bus, measuring the pressure
+  in a ultra-low noise at the lowest power.
+  Datasheet: https://product.tdk.com/system/files/dam/doc/product/sensor/pressure/capacitive-pressure/data_sheet/ds-000186-icp-101xx.pdf 
+
+properties:
+  compatible:
+    const: invensense,icp10100
+
+  reg:
+    maxItems: 1
+
+  vdd-supply: true
+
+required:
+  - compatible
+  - reg
+  - vdd-supply
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        pressure@63 {
+            compatible = "invensense,icp10100";
+            reg = <0x63>;
+            vdd-supply = <&vdd_1v8>;
+        };
+    };
+...