Commit graph

8173 commits

Author SHA1 Message Date
Warren Buffer 610125418f boards: arm: efr32_radio_brd4170a: Added docs
Added documentation for Silicon Labs' BRD4170A Radio board

Signed-off-by: Warren Buffer <warren.buffer78@gmail.com>
2023-09-05 16:16:30 +02:00
Warren Buffer 17978182d2 boards: arm: Added support for Silicon Labs BRD4170A
Added support for Silicon Labs' BRD4170A Radio Board, based on the
EFR32MG12P SoC.

Signed-off-by: Warren Buffer <warren.buffer78@gmail.com>
2023-09-05 16:16:30 +02:00
Andriy Gelman c262ff5be0 boards: arm: xmc45_relax_kit: Add memory regions to linker
Add memory regions to linker.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2023-09-05 16:16:11 +02:00
Bindu S 8350fc2c63 tests: drivers: spi: spi_loopback: Added intel_adl_crb overlay
Added overlay and conf to enable SPI tests on intel_adl_crb board.

Signed-off-by: Bindu S <bindu.s@intel.com>
2023-09-05 11:41:46 +02:00
Fabio Baltieri b873f19bc8 shields: rk055hdmipi4m: fix touch controller label
This got renamed in 42c6f3311b, use the new label in the board overlay.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-09-05 11:30:41 +02:00
Fabian Blatz ccdb667068 boards: Remove touch input kscan nodes
Change boards and shields and remove kscan nodes in favor of the
"zephyr,lvgl-pointer-input" compatible.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-09-05 10:05:50 +02:00
Fabian Blatz 42c6f3311b boards: stop using kscan for LVGL touch input
Change boards and shields which enable the LV_Z_POINTER_KSCAN symbol to use
the new "zephyr,lvgl-pointer-input" compatible instead.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-09-05 10:05:50 +02:00
Marcus Folkesson 46cdec8dc6 oards/arm/efr32xg24_dk2601b: add support for sensors attached to I2C
Zephyr already have support for a couple of sensors on the board:
- Silicon Labs Si7210 hall effect sensor
- Silicon Labs Si7021 relative humidity & temperature sensor
- Vishay VEML6035 ambient light sensor

Add support for those in device tree.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
2023-09-05 10:05:19 +02:00
Marcus Folkesson 73dbd3c1fa boards/arm/efr32xg24_dk2601b/doc: list sensors on board
The efr32xg24_dk2601b has several sensors on board attached to buses.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
2023-09-05 10:05:19 +02:00
Alberto Escolar Piedras 0c55710040 nrf52_bsim: Update HW models to latest and align with them
* In Zephyr: The HW models now include N interrupt controllers
The interrupt handling code needs to target one controller
specifically.

* Update the HW models module to
  57b61a9a2da75c860f15ca79522b24d57992df2c

  Including the following:
  * 57b61a9 INT CNTRL: Generalize to N controllers
  * 1ea8194 nrf_bsim_redef.h: Add first definitions for nrf5340
  * 5f81ee9 irq_ctrl: Lower a bit HW event priority
  * 0986acc RNG: Add nrf53 variant in model
  * 09345da RNG: Generate level interrupts instead of pulse ones
  * f9b7c7a DPPI: Add first version
  * 62dabd3 HW models: Initial peripheral adaptation for multi-int_cntr
  * f54b59d HW models: Adding initial nrf5340 structure
  * fb1edd9 HW models: Use HW types definitions only where neded
  * 2744f4c Add basic support for variants
  * a5f79cd nrf_bsim_redef.h: Remove unnecessary redefinitions
  * 2c781dd HW_models: Improve includes
  * bdb0a08 minor: Remove non-ASCII characters from source
  * b5e95bd RADIO: Corrected note about MAXLEN and CRCINC behaviour

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-04 13:18:01 +02:00
Alberto Escolar Piedras 3973475719 nrf52_bsim: Set CPU we are targetting
Let's be explicity about which CPU we are targetting.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-04 13:18:01 +02:00
Alberto Escolar Piedras d27b7f354f nrf52_bsim: Pass bsim libraries the runner needs using new property
Instead of abusing the INTERFACE_LINK_OPTIONS for this,
let's use the new RUNNER_LINK_LIBRARIES.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-04 13:16:58 +02:00
Alberto Escolar Piedras b021c7611d native simulator: Add property to collect libraries to link w runner
Add a property to the native_simulator target, to collect
the libraries we want to link with the runner, instead of
abusing the link options to pass them.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-04 13:16:58 +02:00
Alberto Escolar Piedras e91805c7a6 native boards: Use compiler provided objcopy
Instead of defaulting to use the gnu objcopy, use the
compiler specific one when building the native simulator
runner.
This fixes a link issue when using llvm and ASAN.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-04 13:16:58 +02:00
Alberto Escolar Piedras 82b8177f37 boards native: Build the native simulator runner with ccache
If the Zephyr build is using ccache, have the native simulator
runner build also use it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-04 13:16:58 +02:00
Alberto Escolar Piedras 8cc456c1a1 native boards: cmake: Move nsi_config generation to shared file
Move the generation of the native simulator build
configuration into its own file, shared between
the native simulator boards.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-04 13:16:58 +02:00
Bindu S 18e986029e samples: sensor: Enable bme280 sensor using I2C driver for alder_lake
Added overlay and conf to enable bme280 sensor
using i2c on intel_adl_crb board.

