Server IP : 103.169.32.36 / Your IP : 216.73.217.13 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/modules/3.10.0-1160.119.1.el7.x86_64/build/include/linux/regulator/ |
Upload File : |
| Current File : /usr/lib/modules/3.10.0-1160.119.1.el7.x86_64/build/include/linux/regulator/max8952.h |
/*
* max8952.h - Voltage regulation for the Maxim 8952
*
* Copyright (C) 2010 Samsung Electrnoics
* MyungJoo Ham <myungjoo.ham@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef REGULATOR_MAX8952
#define REGULATOR_MAX8952
#include <linux/regulator/machine.h>
enum {
MAX8952_DVS_MODE0,
MAX8952_DVS_MODE1,
MAX8952_DVS_MODE2,
MAX8952_DVS_MODE3,
};
enum {
MAX8952_DVS_770mV = 0,
MAX8952_DVS_780mV,
MAX8952_DVS_790mV,
MAX8952_DVS_800mV,
MAX8952_DVS_810mV,
MAX8952_DVS_820mV,
MAX8952_DVS_830mV,
MAX8952_DVS_840mV,
MAX8952_DVS_850mV,
MAX8952_DVS_860mV,
MAX8952_DVS_870mV,
MAX8952_DVS_880mV,
MAX8952_DVS_890mV,
MAX8952_DVS_900mV,
MAX8952_DVS_910mV,
MAX8952_DVS_920mV,
MAX8952_DVS_930mV,
MAX8952_DVS_940mV,
MAX8952_DVS_950mV,
MAX8952_DVS_960mV,
MAX8952_DVS_970mV,
MAX8952_DVS_980mV,
MAX8952_DVS_990mV,
MAX8952_DVS_1000mV,
MAX8952_DVS_1010mV,
MAX8952_DVS_1020mV,
MAX8952_DVS_1030mV,
MAX8952_DVS_1040mV,
MAX8952_DVS_1050mV,
MAX8952_DVS_1060mV,
MAX8952_DVS_1070mV,
MAX8952_DVS_1080mV,
MAX8952_DVS_1090mV,
MAX8952_DVS_1100mV,
MAX8952_DVS_1110mV,
MAX8952_DVS_1120mV,
MAX8952_DVS_1130mV,
MAX8952_DVS_1140mV,
MAX8952_DVS_1150mV,
MAX8952_DVS_1160mV,
MAX8952_DVS_1170mV,
MAX8952_DVS_1180mV,
MAX8952_DVS_1190mV,
MAX8952_DVS_1200mV,
MAX8952_DVS_1210mV,
MAX8952_DVS_1220mV,
MAX8952_DVS_1230mV,
MAX8952_DVS_1240mV,
MAX8952_DVS_1250mV,
MAX8952_DVS_1260mV,
MAX8952_DVS_1270mV,
MAX8952_DVS_1280mV,
MAX8952_DVS_1290mV,
MAX8952_DVS_1300mV,
MAX8952_DVS_1310mV,
MAX8952_DVS_1320mV,
MAX8952_DVS_1330mV,
MAX8952_DVS_1340mV,
MAX8952_DVS_1350mV,
MAX8952_DVS_1360mV,
MAX8952_DVS_1370mV,
MAX8952_DVS_1380mV,
MAX8952_DVS_1390mV,
MAX8952_DVS_1400mV,
};
enum {
MAX8952_SYNC_FREQ_26MHZ, /* Default */
MAX8952_SYNC_FREQ_13MHZ,
MAX8952_SYNC_FREQ_19_2MHZ,
};
enum {
MAX8952_RAMP_32mV_us = 0, /* Default */
MAX8952_RAMP_16mV_us,
MAX8952_RAMP_8mV_us,
MAX8952_RAMP_4mV_us,
MAX8952_RAMP_2mV_us,
MAX8952_RAMP_1mV_us,
MAX8952_RAMP_0_5mV_us,
MAX8952_RAMP_0_25mV_us,
};
#define MAX8952_NUM_DVS_MODE 4
struct max8952_platform_data {
int gpio_vid0;
int gpio_vid1;
int gpio_en;
u32 default_mode;
u32 dvs_mode[MAX8952_NUM_DVS_MODE]; /* MAX8952_DVS_MODEx_XXXXmV */
u32 sync_freq;
u32 ramp_speed;
struct regulator_init_data *reg_data;
};
#endif /* REGULATOR_MAX8952 */
| N4m3 |
5!z3 |
L45t M0d!f!3d |
0wn3r / Gr0up |
P3Rm!55!0n5 |
0pt!0n5 |
| .. |
-- |
September 29 2025 07:01:23 |
0 / 0 |
0755 |
|
| | | | | |
| ab8500.h |
7.598 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| consumer.h |
17.309 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| db8500-prcmu.h |
1.139 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| driver.h |
12.628 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| fan53555.h |
1.324 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| fixed.h |
2.41 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| gpio-regulator.h |
2.401 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| lp3971.h |
1.382 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| lp3972.h |
1.282 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| lp872x.h |
1.89 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| machine.h |
6.588 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| max1586.h |
2.132 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| max8649.h |
0.953 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| max8660.h |
1.547 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| max8952.h |
2.938 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| max8973-regulator.h |
2.738 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| of_regulator.h |
0.912 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| tps51632-regulator.h |
1.615 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| tps62360.h |
1.854 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| tps6507x.h |
1.091 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|
| userspace-consumer.h |
0.621 KB |
November 06 2023 09:15:52 |
0 / 0 |
0644 |
|