1 /* 2 * Copyright (c) 2022 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM6001_H_ 8 #define ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM6001_H_ 9 10 /** 11 * @defgroup regulator_npm6001 NPM6001 Devicetree helpers. 12 * @ingroup regulator_interface 13 * @{ 14 */ 15 16 /** 17 * @name NPM6001 Regulator modes 18 * @{ 19 */ 20 /** Hysteretic mode */ 21 #define NPM6001_MODE_HYS 0 22 /** PWM mode */ 23 #define NPM6001_MODE_PWM 1 24 /** @} */ 25 26 /** @} */ 27 28 #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM6001_H_*/ 29