1/* $NetBSD: dlg,da9211-regulator.h,v 1.1.1.1 2021/11/07 16:49:57 jmcneill Exp $ */ 2 3/* SPDX-License-Identifier: GPL-2.0 */ 4 5#ifndef _DT_BINDINGS_REGULATOR_DLG_DA9211_H 6#define _DT_BINDINGS_REGULATOR_DLG_DA9211_H 7 8/* 9 * These buck mode constants may be used to specify values in device tree 10 * properties (e.g. regulator-initial-mode, regulator-allowed-modes). 11 * A description of the following modes is in the manufacturers datasheet. 12 */ 13 14#define DA9211_BUCK_MODE_SLEEP 1 15#define DA9211_BUCK_MODE_SYNC 2 16#define DA9211_BUCK_MODE_AUTO 3 17 18#endif 19