Skip to content

Commit 91dfa23

Browse files
DBS06kartben
authored andcommitted
samples: bme280: adafruit: Add missing conf and power-domains
Add missing conf and power-domains for adafruit_feather_esp32s2 boards for the BME280 sample Signed-off-by: Philipp Steiner <[email protected]>
1 parent 76c0725 commit 91dfa23

6 files changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_POWER_DOMAIN=y
2+
CONFIG_GPIO=y
3+
CONFIG_PM_DEVICE=y
4+
CONFIG_PM_DEVICE_POWER_DOMAIN=y

samples/sensor/bme280/boards/adafruit_feather_esp32s2.overlay

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
bme280: bme280@77 {
33
compatible = "bosch,bme280";
44
reg = <0x77>;
5+
power-domains = <&i2c_reg>;
56
};
67
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_POWER_DOMAIN=y
2+
CONFIG_GPIO=y
3+
CONFIG_PM_DEVICE=y
4+
CONFIG_PM_DEVICE_POWER_DOMAIN=y

samples/sensor/bme280/boards/adafruit_feather_esp32s2_tft.overlay

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
bme280: bme280@77 {
33
compatible = "bosch,bme280";
44
reg = <0x77>;
5+
power-domains = <&i2c_reg>;
56
};
67
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_POWER_DOMAIN=y
2+
CONFIG_GPIO=y
3+
CONFIG_PM_DEVICE=y
4+
CONFIG_PM_DEVICE_POWER_DOMAIN=y

samples/sensor/bme280/boards/adafruit_feather_esp32s2_tft_reverse.overlay

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
bme280: bme280@77 {
33
compatible = "bosch,bme280";
44
reg = <0x77>;
5+
power-domains = <&i2c_reg>;
56
};
67
};

0 commit comments

Comments
 (0)