zephyr/drivers/hwinfo
Piotr Dymacz 634416bc49 drivers: hwinfo: add driver for TI SimpleLink CC13xx/CC26xx series
Introduce hwinfo driver for Texas Instruments SimpleLink CC13xx/CC26xx
SOC series, with support for retrieving device's ID and cause of reset.

By default, the pre-programmed, 8-bytes length IEEE MAC address is used
for device's ID, with option ('HWINFO_CC13XX_CC26XX_USE_BLE_MAC') for
use 6-bytes length BLE MAC instead. By default, read-only values stored
in FCFG (Factory Configuration) are used but additional Kconfig option
('HWINFO_CC13XX_CC26XX_ALWAYS_USE_FACTORY_DEFAULT') is also provided,
which allows to use values from writable CCFG (Customer Configuration)
area. In all cases, device ID value is provided in big-endian which
matches what TI's UniFlash tool returns.

For reset cause, 'SysCtrlResetSourceGet()' function from TI's driver
library is used and its value is mapped to Zephyr's implementation.
Importantly, only root cause of reset is available on CC13xx/CC26xx
platform as described in MCU Technical Reference Manual ('RESET_SRC'
field in 'RESETCTL' register):

  "Shows the root cause of the last system reset. More than the
   reported reset source can have been active during the last
   system reset but only the root cause is reported."

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2023-09-21 08:07:35 -04:00
..
CMakeLists.txt drivers: hwinfo: add driver for TI SimpleLink CC13xx/CC26xx series 2023-09-21 08:07:35 -04:00
hwinfo_andes.c drivers: hwinfo: andes: Improve hwinfo_andes driver 2023-07-17 13:19:37 +00:00
hwinfo_cc13xx_cc26xx.c drivers: hwinfo: add driver for TI SimpleLink CC13xx/CC26xx series 2023-09-21 08:07:35 -04:00
hwinfo_esp32.c soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
hwinfo_gecko.c hwinfo: gecko: fix warning when building for efr32bg27_brd2602a 2023-07-21 12:54:01 -04:00
hwinfo_handlers.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_imxrt.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_litex.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_mcux_rcm.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_mcux_sim.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_mcux_src.c drivers: src: hwinfo: Report reset cause for lockup_sysresetreq 2023-06-26 16:14:14 +02:00
hwinfo_mcux_src_rev2.c drivers: hwinfo: mcux: update include paths 2022-05-09 12:45:29 -04:00
hwinfo_mcux_syscon.c drivers: hwinfo: Fix mcux device id 2022-08-02 13:40:04 -05:00
hwinfo_nrf.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_psoc6.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_rpi_pico.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_sam.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
hwinfo_sam0.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_sam4l.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
hwinfo_sam_rstc.c init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
hwinfo_shell.c drivers: hwinfo: shell: Add missing reset cause strings 2022-07-07 17:59:19 +00:00
hwinfo_stm32.c drivers: hwinfo: modification into hwinfo_get_reset_cause() 2023-04-17 10:15:35 +02:00
hwinfo_weak_impl.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
Kconfig drivers: hwinfo: add driver for TI SimpleLink CC13xx/CC26xx series 2023-09-21 08:07:35 -04:00