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_NPM1100_H_ 8 #define ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM1100_H_ 9 10 /** 11 * @defgroup regulator_npm1100 NPM1100 Devicetree helpers. 12 * @ingroup regulator_interface 13 * @{ 14 */ 15 16 /** 17 * @name NPM1100 Regulator modes 18 * @{ 19 */ 20 /** Automatic mode */ 21 #define NPM1100_MODE_AUTO 0 22 /** PWM mode */ 23 #define NPM1100_MODE_PWM 1 24 /** @} */ 25 26 /** @} */ 27 28 #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_NPM1100_H_*/ 29