Skip to content

Commit 80919b0

Browse files
jovicjakovkartben
authored andcommitted
dts: bindings: sensor: add bindings for bmp180
Add bindings for the Bosch BMP180 pressure and temperature sensor. Signed-off-by: Jakov Jović <[email protected]>
1 parent 3292f16 commit 80919b0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (C) 2024 Jakov Jovic <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
include: [sensor-device.yaml, i2c-device.yaml]
5+
6+
description: Bosch BMP180 Digital pressure and temperature sensor
7+
8+
compatible: "bosch,bmp180"
9+
10+
properties:
11+
oversampling:
12+
type: int
13+
required: true
14+
description: |
15+
Hardware pressure sampling accuracy modes. Available modes:
16+
- 0: BMP180_MODE_ULTRA_LOW_POWER (1 sample, 4.5 ms)
17+
- 1: BMP180_MODE_STANDARD (2 samples, 7.5 ms)
18+
- 2: BMP180_MODE_HIGH_RESOLUTION (4 samples, 13.5 ms)
19+
- 3: BMP180_MODE_ULTRA_HIGH_RESOLUTION (8 samples, 25.5 ms)
20+
enum: [0, 1, 2, 3]

0 commit comments

Comments
 (0)