Armando Visconti
2fe89c1076
dt-bindings: sensor: lis2ds12: add macros for DT properties setting
...
Add macros for setting in a clear way lis2ds12 DT properties.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-20 09:24:37 +01:00
Armando Visconti
a6cfa0bc15
dt-bindings: sensor: lps22df: add macros for DT properties setting
...
Add macros for setting in a clear way lps22df DT properties.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-20 09:24:37 +01:00
Armando Visconti
b0f22dbafd
dt-bindings: sensor: lps22hh: add macros for DT properties setting
...
Add macros for setting in a clear way lps22hh DT properties.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-20 09:24:37 +01:00
Armando Visconti
1fbd157c61
dt-bindings: sensor: lsm6dso16is: add macros for DT properties setting
...
Add macros for setting in a clear way lsm6dso16is DT properties.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-20 09:24:37 +01:00
Armando Visconti
0c3057edf4
dt-bindings: sensor: lsm6dso: add macros for DT properties setting
...
Add macros for setting in a clear way lsm6dso DT properties.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-20 09:24:37 +01:00
Armando Visconti
e72baabe91
dt-bindings: sensor: lsm6dsv16x: add macros for DT properties setting
...
Add macros for setting in a clear way lsm6dsv16x DT properties.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-20 09:24:37 +01:00
Alberto Escolar Piedras
b85aef003c
tests/drivers/build_all/sensor: Enable for native_sim
...
And switch from native_posix to native_sim as default
test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Ian Morris
4c92419546
drivers: sensor: hs300x: Add driver for Renesas HS300x sensors
...
Adds support for Renesas HS3001 and HS3003 temperature/humidity sensors
connected via an I2C bus.
Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2023-11-17 10:33:02 -06:00
Anas Nashif
f25e2201a4
tests: fix various test identifiers
...
Fix a few inconsistent test identifiers.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-17 09:27:40 +01:00
Armando Visconti
d17b1c8cbb
tests: build_all: sensor: fix i2c.dtsi typo
...
Fix lps22df i2c address in order to be unique.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-16 06:56:31 +00:00
Anas Nashif
153e6d9dc7
tests: uart: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
743564e89e
tests: dac: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
131aa56900
tests: i2c: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
d9d7e6a2f4
tests: watchdog: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
9ff81c1541
tests: pwm: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
093f9a9df2
tests: adc: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Fabio Baltieri
256bc860cf
input: add a gpio based keyboard matrix driver
...
Add a GPIO based keyboard matrix driver using the generic keyboard
matrix code.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-11-15 11:41:25 +01:00
Jeppe Odgaard
a1b16d3151
tests: build_all: sensor: i2c: add explorir_m
...
Add ExplorIR-M uart node in the build_all tests.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2023-11-13 12:14:08 -05:00
Lucas Denefle
f9d0a4c5cf
drivers: modem: add Quectel EG25-G
...
This commit introduces support for the modem EG25-G from Quectel.
Signed-off-by: Lucas Denefle <lucas.denefle@converge.io>
2023-11-13 10:10:15 -06:00
Armando Visconti
f1f7e4712c
drivers/sensor: add support to LPS22DF pressure sensor
...
The LPS22DF is an ultracompact, piezoresistive, absolute pressure sensor
that functions as a digital output barometer. The LPS22DF provides lower
power consumption, achieving lower pressure noise than its predecessor.
This driver is based on stmemsc HAL i/f v2.3
https://www.st.com/en/datasheet/lps22df.pdf
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-13 16:08:46 +00:00
Armando Visconti
0973531c94
tests: drivers: build_all: sensor: add I3C test framework
...
Add framework to test sensor drivers I3C conditional checkings.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-13 16:08:46 +00:00
Bartosz Bilas
39eb124c81
drivers: add MAX20335 charger driver
...
Add a MAX20335 MFD subdriver for the built-in
battery charger.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2023-11-13 09:48:33 +01:00
Nick Ward
2612aa02ce
tests: drivers: build_all: gpio: add ads1145s0x testcase
...
This fixes multiple CI issues for the ads1145s0x
driver.
Having a special testcase for the driver limits the
CONFIG_ADC=y and CONFIG_ADC_INIT_PRIORITY adjustment
requirements.
Also fixes address not matching warning for pcal6416a@2
Signed-off-by: Nick Ward <nix.ward@gmail.com>
2023-11-13 09:46:48 +01:00
Ethan Duckett
da4e3e713b
drivers: adc: ltc2451: Add ltc2451 driver
...
Adds support for the Linear Technologies LTC2451 ADC.
Signed-off-by: Ethan Duckett <ethan.duckett@brillpower.com>
2023-11-13 09:43:05 +01:00
Antoniu Miclaus
1088846e9a
tests: build_all: sensor: add adxl367 trigger
...
Add trigger support for adxl367 build all sensor tests.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
2023-11-10 10:44:11 -06:00
Yong Cong Sin
efd1073ceb
tests: build_all: plic: multi instance
...
Add PLIC multi-instance build-only test.
Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-11-09 18:20:43 +01:00
Bartosz Bilas
f409f67db4
tests: drivers: adc: move ad5592-adc node into native_posix.overlay
...
Remove the `app.overlay` file which has been
wrongly added in ad3c5a2
commit. Instead of that
add the ad5592-adc node into `native_posix.overlay` file.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2023-11-09 11:23:14 +01:00
Gustavo Silva
b4625d6f13
drivers: sensor: add tsl2561 basic support
...
Add basic support for ams TSL2561 light sensor. Triggers, attributes
and manual integration time are currently not supported.
Signed-off-by: Gustavo Silva <gustavograzs@gmail.com>
2023-11-09 10:16:51 +00:00
Nazar Palamar
4fd732a738
drivers: wifi: added Infineon AIROC WIFI driver
...
Added initial version of Infineon AIROC WIFI driver
Added initial version of binding file for Infineon AIROC WIFI
driver
Rename CONFIG_ABSTRACTION_RTOS_COMPONENT_ZEPHYR to
CONFIG_USE_INFINEON_ABSTRACTION_RTOS
Exclude cy8cproto_062_4343w platform from
drivers.modem.esp_at.build test
Change revision hal_infineon to
69c883d3bd9fac8a18dd8384624b8c472a68d06f
Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2023-11-08 15:07:37 +00:00
Bartosz Bilas
2c09999d24
drivers: dac: add driver for AD5592
...
Add MFD subdriver for the built-in DAC controller
in AD5592 chip.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2023-11-08 10:07:41 +01:00
Bartosz Bilas
0689d3dc11
drivers: gpio: add driver for AD5592
...
Add MFD subdriver for the built-in GPIO controller
in AD5592 chip.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2023-11-08 10:07:41 +01:00
Bartosz Bilas
ad3c5a27b4
drivers: adc: add driver for AD5592
...
Add MFD subdriver for the built-in ADC controller
in AD5592 chip.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2023-11-08 10:07:41 +01:00
Bartosz Bilas
00badc243d
tests: drivers: gpio: fix cs gpios reg property
...
Adjust the reg of the CS gpios to fix the warning
about the same value used for all existing nodes.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2023-11-07 09:54:38 +01:00
Armando Visconti
f39dba5da5
drivers/sensor: lsm6dsv16x: add in DT both INT1 and INT2 pin
...
Add in DT the possibility to configure both INT1 and INT2
pin. The driver will then assign one of the two (either 1
or 2, according to what value drdy_pin is set) to a gpio
for receiving drdy interrupts.
The other pin may be used in the future to receive event
interrupts.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-06 10:13:38 +01:00
Bartosz Bilas
e87fd3165f
drivers: regulator: add MAX20335 driver
...
Add a MAX20335 MFD subdriver to manage the built-in PMIC.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2023-11-02 20:32:40 +00:00
Jeff Welder
9c51a26844
tests: build_all: modem: Add Telit ME910G1 Test Coverage
...
Added bindings to build_all test for new Telit ME910G1 Modem.
Signed-off-by: Jeff Welder <Jeff.Welder@ellenbytech.com>
2023-11-02 08:34:50 +00:00
Franciszek Zdobylak
0249f15767
tests: drivers: Fix adc labels in sensors test
...
Fix the labels used in io-channels to be consistent in whole
tests/drivers/build_all/sensor/adc.dtsi file.
Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>
2023-10-30 12:51:20 -04:00
Antoniu Miclaus
b5bc088529
tests: build_all: sensor: i2c: add adxl367
...
Add adxl367 i2c node in the build_all tests.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
2023-10-25 09:57:02 +02:00
Antoniu Miclaus
cecfb3e120
tests: build_all: sensor: spi: add adxl367
...
Add adxl367 spi node in the build_all tests.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
2023-10-25 09:57:02 +02:00
Markus Becker
e51c044216
sensor: ltrf215a: LiteOn LTR-F216A
...
New driver for I2C illuminance sensor LiteOn LTR-F216A.
Datasheet:
https://optoelectronics.liteon.com/upload/download/DS86-2019-0016/LTR-F216A_Final_DS_V1.4.PDF
* Applied suggestions from code review
* Removed retry mechanism
Signed-off-by: Markus Becker <markus.becker@tridonic.com>
Co-authored-by: Andy Sinclair <andy@aasinclair.co.uk>
2023-10-23 09:47:09 -05:00
Karthikeyan Krishnasamy
a4ad4311b2
tests: drivers: build_all: sensor: Add mc3419 sensor
...
Included MC3419 3-axis accelerometer sensor in build_all
test to test mc3419 driver
Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
2023-10-20 15:25:16 -05:00
Anas Nashif
f067bc43c9
tests: sensor: do not depend on ZTEST_NEW_API
...
Old ztest API is deprecated, so no need for the conditional code here.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-10-20 15:04:29 +02:00
Anas Nashif
345735d0a8
tests: remove CONFIG_ZTEST_NEW_API in all tests
...
Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this
is now enabled by default.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-10-20 15:04:29 +02:00
Ricardo Rivera-Matos
e8e907b5a5
tests: build_all: charger: Builds BQ24190 driver
...
Adds the BQ24190 driver to the build_all test.
Signed-off-by: Ricardo Rivera-Matos <ricardo.rivera-matos@cirrus.com>
2023-10-20 14:55:22 +02:00
Paweł Anikiel
2f7cb40dd2
drivers: sensor: Add driver for SB-TSI
...
Add a driver for the SB Temperature Sensor Interface. This is an I2C
temperature sensor on AMD SoCs.
Signed-off-by: Paweł Anikiel <pan@semihalf.com>
2023-10-20 14:51:59 +02:00
Cyril Fougeray
1d0f28737b
sensors: vl53l1: build_all without the default Kconfig
...
in case CONFIG_VL53L1X_INTERRUPT_MODE=n or
CONFIG_VL53L1X_XSHUT=n, the driver won't compile
Signed-off-by: Cyril Fougeray <cyril.fougeray@worldcoin.org>
2023-10-11 14:58:15 +01:00
Yong Cong Sin
8db1a5add2
drivers: intc: plic: support trigger type by default and hardcode offset
...
Removing the edge-trigger Kconfig as it is supported by default
in the RISCV PLIC specifications.
Define the edge-trigger register offset in the driver instead
of retrieving the value from devicetree as it is not something
configurable. The value 0x1080 is defined in Andes & Telink
datasheets.
Updated build_all testcase.
Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-10-04 09:06:28 -04:00
Maureen Helm
00d03fe942
tests: drivers: build_all: Add adin2111 to ethernet driver build test
...
Ensures that the eth_adin2111 driver builds for both of its supported
devicetree compatibles by adding adi,adin2111 and adi,adin1110
compatible nodes to the ethernet driver build test.
Sets relevant device device driver initialization priorities to be
equal, allowing devicetree dependency ordinals to determine the
initialization sequence.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2023-10-03 15:10:12 +01:00
Andriy Gelman
1211d778ac
tests: drivers: build_all: can: Add mcp251xfd test case
...
Adds build test case for mcp25xxfd with arduino_uno_click and
mikroe_mcp2518fd_click shield.
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2023-10-01 09:20:37 +03:00
Peter Mitsis
baea37aeb4
kernel: Re-factor sys_mem_blocks definition
...
Rearranges the sys_mem_blocks fields so that information that describes
how much of the memory block is used is co-located. This will allow
easier of its statistics into the object core statistics reporting
framework.
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2023-09-30 08:04:14 +03:00