Commit Graph

104248 Commits

Author SHA1 Message Date
Benjamin Cabé 4de10f353e boards: efinix: adopt new zephyr:board directive and role
This updates the documentation of all the Efinix boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 1a9568a22c boards: dragino: adopt new zephyr:board directive and role
This updates the documentation of all the Dragino boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 3d8271f328 boards: blues: adopt new zephyr:board directive and role
This updates the documentation of all the Blues boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 2e83e295b0 boards: beagle: adopt new zephyr:board directive and role
This updates the documentation of all the BeagleBoard boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé aaccb6323f boards: bbc: adopt new zephyr:board directive and role
This updates the documentation of all the BBC boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 233d264e53 boards: atmarktechno: adopt new zephyr:board directive and role
This updates the documentation of all the Atmark boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé c357d01aab boards: aspeed: adopt new zephyr:board directive and role
This updates the documentation of all the Aspeed boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 02974bd2bb boards: amd: adopt new zephyr:board directive and role
This updates the documentation of all the AMD boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 0a5b760934 boards: ambiq: adopt new zephyr:board directive and role
This updates the documentation of all the Ambiq boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 9c6bd0ee86 boards: altr: adopt new zephyr:board directive and role
This updates the documentation of all the Altera boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 05c4c7abff boards: alientek: adopt new zephyr:board directive and role
This updates the documentation of all the Alientek boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 1b29273248 boards: adi: adopt new zephyr:board directive and role
This updates the documentation of all the Analog Devices boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 599e0625e3 boards: adafruit: adopt new zephyr:board directive and role
This updates the documentation of all the Adafruit boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 77a35d835a boards: actinius: adopt new zephyr:board directive and role
This updates the documentation of all the Actinius boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Cabé 23c43f1716 boards: 01space: adopt new zephyr:board directive and role
This updates the documentation of all the 01space boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 17:51:15 +02:00
Benjamin Björnsson 0d9aa5a68c drivers: watchdog: wdt_counter: Fix overflow warning
Cast variable to uint64_t to ensure the multiplication is
performed using 64-bit arithmetic. Resolves static code
analysis warning from Coverity.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2024-10-24 17:51:08 +02:00
Aksel Skauge Mellbye 8d4fa7be0b soc: silabs: Remove counter dependency for pm
Power Manager no longer requires the Counter driver. This seems to have
been a hack to get the Sleeptimer HAL included in the build, as the
Sleeptimer is the real dependency of the Silabs Power Manager HAL.

