__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2012 Texas Instruments * * Author: Milo(Woogyom) Kim <[email protected]> */ #ifndef __LP872X_REGULATOR_H__ #define __LP872X_REGULATOR_H__ #include <linux/regulator/machine.h> #include <linux/platform_device.h> #include <linux/gpio/consumer.h> #define LP872X_MAX_REGULATORS 9 #define LP8720_ENABLE_DELAY 200 #define LP8725_ENABLE_DELAY 30000 enum lp872x_regulator_id { LP8720_ID_BASE, LP8720_ID_LDO1 = LP8720_ID_BASE, LP8720_ID_LDO2, LP8720_ID_LDO3, LP8720_ID_LDO4, LP8720_ID_LDO5, LP8720_ID_BUCK, LP8725_ID_BASE, LP8725_ID_LDO1 = LP8725_ID_BASE, LP8725_ID_LDO2, LP8725_ID_LDO3, LP8725_ID_LDO4, LP8725_ID_LDO5, LP8725_ID_LILO1, LP8725_ID_LILO2, LP8725_ID_BUCK1, LP8725_ID_BUCK2, LP872X_ID_MAX, }; enum lp872x_dvs_sel { SEL_V1, SEL_V2, }; /** * lp872x_dvs * @gpio : gpio descriptor for dvs control * @vsel : dvs selector for buck v1 or buck v2 register * @init_state : initial dvs pin state */ struct lp872x_dvs { struct gpio_desc *gpio; enum lp872x_dvs_sel vsel; enum gpiod_flags init_state; }; /** * lp872x_regdata * @id : regulator id * @init_data : init data for each regulator */ struct lp872x_regulator_data { enum lp872x_regulator_id id; struct regulator_init_data *init_data; }; /** * lp872x_platform_data * @general_config : the value of LP872X_GENERAL_CFG register * @update_config : if LP872X_GENERAL_CFG register is updated, set true * @regulator_data : platform regulator id and init data * @dvs : dvs data for buck voltage control * @enable_gpio : gpio descriptor for enable control */ struct lp872x_platform_data { u8 general_config; bool update_config; struct lp872x_regulator_data regulator_data[LP872X_MAX_REGULATORS]; struct lp872x_dvs *dvs; struct gpio_desc *enable_gpio; }; #endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| act8865.h | File | 1.45 KB | 0644 |
|
| arizona-ldo1.h | File | 332 B | 0644 |
|
| arizona-micsupp.h | File | 347 B | 0644 |
|
| consumer.h | File | 21.06 KB | 0644 |
|
| coupler.h | File | 3.46 KB | 0644 |
|
| da9121.h | File | 956 B | 0644 |
|
| da9211.h | File | 757 B | 0644 |
|
| db8500-prcmu.h | File | 1011 B | 0644 |
|
| driver.h | File | 31.32 KB | 0644 |
|
| fan53555.h | File | 1.2 KB | 0644 |
|
| fixed.h | File | 1.7 KB | 0644 |
|
| gpio-regulator.h | File | 2.13 KB | 0644 |
|
| lp3971.h | File | 763 B | 0644 |
|
| lp3972.h | File | 661 B | 0644 |
|
| lp872x.h | File | 1.83 KB | 0644 |
|
| machine.h | File | 10.52 KB | 0644 |
|
| max1586.h | File | 1.48 KB | 0644 |
|
| max8649.h | File | 830 B | 0644 |
|
| max8660.h | File | 966 B | 0644 |
|
| max8952.h | File | 2.24 KB | 0644 |
|
| max8973-regulator.h | File | 2.25 KB | 0644 |
|
| mt6311.h | File | 439 B | 0644 |
|
| mt6315-regulator.h | File | 1.08 KB | 0644 |
|
| mt6323-regulator.h | File | 830 B | 0644 |
|
| mt6331-regulator.h | File | 900 B | 0644 |
|
| mt6332-regulator.h | File | 544 B | 0644 |
|
| mt6357-regulator.h | File | 892 B | 0644 |
|
| mt6358-regulator.h | File | 1.77 KB | 0644 |
|
| mt6359-regulator.h | File | 1.13 KB | 0644 |
|
| mt6380-regulator.h | File | 475 B | 0644 |
|
| mt6397-regulator.h | File | 808 B | 0644 |
|
| of_regulator.h | File | 1.09 KB | 0644 |
|
| pca9450.h | File | 6.04 KB | 0644 |
|
| pfuze100.h | File | 1.62 KB | 0644 |
|
| tps51632-regulator.h | File | 978 B | 0644 |
|
| tps62360.h | File | 978 B | 0644 |
|
| tps6507x.h | File | 512 B | 0644 |
|
| userspace-consumer.h | File | 696 B | 0644 |
|