Skip to content
Permalink
Branch: master
Commits on Jun 17, 2019
  1. drivers: Define COUNTER_LOG_LEVEL using template

    mnkp authored and nashif committed Jun 11, 2019
    This commit updates counter Kconfig to use logger template to define
    COUNTER_LOG_LEVEL option.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Jun 15, 2019
  1. scripts/dts: generate DT_ALIAS_<ALIAS>_<PROP> defines

    mnkp authored and galak committed Jun 6, 2019
    DT_ALIAS_<ALIAS>_<PROP> defines are a convenient and portable way to get
    the device instance name despite different naming conventions used by
    the device drivers.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Jun 11, 2019
  1. drivers: Add counter driver (RTCC) for SiLabs Gecko SoCs

    mnkp authored and nashif committed May 17, 2019
    This commit adds counter driver based on RTCC module for SiLabs Gecko
    SoCs.
    
    Tested with SLWSTK6061A / BRD4250B wireless starter kit.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on May 12, 2019
  1. boards: add jlink runner for efr32_slwstk6061a board

    mnkp authored and nashif committed Mar 25, 2019
    This commit adds J-Link runner for efr32_slwstk6061a board. To use it
    it is necessary to install J-Link Software and Documentation Pack.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on May 9, 2019
  1. board: efr32_slwstk6061a enable SoC DC-DC converter

    mnkp authored and MaureenHelm committed May 8, 2019
    This commit enables internal SoC DC-DC converter on efr32_slwstk6061a
    board.
    
    RF components on efr32_slwstk6061a board are connected to the internal
    SoC DC-DC converter. Upon startup the DC-DC converter is configured in
    the bypass mode. Such configuration provides enough power for the SoC to
    boot and perform basic operation. It is not enough however to operate
    the radio subsystem. Without this patch enabling radio in Rx or Tx mode
    causes voltage drop and triggers brown out detector reset.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Apr 26, 2019
  1. flash_gecko: add support for page layout

    mnkp authored and galak committed Apr 2, 2019
    This commit adds support for FLASH_PAGE_LAYOUT Kconfig option in the
    flash_gecko driver.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Apr 8, 2019
  1. doc: add example of how to build MCUBoot app with west

    mnkp authored and nashif committed Apr 4, 2019
    This commit extends existing documentation by providing an example
    of how to build Hello World sample application for MCUboot using
    west.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Apr 3, 2019
  1. logging: Add support for new 'in place' mode to SWO backend

    mnkp authored and nashif committed Mar 26, 2019
    Extended SWO backend to support new backend API for 'in place'
    mode.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Mar 26, 2019
  1. console: deprecate console_register_line_input()

    mnkp authored and galak committed Mar 20, 2019
    console_register_line_input() is a legacy function which forces console
    subsystem to keep dependency on drivers/console. The two console
    implementations are meant to be independent.
    
    Console subsystem provides console_getline() function, which should be
    used instead.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  2. doc: update power management subystem documentation

    mnkp authored and nashif committed Mar 18, 2019
    This commit brings power management subystem documentation up to date
    with the implementation. The main changes since the last time the
    documentation was updated include introduction of power managment
    policies.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  3. power: rename residency policy Kconfig options

    mnkp authored and nashif committed Mar 16, 2019
    Rename power managment subsystem Kconfig options describing minimum
    residency to make them easier to identify with respective policy.
    
    Following is a detailed list of string replacements used:
    s/SYS_PM_SLEEP_(\d)_MIN_RES/SYS_PM_MIN_RESIDENCY_SLEEP_$1/
    s/SYS_PM_DEEP_SLEEP_(\d)_MIN_RES/SYS_PM_MIN_RESIDENCY_DEEP_SLEEP_$1/
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  4. power: modify HAS_STATE_SLEEP_ Kconfig options

    mnkp authored and nashif committed Mar 16, 2019
    Add SYS_POWER_ prefix to HAS_STATE_SLEEP_, HAS_STATE_DEEP_SLEEP_
    options to align them with names of power states they control.
    Following is a detailed list of string replacements used:
    s/HAS_STATE_SLEEP_(\d)/HAS_SYS_POWER_STATE_SLEEP_$1/
    s/HAS_STATE_DEEP_SLEEP_(\d)/HAS_SYS_POWER_STATE_DEEP_SLEEP_$1/
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  5. power: clean up system power managment function names

    mnkp authored and nashif committed Mar 5, 2019
    This commit cleans up names of system power management functions by
    assuring that:
    - all functions start with 'sys_pm_' prefix
    - API functions which should not be exposed to the user start with '_'
    - name of the function hints at its purpose
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  6. power: rename Low Power States to Sleep States

    mnkp authored and nashif committed Feb 28, 2019
    There exists SoCs, e.g. STM32L4, where one of the low power modes
    reduces CPU frequency and supply voltage but does not stop the CPU. Such
    power modes are currently not supported by Zephyr.
    
    To facilitate adding support for such class of power modes in the future
    and to ensure the naming convention makes it clear that the currently
    supported power modes stop the CPU this commit renames Low Power States
    to Slep States and updates the documentation.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Feb 26, 2019
  1. power: doc: fix usage of 'low power state' phrase

    mnkp authored and nashif committed Feb 24, 2019
    The phrase 'low power state' is often incorrectly used to indicate
    'low power' or 'deep sleep' states. This commit fixes the ambiguities
    by renaming 'low power state' to 'power state' where necessary.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  2. power: rename CPU_LPS_n power states

    mnkp authored and nashif committed Feb 23, 2019
    CPU_LPS_n name used to indicate a low power state is cryptic and
    incorrect. The low power states act on the whole SoC and not exclusively
    on the CPU. This patch renames CPU_LPS_n states to LOW_POWER_n. Also
    HAS_ pattern for Kconfig options is used in favor of a non standard
    _SUPPORTED. Naming of deep sleep states was adjusted accordingly.
    
    Following is a detailed list of string replacements used:
    s/SYS_POWER_STATE_CPU_LPS_(\d)_SUPPORTED/HAS_STATE_LOW_POWER_$1/
    s/SYS_POWER_STATE_CPU_LPS_(\d)/SYS_POWER_STATE_LOW_POWER_$1/
    s/SYS_POWER_STATE_DEEP_SLEEP_(\d)_SUPPORTED/HAS_STATE_DEEP_SLEEP_$1/
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  3. power: simplify SYS_POWER_*_SUPPORTED Kconfig options

    mnkp authored and nashif committed Feb 23, 2019
    This commit removes dependency on SYS_POWER_LOW_POWER_STATES_SUPPORTED,
    SYS_POWER_DEEP_SLEEP_STATES_SUPPORTED Kconfig options. Power management
    SYS_POWER_LOW_POWER_STATES, SYS_POWER_DEEP_SLEEP_STATES options depend
    now directly on specific power states supported by the given SoC. This
    simplifies maintenance of SoC Kconfig files.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Feb 23, 2019
  1. ext: silabs: rename ramfunc section to match Zephyr's

    mnkp authored and nashif committed Feb 22, 2019
    Functions which have to be located in RAM are placed by SiLabs library
    code in section '.ram'. Corresponding section used by Zephyr is called
    '.ramfunc'. This patch renames SiLabs naming to match Zephyr's.
    
    This solution was chosen over adding '.ram' function to Zephyr linker
    scripts not to pollute them. However, this patch needs to be reapplied
    every time SiLabs library version is updated.
    
    Fixes #13192
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Feb 22, 2019
  1. soc: silabs: add support for setting low power states

    mnkp authored and galak committed Feb 12, 2019
    This commit adds sys_set_power_state() function with support for EM1
    Sleep, EM2 Deep Sleep, EM3 Stop power modes on Silabs SoCs.
    
    Tested on efr32_slwstk6061a board.
    
    Note: No support for efm32hg, efm32wg series at this point due to the
    missing possibility of placing function code in RAM, required by errata
    in SiLabs library code.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  2. soc: silabs_exx32: register 'soc' logger module

    mnkp authored and galak committed Feb 13, 2019
    'soc' logger module may be used by any SoC related code located in soc/.
    An implementation file requiring logger services should include
    LOG_MODULE_DECLARE(soc, CONFIG_SOC_LOG_LEVEL);
    to use the 'soc' logger instance.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Feb 8, 2019
  1. api: counter: rename counter_disable_channel_alarm()

    mnkp authored and carlescufi committed Feb 7, 2019
    The function to set channel alarm is called counter_set_channel_alarm.
    To match the name of the function performing the reverse operation this
    commit renames counter_disable_channel_alarm() function to
    counter_cancel_channel_alarm().
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Feb 2, 2019
  1. drivers: i2c_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines

    mnkp authored and nashif committed Feb 1, 2019
    Use the new DT_<COMPAT>_<INSTANCE>_<PROP> defines to instantiate
    devices. This commit adds also ability to define individual pin
    locations on SoC series that support the feature. Definitions of GPIO
    pins assigned to a given location have been moved from soc_pinmap.h file
    to board DTS file.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Feb 1, 2019
  1. api: gpio: deprecate all gpio_port_ functions

    mnkp authored and nashif committed Jan 31, 2019
    The gpio_port_ functions provided by the gpio API do not provide
    currently a mask parameter. As such they operate on a full port only.
    In practice such functions are not useful. This commit deprecates them
    to allow adding port functions with support for a mask parameter in the
    future.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  2. drivers: mb_display: remove usage of gpio_port_ functions.

    mnkp authored and nashif committed Jan 31, 2019
    gpio_port_ functions are being deprecated. This commit removes their
    usage.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  3. samples: convert altera_max10/pio to use gpio_pin functions

    mnkp authored and nashif committed Jan 31, 2019
    gpio_port_* functions are being deprecated. Convert boards/altera_max10
    sample to use gpio_pin_* functions instead.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  4. drivers: leuart_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines

    mnkp authored and galak committed Jan 31, 2019
    Use the new DT_<COMPAT>_<INSTANCE>_<PROP> defines to instantiate
    devices. This commit adds also ability to define individual pin
    locations on SoC series that support the feature. Definitions of GPIO
    pins assigned to a given location have been moved from soc_pinmap.h file
    to board DTS file.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Jan 31, 2019
  1. drivers: uart_gecko: use DT_<COMPAT>_<INSTANCE>_<PROP> defines

    mnkp authored and galak committed Jan 14, 2019
    Use the new DT_<COMPAT>_<INSTANCE>_<PROP> defines to instantiate
    devices. This commit adds also ability to define individual pin
    locations on SoC series that support the feature. Definitions of GPIO
    pins assigned to a given location have been moved from soc_pinmap.h file
    to board DTS file.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Jan 9, 2019
  1. soc: same70: Add SWO logger support

    mnkp authored and carlescufi committed Jan 4, 2019
    This commit configures ETM/TPIU clock upon startup in case SWO logger
    backend is enabled on Atmel SAM E70 SoC.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  2. ext: same70: Add missing PMC_SR_PCKRDY3 define

    mnkp authored and carlescufi committed Jan 4, 2019
    PMC_SR_PCKRDY3 is required to enable PCK3 clock used by the ETM/TPIU
    module.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  3. soc: silabs_exx32: Add SWO logger support

    mnkp authored and carlescufi committed Dec 27, 2018
    By default, after reset SWO signal is not connected to GPIO pin. This
    commit adds required initialization code to enable support for SWO
    logger. Not all SoC series support the feature.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  4. logger: add a SWO backend

    mnkp authored and carlescufi committed Dec 20, 2018
    This commit adds Serial Wire Output (SWO) logger backend. SWO is an
    extension of Serial Wire Debug (SWD) port developed by ARM.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Commits on Jan 8, 2019
  1. soc: silabs_exx32: Add independent Kconfig options for HAL libraries

    mnkp authored and galak committed Dec 12, 2018
    Zephyr gecko drivers depend on libraries provided by the vendor. The
    same libraries may also be used directly by the application code or
    RAIL library. To facilitate the latter use case scenario this commit
    adds Kconfig options to independently enable compilation of vendor
    HAL library modules.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  2. drivers: i2c: add missing I2C_GECKO Kconfig option

    mnkp authored and galak committed Dec 12, 2018
    This commit adds missing I2C_GECKO Kconfig option which currently is
    being set implicitly via .defconfig file.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  3. dts: silabs: use 'aliases' to remove dts_fixup defines

    mnkp authored and galak committed Nov 28, 2018
    By adding 'aliases' node in SoC .dtsi file it is possible to generate
    DT_ defines which specify a logical name rather than relay on module
    location on APB bus. E.g. DT_SILABS_GECKO_USART_40010000_LABEL becomes
    DT_SILABS_GECKO_USART_USART_0_LABEL. Thus it is possible to remove
    dts_fixup.h defines.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
  4. drivers: i2c: remove deprecated i2c_atmel_sam3 driver

    mnkp authored and galak committed Jan 7, 2019
    The i2c_atmel_sam3 driver was deprecated at release 1.9, this commit
    removes it. Also pinmux_dev_atmel_sam3x driver is removed.
    i2c_atmel_sam3 was the last one which depended on it.
    
    Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
Older
You can’t perform that action at this time.