mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
Merge tag 'staging-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging / IIO driver updates from Greg KH: "Here is the big staging and IIO driver pull request for 5.11-rc1 Lots of different things in here: - loads of driver updates - so many coding style cleanups - new IIO drivers - Android ION code is finally removed from the tree - wimax drivers are moved to staging on their way out of the kernel Nothing really exciting, just the constant grind of kernel development :) All have been in linux-next for a while with no reported issues" * tag 'staging-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (341 commits) staging: olpc_dcon: Do not call platform_device_unregister() in dcon_probe() staging: most: Fix spelling mistake "tranceiver" -> "transceiver" staging: qlge: remove duplicate word in comment staging: comedi: mf6x4: Fix AI end-of-conversion detection staging: greybus: Add TODO item about modernizing the pwm code pinctrl: ralink: add a pinctrl driver for the rt2880 family dt-bindings: pinctrl: rt2880: add binding document staging: rtl8723bs: remove ELEMENT_ID enum staging: rtl8723bs: remove unused macros staging: rtl8723bs: replace EID_EXTCapability staging: rtl8723bs: replace EID_BSSIntolerantChlReport staging: rtl8723bs: replace EID_BSSCoexistence staging: rtl8723bs: replace _MME_IE_ staging: rtl8723bs: replace _WAPI_IE_ staging: rtl8723bs: replace _EXT_SUPPORTEDRATES_IE_ staging: rtl8723bs: replace _ERPINFO_IE_ staging: rtl8723bs: replace _CHLGETXT_IE_ staging: rtl8723bs: replace _COUNTRY_IE_ staging: rtl8723bs: replace _IBSS_PARA_IE_ staging: rtl8723bs: replace _TIM_IE_ ...
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* AD7298 SPI ADC driver
|
||||
*
|
||||
* Copyright 2011 Analog Devices Inc.
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_PLATFORM_DATA_AD7298_H__
|
||||
#define __LINUX_PLATFORM_DATA_AD7298_H__
|
||||
|
||||
/**
|
||||
* struct ad7298_platform_data - Platform data for the ad7298 ADC driver
|
||||
* @ext_ref: Whether to use an external reference voltage.
|
||||
**/
|
||||
struct ad7298_platform_data {
|
||||
bool ext_ref;
|
||||
};
|
||||
|
||||
#endif /* IIO_ADC_AD7298_H_ */
|
||||
@@ -1,20 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Analog Devices AD7303 DAC driver
|
||||
*
|
||||
* Copyright 2013 Analog Devices Inc.
|
||||
*/
|
||||
|
||||
#ifndef __IIO_ADC_AD7303_H__
|
||||
#define __IIO_ADC_AD7303_H__
|
||||
|
||||
/**
|
||||
* struct ad7303_platform_data - AD7303 platform data
|
||||
* @use_external_ref: If set to true use an external voltage reference connected
|
||||
* to the REF pin, otherwise use the internal reference derived from Vdd.
|
||||
*/
|
||||
struct ad7303_platform_data {
|
||||
bool use_external_ref;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -13,13 +13,9 @@
|
||||
* second input channel, and Vref is internally connected to Vdd. If set to
|
||||
* false the device is used in single channel mode and AIN1/Vref is used as
|
||||
* VREF input.
|
||||
* @use_onchip_ref: Whether to use the onchip reference. If set to true the
|
||||
* internal 2.5V reference is used. If set to false a external reference is
|
||||
* used.
|
||||
*/
|
||||
struct ad7887_platform_data {
|
||||
bool en_dual;
|
||||
bool use_onchip_ref;
|
||||
};
|
||||
|
||||
#endif /* IIO_ADC_AD7887_H_ */
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (C) 2011 Free Electrons
|
||||
*/
|
||||
|
||||
#ifndef _AT91_ADC_H_
|
||||
#define _AT91_ADC_H_
|
||||
|
||||
enum atmel_adc_ts_type {
|
||||
ATMEL_ADC_TOUCHSCREEN_NONE = 0,
|
||||
ATMEL_ADC_TOUCHSCREEN_4WIRE = 4,
|
||||
ATMEL_ADC_TOUCHSCREEN_5WIRE = 5,
|
||||
};
|
||||
|
||||
/**
|
||||
* struct at91_adc_trigger - description of triggers
|
||||
* @name: name of the trigger advertised to the user
|
||||
* @value: value to set in the ADC's trigger setup register
|
||||
to enable the trigger
|
||||
* @is_external: Does the trigger rely on an external pin?
|
||||
*/
|
||||
struct at91_adc_trigger {
|
||||
const char *name;
|
||||
u8 value;
|
||||
bool is_external;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct at91_adc_data - platform data for ADC driver
|
||||
* @channels_used: channels in use on the board as a bitmask
|
||||
* @startup_time: startup time of the ADC in microseconds
|
||||
* @trigger_list: Triggers available in the ADC
|
||||
* @trigger_number: Number of triggers available in the ADC
|
||||
* @use_external_triggers: does the board has external triggers availables
|
||||
* @vref: Reference voltage for the ADC in millivolts
|
||||
* @touchscreen_type: If a touchscreen is connected, its type (4 or 5 wires)
|
||||
*/
|
||||
struct at91_adc_data {
|
||||
unsigned long channels_used;
|
||||
u8 startup_time;
|
||||
struct at91_adc_trigger *trigger_list;
|
||||
u8 trigger_number;
|
||||
bool use_external_triggers;
|
||||
u16 vref;
|
||||
enum atmel_adc_ts_type touchscreen_type;
|
||||
};
|
||||
|
||||
extern void __init at91_add_device_adc(struct at91_adc_data *data);
|
||||
#endif
|
||||
Reference in New Issue
Block a user