Signed-off-by: Bindu S <bindu.s@intel.com>
2023-09-01 12:10:16 -05:00
Steve Boylan 85cbc7a96e drivers: spi: spi_pico_pio: Add basic support for SPI via PIO
Add fundamental feature support for RP2040 PIO SPI peripherals.
This commit implements synchronous transfer with 8-bit MSB
format.  Using PIO allows any GPIO pins to be assigned the roles
of CS, CLK, MOSI, and MISO.

Optional features not implemented yet:

  - Interrupt based transfer
  - DMA transfer
  - Slave mode
  - Varying word size
  - 3-wire SPI support
  - LSB-first

Updated in response to review comments.
Further updates from second round of review.
Rename spi_pico_pio.c source to match zephyr/MAINTAINERS.yml
Remove unnecessary initialization code.
Resolve merge conflicts

Signed-off-by: Steve Boylan <stephen.boylan@beechwoods.com>
2023-09-01 16:36:41 +02:00
Huifeng Zhang b38e1cd62a boards: fvp_baser_aemv8r_aarch32: disable d-cache
Disable d-cache on the fvp_baser_aemv8r_aarch32 platform because there
are some issues when d-cache is enabled for now.

Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
2023-09-01 13:23:26 +02:00
Huifeng Zhang af2ecf4051 boards: fvp_baser_aemv8r: enable cache_state_modelled
Let FVP_BaseR_AEMv8R simulate the operation of cache-related.

This will slow the speed of FVP_BaseR_AEMv8R but it can obtain realistic
simulation results as much as possible. So the timeout_multiplier needs
to be increased.

Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
2023-09-01 13:23:26 +02:00
Huifeng Zhang acfa9a06c9 boards: fvp_baser_aemv8r: adjust the base address of device_region
Change the base address of device_region to 0x9a000000 to avoid overlay
with the flash region.

Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
2023-09-01 13:23:26 +02:00
Ali Hozhabri ef1f6417ff boards: shields: x_nucleo_idb05A1: Fix chip select active state
Set also controller data delay to zero, as it is not needed in BlueNRG-MS.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2023-09-01 13:22:08 +02:00
Andrei Emeltchenko 2fabcb4bf2 scripts: build_grub: Correct grub build script
Update script since old build script is not working anymore.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-09-01 09:53:56 +02:00
Anisetti Avinash Krishna 235ff29567 boards: x86: intel_adl: Added support for RTC
Added RTC support for ADL platform

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2023-09-01 09:52:43 +02:00
Gerard Marull-Paretas b7a172fa1a boards: esp_wrover_kit: use gpio hogs for LCD, drop LEDs
Instead of using custom board init code, use a GPIO hog to initialize
the LCD backlight. Note that LCD backlight should be controller by the
display driver, but this is not supported now. Initializing defined LEDs
should be done by the application, using either the GPIO or LEDs driver
classes.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-30 13:48:18 +02:00
Gerard Marull-Paretas 12cca8939e boards: ubx_bmd345eval_nrf52840: use gpio hogs to initialize fem pins
Instead of custom board init code.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-30 12:12:09 +01:00
Anas Nashif 834e0a73e0 boards: rcar_h3ulcb_ca57: not a default platform
This platform should not be set as a default platform. It does not run
in CI, i.e. not a simulator/emulator.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-08-30 06:39:39 -04:00
Anas Nashif 1e36090494 boards: numaker_pfm_m467: not a default platform
This platform should not be set as a default platform. It does not run
in CI, i.e. not a simulator/emulator.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-08-30 06:39:39 -04:00
Gerard Marull-Paretas bf4654c43b boards: xtensa: odroig_go: use gpio-hog to turn LED off
Instead of using custom board init code.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-30 11:06:02 +01:00
Gerard Marull-Paretas 2e3193e04d boards: xtensa: heltec_wifi_lora32_v2: add missing init.h, device.h
File was using SYS_INIT (init.h) and DEVICE_DT_GET (device.h).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-30 11:55:14 +02:00
Gerard Marull-Paretas 5e71860750 boards: thingy53_nrf5340: s/device.h/init.h
File was not using any device.h API, but init.h (SYS_INIT).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-30 11:52:10 +02:00
Robert Kowalewski b32ea30c75 board: arm: openocd support for nucleo_g0b1re
This change adds the openocd support for nucleo-g0b1re board.

