tests: drivers: Unify labels of sensors

Unify labels of all sensors used in tests/drivers/build_all/sensor test.

Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>
This commit is contained in:
Franciszek Zdobylak 2023-09-04 12:48:47 +02:00 committed by Carles Cufí
commit fc4ae7ae84
4 changed files with 11 additions and 11 deletions

View file

@ -34,7 +34,7 @@ test_current: current_amp {
sense-gain-div = <1>;
};
test_adc_emul: adc {
test_adc_emul: adc-emul {
compatible = "zephyr,adc-emul";
nchannels = <2>;
ref-internal-mv = <3300>;
@ -43,7 +43,7 @@ test_adc_emul: adc {
status = "okay";
};
test_ntc_thermistor_generic: ntc-thermistor-generic {
test_adc_ntc_thermistor_generic: ntc-thermistor-generic {
compatible = "ntc-thermistor-generic";
io-channels = <&adc0 0>;
pullup-uv = <3300000>;
@ -53,7 +53,7 @@ test_ntc_thermistor_generic: ntc-thermistor-generic {
zephyr,compensation-table = <0 0>, <1 1>;
};
test_epcos_b57861s0103a039: epcos-b57861s0103a039 {
test_adc_epcos_b57861s0103a039: epcos-b57861s0103a039 {
compatible = "epcos,b57861s0103a039";
io-channels = <&adc0 0>;
pullup-uv = <3300000>;

View file

@ -709,7 +709,7 @@ test_i2c_tcs3400: tcs3400@6b {
int-gpios = <&test_gpio 0 0>;
};
test_tcn75a: tcn75a@6c {
test_i2c_tcn75a: tcn75a@6c {
compatible = "microchip,tcn75a";
reg = <0x6c>;
alert-gpios = <&test_gpio 0 0>;
@ -737,7 +737,7 @@ test_i2c_bmi08x_gyro: bmi08x@6e {
gyro-fs = <1000>;
};
test_i2c_ist8310@6f {
test_i2c_ist8310: ist8310@6f {
compatible = "isentek,ist8310";
reg = <0x6f>;
status = "okay";

View file

@ -7,26 +7,26 @@
* Application overlay for uart devices
*/
test_uart_mhz19b {
test_uart_mhz19b: mhz19b {
compatible = "winsen,mhz19b";
maximum-range = <10000>;
abc-on;
};
test_uart_pms7003 {
test_uart_pms7003: pms7003 {
compatible = "plantower,pms7003";
};
test_uart_grow_r502a {
grow_r502a {
#address-cells=<1>;
#size-cells=<0>;
grow_r502a@0 {
test_uart_grow_r502a: grow_r502a@0 {
compatible = "hzgrow,r502a";
reg = <0x0>;
int-gpios = <&test_gpio 0 0>;
};
};
test_uart_a01nyub {
test_uart_a01nyub: a01nyub {
compatible = "dfrobot,a01nyub";
};

View file

@ -6,7 +6,7 @@
* Application overlay for w1 devices
*/
test-w1-ds18b20 {
test_w1_ds18b20: ds18b20 {
compatible = "maxim,ds18b20";
family-code = <0x28>;
resolution = <12>;