Since Sleeptimer is now used for the OS timer, this hack is not needed.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-10-24 17:51:01 +02:00
Aksel Skauge Mellbye 51194bf03f soc: silabs: Default to sleeptimer for OS timer on Series 2
Disable BURTC timer in board defconfigs, as it's no longer used.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-10-24 17:51:01 +02:00
Aksel Skauge Mellbye da6ddc92cd drivers: timer: silabs: Add sleeptimer timer driver
Add OS timer implementation making use of the Sleeptimer HAL.
Sleeptimer integrates tightly with the Silabs Power Manager HAL,
and must be used as the OS timer to achieve optimal power consumption
when using the radio.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-10-24 17:51:01 +02:00
Aksel Skauge Mellbye f302daf67a dts: arm: silabs: Describe RTC timers correctly
The DT node "stimer0" represented two different hardware timers,
RTCC and SYSRTC. Use the correct peripheral names for the nodes.
Add interrupt names and missing interrupt numbers.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-10-24 17:51:01 +02:00
Gerard Marull-Paretas 578008cd47 pm: policy: allow using latency API in standalone mode
This option allows using the pm_policy_latency* APIs to gather latency
requirements on systems that do not support PM (e.g. systems whithout
CPU idle states). Because the API has a subscription mechanism, it can
be useful to perform system-level adjustments based on latency
requirements gathered from multiple system components.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-10-24 17:50:44 +02:00
Gerard Marull-Paretas 6f4bb118a8 pm: policy: split policy APIs implementations
policy.c has grown organically, it contained many independent pieces of
code. This patch splits each logical unit into its own C file, making it
easier to browse the code.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-10-24 17:50:44 +02:00
Alberto Escolar Piedras a5e3a33b39 ipc: icmsg & icbmsg: Fix alloc_tx_buffer() doxygen description
The return values were not correct, and the parameters descriptions
were not too easy to understand.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-10-24 13:15:35 +01:00
Chaitanya Tata f840f660a4 samples: wifi: Fix missing CONFIG for the option
Missed adding CONFIG_ to the configuration option.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-10-24 13:15:25 +01:00
Chaitanya Tata 3098c484cb drivers: nrfwifi: Fix a build error
The defines should explicitly be passed to nordic HAL as they dont' use
the CONFIG_ prefix.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-10-24 13:15:25 +01:00
Chaitanya Tata f6b60bd057 manifest: hal_nordic: Pull fix for build errors
Few build errors due to bugs in previous commits.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-10-24 13:15:25 +01:00
Vinayak Kariappa Chettimada af0aeb33fc tests: bsim: Bluetooth: Test 1ms connection interval support
Test 1ms connection interval support.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-24 13:15:20 +01:00
Vinayak Kariappa Chettimada abfe5f17a9 Bluetooth: Controller: 1 ms connection
1 ms connection interval support.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-24 13:15:20 +01:00
Vinayak Kariappa Chettimada e7799d4977 Bluetooth: Controller: Separate Tx/Rx frame spacing
Separate Tx/Rx frame spacing.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-24 13:15:20 +01:00
Vinayak Kariappa Chettimada cbae5d5f3f tests: bsim: Bluetooth: Deferred ACL Tx transmission setup
Added test to verify deferred ACL Tx transmission setup,
such that GATT discovery completes with least latency and
GATT notifications can be received earliest after connection
establishment.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-24 13:15:20 +01:00
Vinayak Kariappa Chettimada 2ab1671af1 Bluetooth: Controller: Introduce deferred ACL Tx packet transmission
Introduce deferred ACL Tx packet transmission setup by radio,
so that an enqueued ACL Data packet can be transmitted with
the shortest latency.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-24 13:15:20 +01:00
Vinayak Kariappa Chettimada ba1def1a34 Bluetooth: Controller: Add radio timer ISR usage support
Add radio timer ISR usage support.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-24 13:15:20 +01:00
Vinayak Kariappa Chettimada d9f890bfdf Bluetooth: Controller: Defines for radio timer capture/compare indices
Add defines for radio timer capture and compare indices used
in the nRF Radio HAL implementation.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-24 13:15:20 +01:00
Vinayak Kariappa Chettimada 7db7edae3c Bluetooth: Controller: Minor updates to code comments
Minor updates and correction to code comments.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-24 13:15:20 +01:00
Adam Kondraciuk 245aee4a8b tests: drivers: timer: nrf_grtc: run GRTC tests on nRF54L20
Run GRTC tests for nRF54L20 platform.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2024-10-24 13:15:11 +01:00
Ricardo Rivera-Matos b64c69f84b regulator: cp9314: Drops B0 silicon support
Removes support for B0 revision silicon. The B0 revision is no longer
recommended for use in host-controlled applications and there are no
users of this driver implementing B0 silicon in their final design.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
2024-10-24 14:08:36 +02:00
Ricardo Rivera-Matos 2b3ed7016f regulator: cp9314: Adds support for HW I2C Lock feature
Adds support for the control port write-lock feature introduced in
revision B1. The write-lock feature minimizes the risk of spurious
I2C writes flipping sensitive bits during device operation by blocking
writes to some or all of the register map.

