1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 2 /* 1 /* 3 * wm8400 client interface 2 * wm8400 client interface 4 * 3 * 5 * Copyright 2008 Wolfson Microelectronics plc 4 * Copyright 2008 Wolfson Microelectronics plc >> 5 * >> 6 * This program is free software; you can redistribute it and/or modify >> 7 * it under the terms of the GNU General Public License as published by >> 8 * the Free Software Foundation; either version 2 of the License, or >> 9 * (at your option) any later version. >> 10 * >> 11 * This program is distributed in the hope that it will be useful, >> 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of >> 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> 14 * GNU General Public License for more details. >> 15 * >> 16 * You should have received a copy of the GNU General Public License >> 17 * along with this program; if not, write to the Free Software >> 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 6 */ 19 */ 7 20 8 #ifndef __LINUX_MFD_WM8400_H 21 #ifndef __LINUX_MFD_WM8400_H 9 #define __LINUX_MFD_WM8400_H 22 #define __LINUX_MFD_WM8400_H 10 23 11 #include <linux/regulator/machine.h> 24 #include <linux/regulator/machine.h> 12 25 13 #define WM8400_LDO1 0 26 #define WM8400_LDO1 0 14 #define WM8400_LDO2 1 27 #define WM8400_LDO2 1 15 #define WM8400_LDO3 2 28 #define WM8400_LDO3 2 16 #define WM8400_LDO4 3 29 #define WM8400_LDO4 3 17 #define WM8400_DCDC1 4 30 #define WM8400_DCDC1 4 18 #define WM8400_DCDC2 5 31 #define WM8400_DCDC2 5 19 32 20 struct wm8400_platform_data { 33 struct wm8400_platform_data { 21 int (*platform_init)(struct device *de 34 int (*platform_init)(struct device *dev); 22 }; 35 }; 23 36 24 int wm8400_register_regulator(struct device *d 37 int wm8400_register_regulator(struct device *dev, int reg, 25 struct regulator 38 struct regulator_init_data *initdata); 26 39 27 #endif 40 #endif 28 41
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.