~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/mfd/max77686.h

Version: ~ [ linux-5.13-rc7 ] ~ [ linux-5.12.12 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.45 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.127 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.195 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.237 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.273 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.273 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.18.140 ] ~ [ linux-3.16.85 ] ~ [ linux-3.14.79 ] ~ [ linux-3.12.74 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0+ */
  2 /*
  3  * max77686.h - Driver for the Maxim 77686/802
  4  *
  5  *  Copyright (C) 2012 Samsung Electrnoics
  6  *  Chiwoong Byun <woong.byun@samsung.com>
  7  *
  8  * This driver is based on max8997.h
  9  *
 10  * MAX77686 has PMIC, RTC devices.
 11  * The devices share the same I2C bus and included in
 12  * this mfd driver.
 13  */
 14 
 15 #ifndef __LINUX_MFD_MAX77686_H
 16 #define __LINUX_MFD_MAX77686_H
 17 
 18 #include <linux/regulator/consumer.h>
 19 
 20 /* MAX77686 regulator IDs */
 21 enum max77686_regulators {
 22         MAX77686_LDO1 = 0,
 23         MAX77686_LDO2,
 24         MAX77686_LDO3,
 25         MAX77686_LDO4,
 26         MAX77686_LDO5,
 27         MAX77686_LDO6,
 28         MAX77686_LDO7,
 29         MAX77686_LDO8,
 30         MAX77686_LDO9,
 31         MAX77686_LDO10,
 32         MAX77686_LDO11,
 33         MAX77686_LDO12,
 34         MAX77686_LDO13,
 35         MAX77686_LDO14,
 36         MAX77686_LDO15,
 37         MAX77686_LDO16,
 38         MAX77686_LDO17,
 39         MAX77686_LDO18,
 40         MAX77686_LDO19,
 41         MAX77686_LDO20,
 42         MAX77686_LDO21,
 43         MAX77686_LDO22,
 44         MAX77686_LDO23,
 45         MAX77686_LDO24,
 46         MAX77686_LDO25,
 47         MAX77686_LDO26,
 48         MAX77686_BUCK1,
 49         MAX77686_BUCK2,
 50         MAX77686_BUCK3,
 51         MAX77686_BUCK4,
 52         MAX77686_BUCK5,
 53         MAX77686_BUCK6,
 54         MAX77686_BUCK7,
 55         MAX77686_BUCK8,
 56         MAX77686_BUCK9,
 57 
 58         MAX77686_REG_MAX,
 59 };
 60 
 61 /* MAX77802 regulator IDs */
 62 enum max77802_regulators {
 63         MAX77802_BUCK1 = 0,
 64         MAX77802_BUCK2,
 65         MAX77802_BUCK3,
 66         MAX77802_BUCK4,
 67         MAX77802_BUCK5,
 68         MAX77802_BUCK6,
 69         MAX77802_BUCK7,
 70         MAX77802_BUCK8,
 71         MAX77802_BUCK9,
 72         MAX77802_BUCK10,
 73         MAX77802_LDO1,
 74         MAX77802_LDO2,
 75         MAX77802_LDO3,
 76         MAX77802_LDO4,
 77         MAX77802_LDO5,
 78         MAX77802_LDO6,
 79         MAX77802_LDO7,
 80         MAX77802_LDO8,
 81         MAX77802_LDO9,
 82         MAX77802_LDO10,
 83         MAX77802_LDO11,
 84         MAX77802_LDO12,
 85         MAX77802_LDO13,
 86         MAX77802_LDO14,
 87         MAX77802_LDO15,
 88         MAX77802_LDO17,
 89         MAX77802_LDO18,
 90         MAX77802_LDO19,
 91         MAX77802_LDO20,
 92         MAX77802_LDO21,
 93         MAX77802_LDO23,
 94         MAX77802_LDO24,
 95         MAX77802_LDO25,
 96         MAX77802_LDO26,
 97         MAX77802_LDO27,
 98         MAX77802_LDO28,
 99         MAX77802_LDO29,
100         MAX77802_LDO30,
101         MAX77802_LDO32,
102         MAX77802_LDO33,
103         MAX77802_LDO34,
104         MAX77802_LDO35,
105 
106         MAX77802_REG_MAX,
107 };
108 
109 enum max77686_opmode {
110         MAX77686_OPMODE_NORMAL,
111         MAX77686_OPMODE_LP,
112         MAX77686_OPMODE_STANDBY,
113 };
114 
115 #endif /* __LINUX_MFD_MAX77686_H */
116 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp