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

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

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ 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.12 ] ~ [ 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 | 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.

sflogo.php