Skip to content

Commit

Permalink
dts: bindings: sensor: Add invensense icp101xx properties
Browse files Browse the repository at this point in the history
Replace icp10125.
tests: sensor: rename icp10125 to icp101xx

Signed-off-by: Remi Buisson <[email protected]>
  • Loading branch information
rbuisson-invn committed Jan 16, 2025
1 parent 63c13be commit f5b52e2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 33 deletions.
29 changes: 0 additions & 29 deletions dts/bindings/sensor/invensense,icp10125.yaml

This file was deleted.

19 changes: 19 additions & 0 deletions dts/bindings/sensor/invensense,icp101xx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (c) 2024 TDK Invensense
# SPDX-License-Identifier: Apache-2.0

description: ICP101xx High Accuracy, Low Power, Barometric Pressure and Temperature Sensor IC

compatible: "invensense,icp101xx"

include: [sensor-device.yaml, i2c-device.yaml]

properties:
mode:
type: string
default: "normal"
description: Mode of pressure and temperature measurement
enum:
- "low-power"
- "normal"
- "low-noise"
- "ultra-low-noise"
7 changes: 3 additions & 4 deletions tests/drivers/build_all/sensor/i2c.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -628,11 +628,10 @@ test_i2c_max31875: max31875@5b {
reg = <0x5b>;
};

test_i2c_icp10125: icp10125@5c {
compatible = "invensense,icp10125";
test_i2c_icp101xx: icp101xx@5c {
compatible = "invensense,icp101xx";
reg = <0x5c>;
temperature-measurement-mode = "normal";
pressure-measurement-mode = "normal";
mode = "normal";
};

test_i2c_as5600: as5600@5d {
Expand Down

0 comments on commit f5b52e2

Please sign in to comment.