mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-10-30 07:38:52 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
28
include/linux/iio/dac/ad5421.h
Normal file
28
include/linux/iio/dac/ad5421.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef __IIO_DAC_AD5421_H__
|
||||
#define __IIO_DAC_AD5421_H__
|
||||
|
||||
/**
|
||||
* enum ad5421_current_range - Current range the AD5421 is configured for.
|
||||
* @AD5421_CURRENT_RANGE_4mA_20mA: 4 mA to 20 mA (RANGE1,0 pins = 00)
|
||||
* @AD5421_CURRENT_RANGE_3mA8_21mA: 3.8 mA to 21 mA (RANGE1,0 pins = x1)
|
||||
* @AD5421_CURRENT_RANGE_3mA2_24mA: 3.2 mA to 24 mA (RANGE1,0 pins = 10)
|
||||
*/
|
||||
|
||||
enum ad5421_current_range {
|
||||
AD5421_CURRENT_RANGE_4mA_20mA,
|
||||
AD5421_CURRENT_RANGE_3mA8_21mA,
|
||||
AD5421_CURRENT_RANGE_3mA2_24mA,
|
||||
};
|
||||
|
||||
/**
|
||||
* struct ad5421_platform_data - AD5421 DAC driver platform data
|
||||
* @external_vref: whether an external reference voltage is used or not
|
||||
* @current_range: Current range the AD5421 is configured for
|
||||
*/
|
||||
|
||||
struct ad5421_platform_data {
|
||||
bool external_vref;
|
||||
enum ad5421_current_range current_range;
|
||||
};
|
||||
|
||||
#endif
|
||||
16
include/linux/iio/dac/ad5504.h
Normal file
16
include/linux/iio/dac/ad5504.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* AD5504 SPI DAC driver
|
||||
*
|
||||
* Copyright 2011 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2.
|
||||
*/
|
||||
|
||||
#ifndef SPI_AD5504_H_
|
||||
#define SPI_AD5504_H_
|
||||
|
||||
struct ad5504_platform_data {
|
||||
u16 vref_mv;
|
||||
};
|
||||
|
||||
#endif /* SPI_AD5504_H_ */
|
||||
25
include/linux/iio/dac/ad5791.h
Normal file
25
include/linux/iio/dac/ad5791.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* AD5791 SPI DAC driver
|
||||
*
|
||||
* Copyright 2011 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2.
|
||||
*/
|
||||
|
||||
#ifndef SPI_AD5791_H_
|
||||
#define SPI_AD5791_H_
|
||||
|
||||
/**
|
||||
* struct ad5791_platform_data - platform specific information
|
||||
* @vref_pos_mv: Vdd Positive Analog Supply Volatge (mV)
|
||||
* @vref_neg_mv: Vdd Negative Analog Supply Volatge (mV)
|
||||
* @use_rbuf_gain2: ext. amplifier connected in gain of two configuration
|
||||
*/
|
||||
|
||||
struct ad5791_platform_data {
|
||||
u16 vref_pos_mv;
|
||||
u16 vref_neg_mv;
|
||||
bool use_rbuf_gain2;
|
||||
};
|
||||
|
||||
#endif /* SPI_AD5791_H_ */
|
||||
15
include/linux/iio/dac/max517.h
Normal file
15
include/linux/iio/dac/max517.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* MAX517 DAC driver
|
||||
*
|
||||
* Copyright 2011 Roland Stigge <stigge@antcom.de>
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
#ifndef IIO_DAC_MAX517_H_
|
||||
#define IIO_DAC_MAX517_H_
|
||||
|
||||
struct max517_platform_data {
|
||||
u16 vref_mv[2];
|
||||
};
|
||||
|
||||
#endif /* IIO_DAC_MAX517_H_ */
|
||||
16
include/linux/iio/dac/mcp4725.h
Normal file
16
include/linux/iio/dac/mcp4725.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* MCP4725 DAC driver
|
||||
*
|
||||
* Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net>
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#ifndef IIO_DAC_MCP4725_H_
|
||||
#define IIO_DAC_MCP4725_H_
|
||||
|
||||
struct mcp4725_platform_data {
|
||||
u16 vref_mv;
|
||||
};
|
||||
|
||||
#endif /* IIO_DAC_MCP4725_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue