1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * wm8400 client interface 3 * wm8400 client interface 4 * 4 * 5 * Copyright 2008 Wolfson Microelectronics plc 5 * Copyright 2008 Wolfson Microelectronics plc 6 */ 6 */ 7 7 8 #ifndef __LINUX_MFD_WM8400_H 8 #ifndef __LINUX_MFD_WM8400_H 9 #define __LINUX_MFD_WM8400_H 9 #define __LINUX_MFD_WM8400_H 10 10 11 #include <linux/regulator/machine.h> 11 #include <linux/regulator/machine.h> 12 12 13 #define WM8400_LDO1 0 13 #define WM8400_LDO1 0 14 #define WM8400_LDO2 1 14 #define WM8400_LDO2 1 15 #define WM8400_LDO3 2 15 #define WM8400_LDO3 2 16 #define WM8400_LDO4 3 16 #define WM8400_LDO4 3 17 #define WM8400_DCDC1 4 17 #define WM8400_DCDC1 4 18 #define WM8400_DCDC2 5 18 #define WM8400_DCDC2 5 19 19 20 struct wm8400_platform_data { 20 struct wm8400_platform_data { 21 int (*platform_init)(struct device *de 21 int (*platform_init)(struct device *dev); 22 }; 22 }; 23 23 24 int wm8400_register_regulator(struct device *d 24 int wm8400_register_regulator(struct device *dev, int reg, 25 struct regulator 25 struct regulator_init_data *initdata); 26 26 27 #endif 27 #endif 28 28
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.