__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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-or-later */
/*
* max1586.h -- Voltage regulation for the Maxim 1586
*
* Copyright (C) 2008 Robert Jarzmik
*/
#ifndef REGULATOR_MAX1586
#define REGULATOR_MAX1586
#include <linux/regulator/machine.h>
#define MAX1586_V3 0
#define MAX1586_V6 1
/* precalculated values for v3_gain */
#define MAX1586_GAIN_NO_R24 1000000 /* 700000 .. 1475000 mV */
#define MAX1586_GAIN_R24_3k32 1051098 /* 735768 .. 1550369 mV */
#define MAX1586_GAIN_R24_5k11 1078648 /* 755053 .. 1591005 mV */
#define MAX1586_GAIN_R24_7k5 1115432 /* 780802 .. 1645262 mV */
/**
* max1586_subdev_data - regulator data
* @id: regulator Id (either MAX1586_V3 or MAX1586_V6)
* @name: regulator cute name (example for V3: "vcc_core")
* @platform_data: regulator init data (constraints, supplies, ...)
*/
struct max1586_subdev_data {
int id;
const char *name;
struct regulator_init_data *platform_data;
};
/**
* max1586_platform_data - platform data for max1586
* @num_subdevs: number of regulators used (may be 1 or 2)
* @subdevs: regulator used
* At most, there will be a regulator for V3 and one for V6 voltages.
* @v3_gain: gain on the V3 voltage output multiplied by 1e6.
* This can be calculated as ((1 + R24/R25 + R24/185.5kOhm) * 1e6)
* for an external resistor configuration as described in the
* data sheet (R25=100kOhm).
*/
struct max1586_platform_data {
int num_subdevs;
struct max1586_subdev_data *subdevs;
int v3_gain;
};
#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 |
|