Skip to content

Commit ad4ed55

Browse files
rbuisson-invnkartben
authored andcommitted
dts: bindings: sensor: Add invensense icp101xx properties
Replace icp10125. tests: sensor: rename icp10125 to icp101xx Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
1 parent a4d8631 commit ad4ed55

File tree

3 files changed

+22
-33
lines changed

3 files changed

+22
-33
lines changed

dts/bindings/sensor/invensense,icp10125.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (c) 2024 TDK Invensense
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: ICP101xx High Accuracy, Low Power, Barometric Pressure and Temperature Sensors IC
5+
6+
compatible: "invensense,icp101xx"
7+
8+
include: [sensor-device.yaml, i2c-device.yaml]
9+
10+
properties:
11+
mode:
12+
type: string
13+
default: "normal"
14+
description: Mode of pressure and temperature measurement
15+
enum:
16+
- "low-power"
17+
- "normal"
18+
- "low-noise"
19+
- "ultra-low-noise"

tests/drivers/build_all/sensor/i2c.dtsi

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -629,11 +629,10 @@ test_i2c_max31875: max31875@5b {
629629
reg = <0x5b>;
630630
};
631631

632-
test_i2c_icp10125: icp10125@5c {
633-
compatible = "invensense,icp10125";
632+
test_i2c_icp101xx: icp101xx@5c {
633+
compatible = "invensense,icp101xx";
634634
reg = <0x5c>;
635-
temperature-measurement-mode = "normal";
636-
pressure-measurement-mode = "normal";
635+
mode = "normal";
637636
};
638637

639638
test_i2c_as5600: as5600@5d {

0 commit comments

Comments
 (0)