If desired, the write-lock must be set in hardware by biasing PGPIO2
appropriately and setting the cirrus,hw-i2c-lock flag in the devicetree
entry.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
2024-10-24 14:08:36 +02:00
Ricardo Rivera-Matos a684c36e77 dts: bindings: cp9314: Adds cirrus,hw-i2c-lock property
Documents cirrus,hw-i2c-lock property in the devicetree bindings. This
flag indicates that the control port write-lock was enabled in hardware
via the PGPIO2 pin.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
2024-10-24 14:08:36 +02:00
Ricardo Rivera-Matos 6843faaf69 regulator: cp9314: Adds support for B1 CHIP_REV
Adds support for revision B1 silicon when checking CHIP_REV. This
silicon revision introduces the hardware I2C lock.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
2024-10-24 14:08:36 +02:00
Ricardo Rivera-Matos 63acbef33f regulator: cp9314: Changes CHIP_REV log message to debug level
Changes the log level for the CHIP_REV log message from INFO to DBG.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
2024-10-24 14:08:36 +02:00
Ricardo Rivera-Matos 7fb2e707a2 regulator: cp9314: Prints CHIP_REV info after switch case
Moves the CHIP_REV log message after the CHIP_REV switch case. Printing
the log message after allows for the print to be reused for multiple
CHIP_REV cases.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
2024-10-24 14:08:36 +02:00
Ricardo Rivera-Matos f885c8ada3 regulator: cp9314: Uses FIELD_GET to read CHIP_REV
Use FIELD_GET macro to grab CHIP_REV bitfield. This change improves
the readability of the source code and does not change functionality.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
2024-10-24 14:08:36 +02:00
Jiafei Pan 0f6d6b2ef2 drivers: gicv3: add distributor safe configuration
In case of multiple OSes running on different CPU Cores which share the
same GIC controller, need to avoid the distributor re-configured to avoid
crash the OS has already been started.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-10-24 14:08:07 +02:00
Scott Worley 4fa5fc3b4c drivers: pinctrl: mec5: Microchip MEC5 HAL based pinctrl driver
Add a pinctrl driver for Microchip MEC5 HAL based chips.
The driver removes the YAML enum "no change" property
value from the driver strength and slew rate properties.
Update the shared header file in mec soc common folder to
use a different Z_PINCTRL_STATE_PINCFG_INIT for MEC5.
Modifications to legacy MEC172x XEC PINCTRL will be in
a future PR.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2024-10-24 14:07:31 +02:00
Aksel Skauge Mellbye d12de2d6b4 soc: silabs: Add soc_prep_hook() for Series 2
CMSIS SystemInit is not used in Zephyr. Implement the functionality
that isn't already done by Zephyr startup using soc_prep_hook().

The reason the lack of TrustZone init did not create immediately obvious
issues previously is that SMU faults can only happen if the SMU clock is
enabled.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-10-24 14:07:25 +02:00
Jonas Remmert 4dc2f6fd1c boards: PHYTEC: phyboard_polis: remove mimx8mm prefix
For easier recognition PHYTEC boards have been prefixed with the SoC name.
As the new hardware model includes the SoC and cpu, this prefixing is not
needed anymore. All PHYTEC eval boards have an individual and unique name
and can be found easily via this name.

Signed-off-by: Jonas Remmert <j.remmert@phytec.de>
2024-10-24 14:07:18 +02:00
Jonas Remmert 2ec5fb4a4b boards: PHYTEC: phyboard_pollux: remove mimx8mp prefix
For easier recognition PHYTEC boards have been prefixed with the SoC name.
As the new hardware model includes the SoC and cpu, this prefixing is not
needed anymore. All PHYTEC eval boards have an individual and unique name
and can be found easily via this name.

Signed-off-by: Jonas Remmert <j.remmert@phytec.de>
2024-10-24 14:07:18 +02:00
TOKITA Hiroshi 00c5ff77f1 tests: lib: gui: lvgl: Remove explicitly enabled CONFIG_DUMMY_DISPLAY
The CONFIG_DUMMY_DISPLAY is now enabled in conjunction with devicetree,
So, no need to be explicitly enabled.
Remove the setting.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-24 14:07:11 +02:00
TOKITA Hiroshi 7c076a4d5e samples: drivers: display: Remove explicitly enabled CONFIG_DUMMY_DISPLAY
The CONFIG_DUMMY_DISPLAY is now enabled in conjunction with devicetree,
So, no need to be explicitly enabled.
Remove the setting.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-24 14:07:11 +02:00
TOKITA Hiroshi 868e99aefb drivers: display: dummy: Enable config if `dummy-dc` device available
Enabling the configuration if there is a valid `dummy-dc`
node on the device tree.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2024-10-24 14:07:11 +02:00