From 0c2e2b7d8fd795c24abc7bfd3752eb3e366155eb Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 17 Aug 2020 08:16:38 +0200 Subject: dts: update to v5.9-rc1 Signed-off-by: Sascha Hauer --- dts/include/dt-bindings/regulator/dlg,da9211-regulator.h | 16 ++++++++++++++++ .../dt-bindings/regulator/mediatek,mt6397-regulator.h | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dts/include/dt-bindings/regulator/dlg,da9211-regulator.h create mode 100644 dts/include/dt-bindings/regulator/mediatek,mt6397-regulator.h (limited to 'dts/include/dt-bindings/regulator') diff --git a/dts/include/dt-bindings/regulator/dlg,da9211-regulator.h b/dts/include/dt-bindings/regulator/dlg,da9211-regulator.h new file mode 100644 index 0000000000..cdce2d54c8 --- /dev/null +++ b/dts/include/dt-bindings/regulator/dlg,da9211-regulator.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _DT_BINDINGS_REGULATOR_DLG_DA9211_H +#define _DT_BINDINGS_REGULATOR_DLG_DA9211_H + +/* + * These buck mode constants may be used to specify values in device tree + * properties (e.g. regulator-initial-mode, regulator-allowed-modes). + * A description of the following modes is in the manufacturers datasheet. + */ + +#define DA9211_BUCK_MODE_SLEEP 1 +#define DA9211_BUCK_MODE_SYNC 2 +#define DA9211_BUCK_MODE_AUTO 3 + +#endif diff --git a/dts/include/dt-bindings/regulator/mediatek,mt6397-regulator.h b/dts/include/dt-bindings/regulator/mediatek,mt6397-regulator.h new file mode 100644 index 0000000000..99869a8665 --- /dev/null +++ b/dts/include/dt-bindings/regulator/mediatek,mt6397-regulator.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _DT_BINDINGS_REGULATOR_MEDIATEK_MT6397_H_ +#define _DT_BINDINGS_REGULATOR_MEDIATEK_MT6397_H_ + +/* + * Buck mode constants which may be used in devicetree properties (eg. + * regulator-initial-mode, regulator-allowed-modes). + * See the manufacturer's datasheet for more information on these modes. + */ + +#define MT6397_BUCK_MODE_AUTO 0 +#define MT6397_BUCK_MODE_FORCE_PWM 1 + +#endif -- cgit v1.2.3