LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/regulator - npm1300.h Hit Total Coverage
Test: new.info Lines: 0 12 0.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           0 : /*
       2             :  * Copyright (c) 2023 Nordic Semiconductor ASA
       3             :  *
       4             :  * SPDX-License-Identifier: Apache-2.0
       5             :  */
       6             : 
       7             : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM1300_H_
       8             : #define ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM1300_H_
       9             : 
      10             : /**
      11             :  * @defgroup regulator_npm1300 NPM1300 Devicetree helpers.
      12             :  * @ingroup regulator_interface
      13             :  * @{
      14             :  */
      15             : 
      16             : /**
      17             :  * @name NPM1300 Regulator modes
      18             :  * @{
      19             :  */
      20             : /* Buck modes */
      21           0 : #define NPM1300_BUCK_MODE_AUTO 0x00U
      22           0 : #define NPM1300_BUCK_MODE_PWM  0x01U
      23           0 : #define NPM1300_BUCK_MODE_PFM  0x04U
      24             : 
      25             : /* LDSW / LDO modes */
      26           0 : #define NPM1300_LDSW_MODE_LDO  0x02U
      27           0 : #define NPM1300_LDSW_MODE_LDSW 0x03U
      28             : 
      29             : /* GPIO control configuration */
      30           0 : #define NPM1300_GPIO_CHAN_NONE 0x00U
      31           0 : #define NPM1300_GPIO_CHAN_0    0x01U
      32           0 : #define NPM1300_GPIO_CHAN_1    0x02U
      33           0 : #define NPM1300_GPIO_CHAN_2    0x03U
      34           0 : #define NPM1300_GPIO_CHAN_3    0x04U
      35           0 : #define NPM1300_GPIO_CHAN_4    0x05U
      36             : 
      37             : /** @} */
      38             : 
      39             : /** @} */
      40             : 
      41             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM1300_H_*/

Generated by: LCOV version 1.14