Signed-off-by: Robert Kowalewski <r.t.kowalewski@gmail.com>
2023-08-30 10:22:57 +02:00
Francois Ramu 57457dd5fd boards: arm: nucleo_stm32f410rb partitioning 128KB of flash
The flash is organized in 4 partitions of 32KB each, to fit the 128KB
made of 4 sectors of 16KB plus one sector of 64KB.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-08-30 10:18:10 +02:00
Gerard Marull-Paretas 6ddce51fb0 boards: xtensa: esp32_ethernet_kit: add missing init.h
File uses SYS_INIT, from init.h.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-30 10:16:13 +02:00
Fabio Baltieri f0d0b54123 boards: update ina230 instances
The configuration definition for the ina230 has been changed in
f0f7f8b146 and now the old config option is marked as deprecated, which
is failing two boards in CI, nrf5340_audio_dk_nrf5340 and
stm32g071b_disco.

Update the ina230 config format to the new one for both boards.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-08-29 18:26:30 -04:00
Fabio Baltieri dff933c70c boards: emsdp,hsdk: drop GPIO_INIT_PRIORITY overrides
These were also added as part of some major refactoring and should not
be relevant anymore. They are also the last two GPIO_INIT_PRIORITY
overrides left in boards, so after this every GPIO device should be
working with the standard initialization priority.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-08-29 19:56:45 +01:00
Fabio Baltieri 173627d51b boards: em_starterkit: stop overriding GPIO_INIT_PRIORITY
This was introduced long time ago during a big priority refactoring,
with the current priority changes it should not be necesary anymore, the
current value is causing some build fail in the weekly test.

Fixes the following breakage:
```
$ west build -p -b em_starterkit_em11d -T
	tests/drivers/build_all/gpio/drivers.gpio.build
...
ERROR: /test/nct3807_alert_1 POST_KERNEL 52 51 <
	/test/gpio@deadbeef POST_KERNEL 70 47
ninja: build stopped: subcommand failed.
```

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-08-29 19:56:45 +01:00
Gerard Marull-Paretas 96e80f29f2 boards: mimxrt595_evk: enable REGULATOR if POWEROFF is enabled
This is required so that the PCA9420 regulator is initialized, working
in DVS mode (i.e. controlled by hardware automatically).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-29 16:39:49 +01:00
Gerard Marull-Paretas 4105c0f100 boards: arm: qemu_cortex_m0: add missing init.h
Timer driver was using SYS_INIT without including init.h.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-29 15:56:30 +01:00
Guillaume Gautier 5c42588a48 boards: arm: add missing stm32 adc properties
Clock source and prescaler properties were missing for Nucleo H563ZI,
L552ZE and U575ZI

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2023-08-29 14:35:10 +01:00
Guillaume Gautier eaabe204d7 boards: arm: add adc clock properties for all stm32 boards
Add ADC clock source and prescaler properties to all STM32 boards.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2023-08-29 11:27:07 +01:00
Guillaume Gautier 79cad968e0 boards: arm: nucleo_wba52cg: enable watchdog for nucleo wba52cg
Enable watchdog for Nucleo WBA52CG

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2023-08-29 10:25:23 +02:00
Anisetti Avinash Krishna 88f0613686 tests: drivers: gpio: gpio_basic_api: Added intel_adl_crb overlay
Added overlay to enable GPIO tests on intel_adl_crb board.

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2023-08-29 10:24:03 +02:00
Fabian Blatz 116ec2c41c samples: subsys: display: lvgl: Use input-lvgl for touch input
Changes all board specific configurations to use the new
zephyr,lvgl-pointer-input compatible. The kscan_input node in the boards
remains to have downstream backwards compatibility.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-08-29 10:17:52 +02:00
Fabian Blatz 170faaf0e4 boards: posix: native_posix: Rename input-sdl-touch node
Rename the input-sdl-touch node to be able to have phandle references to
it.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-08-29 10:17:52 +02:00
Nick Ward 2d65acca3a drivers: gpio: use gpio_is_ready_dt helper function
Update `struct gpio_dt_spec` use with gpio_is_ready_dt()

Signed-off-by: Nick Ward <nix.ward@gmail.com>
2023-08-28 08:48:35 -05:00
Anisetti Avinash Krishna b81516f70e dts: x86: intel: alder_lake: Added PWM instance
Added PWM instance and enabled it for ADL platform.

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2023-08-28 10:13:14 +02:00
Ryan McClelland 670d73a3e2 boards: arm: vmu_rt1170: correct bmi088 max spi freq to 10MHz
The max SPI clock frequency supported by the bmi088 according to the
bmi088 data sheet is 10MHz. Correct the vmu_rt1170 to reflect this.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2023-08-28 10:12:36 +02:00
Marc Desvaux 6f4584fdbc boards: arm: stm32f469i_disco: doc: add SDIO
adds SDIO(sdmmc1) node on stm32f469i_disco board
to use SDIO bus for SD card access

Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
2023-08-28 08:35:28 +01:00
Marc Desvaux 81b163bce8 boards: arm: stm32f469i_disco: add sdmmc1
adds sdmmc1 node on stm32f469i_disco board
to use SDIO bus for SD card access
the mandatory clock is 48 Mhz.

Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
2023-08-28 08:35:28 +01:00