You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge tag 'staging-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging driver updates from Greg KH: "Here's the big staging driver update for 4.4-rc1. If you were disappointed for 4.3-rc1 that we didn't contribute enough changesets, you should be happy with this pull request of over 2400 patches. But overall we removed more lines of code than we added, which is nice to see. Full details in the shortlog. All of these have been in linux-next for a while" Greg, I've never been disappointed in how few commits Staging contributes to the kernel.. Never. * tag 'staging-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (2431 commits) Staging: rtl8192u: ieee80211: added missing blank lines Staging: rtl8192u: ieee80211: removed unnecessary braces Staging: rtl8192u: ieee80211: corrected block comments Staging: rtl8192u: ieee80211: corrected indent Staging: rtl8192u: ieee80211: added missing spaces after if Staging: rtl8192u: ieee80211: added missing space around '=' Staging: rtl8192u: ieee80211: fixed position of else statements Staging: rtl8192u: ieee80211: fixed open brace positions staging: rdma: ipath: Remove unneeded vairable. staging: rtl8188eu: pwrGrpCnt variable removed in store_pwrindex_offset function staging: rtl8188eu: new variable for hal_data->MCSTxPowerLevelOriginalOffset[pwrGrpCnt] in store_pwrindex_offset function staging: rtl8188eu: checkpatch fixes: 'Avoid CamelCase' in hal/bb_cfg.c staging: rtl8188eu: checkpatch fixes: line over 80 characters splited into two parts staging: rtl8188eu: checkpatch fixes: alignment should match open parenthesis staging: rtl8188eu: checkpatch fixes: unnecessary parentheses removed in hal/bb_cfg.c staging: rtl8188eu: checkpatch fixes: spaces preferred around that '|' in hal/bb_cfg.c staging: rtl8188eu: operator = replaced by += in loop increment staging: rtl8188eu: occurrence of the 5 GHz code marked staging: rtl8188eu: increment placed into for loop header staging: rtl8188eu: while loop replaced by for loop in rtw_restruct_wmm_ie ...
This commit is contained in:
@@ -581,6 +581,7 @@ What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
|
|||||||
What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
|
What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
|
||||||
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
|
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
|
||||||
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
|
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_falling_en
|
||||||
|
What: /sys/.../iio:deviceX/events/in_voltageY_thresh_either_en
|
||||||
What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
|
What: /sys/.../iio:deviceX/events/in_tempY_thresh_rising_en
|
||||||
What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
|
What: /sys/.../iio:deviceX/events/in_tempY_thresh_falling_en
|
||||||
KernelVersion: 2.6.37
|
KernelVersion: 2.6.37
|
||||||
@@ -1459,3 +1460,34 @@ Description:
|
|||||||
measurements and return the average value as output data. Each
|
measurements and return the average value as output data. Each
|
||||||
value resulted from <type>[_name]_oversampling_ratio measurements
|
value resulted from <type>[_name]_oversampling_ratio measurements
|
||||||
is considered as one sample for <type>[_name]_sampling_frequency.
|
is considered as one sample for <type>[_name]_sampling_frequency.
|
||||||
|
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_co2_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_voc_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw
|
||||||
|
KernelVersion: 4.3
|
||||||
|
Contact: linux-iio@vger.kernel.org
|
||||||
|
Description:
|
||||||
|
Raw (unscaled no offset etc.) percentage reading of a substance.
|
||||||
|
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/out_resistance_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/out_resistanceX_raw
|
||||||
|
KernelVersion: 4.3
|
||||||
|
Contact: linux-iio@vger.kernel.org
|
||||||
|
Description:
|
||||||
|
Raw (unscaled no offset etc.) resistance reading that can be processed
|
||||||
|
into an ohm value.
|
||||||
|
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/heater_enable
|
||||||
|
KernelVersion: 4.1.0
|
||||||
|
Contact: linux-iio@vger.kernel.org
|
||||||
|
Description:
|
||||||
|
'1' (enable) or '0' (disable) specifying the enable
|
||||||
|
of heater function. Same reading values apply
|
||||||
|
This ABI is especially applicable for humidity sensors
|
||||||
|
to heatup the device and get rid of any condensation
|
||||||
|
in some humidity environment
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sensing_mode
|
||||||
|
Date: August 2015
|
||||||
|
KernelVersion: 4.2.0
|
||||||
|
Contact: source@cogentembedded.com
|
||||||
|
Description:
|
||||||
|
Program sensor type for threshold detector inputs.
|
||||||
|
Could be either "GND-Open" or "Supply-Open" mode. Y is a
|
||||||
|
threshold detector input channel. Channels 0..7, 8..15, 16..23
|
||||||
|
and 24..31 has common sensor types.
|
||||||
|
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_falling_value
|
||||||
|
Date: August 2015
|
||||||
|
KernelVersion: 4.2.0
|
||||||
|
Contact: source@cogentembedded.com
|
||||||
|
Description:
|
||||||
|
Channel Y low voltage threshold. If sensor input voltage goes lower then
|
||||||
|
this value then the threshold falling event is pushed.
|
||||||
|
Depending on in_voltageY_sensing_mode the low voltage threshold
|
||||||
|
is separately set for "GND-Open" and "Supply-Open" modes.
|
||||||
|
Channels 0..31 have common low threshold values, but could have different
|
||||||
|
sensing_modes.
|
||||||
|
The low voltage threshold range is between 2..21V.
|
||||||
|
Hysteresis between low and high thresholds can not be lower then 2 and
|
||||||
|
can not be odd.
|
||||||
|
If falling threshold results hysteresis to odd value then rising
|
||||||
|
threshold is automatically subtracted by one.
|
||||||
|
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_rising_value
|
||||||
|
Date: August 2015
|
||||||
|
KernelVersion: 4.2.0
|
||||||
|
Contact: source@cogentembedded.com
|
||||||
|
Description:
|
||||||
|
Channel Y high voltage threshold. If sensor input voltage goes higher then
|
||||||
|
this value then the threshold rising event is pushed.
|
||||||
|
Depending on in_voltageY_sensing_mode the high voltage threshold
|
||||||
|
is separately set for "GND-Open" and "Supply-Open" modes.
|
||||||
|
Channels 0..31 have common high threshold values, but could have different
|
||||||
|
sensing_modes.
|
||||||
|
The high voltage threshold range is between 3..22V.
|
||||||
|
Hysteresis between low and high thresholds can not be lower then 2 and
|
||||||
|
can not be odd.
|
||||||
|
If rising threshold results hysteresis to odd value then falling
|
||||||
|
threshold is automatically appended by one.
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
What: /sys/bus/iio/devices/iio:deviceX/in_concentration_VOC_short_raw
|
||||||
|
Date: September 2015
|
||||||
|
KernelVersion: 4.3
|
||||||
|
Contact: Matt Ranostay <mranostay@gmail.com>
|
||||||
|
Description:
|
||||||
|
Get the raw calibration VOC value from the sensor.
|
||||||
|
This value has little application outside of calibration.
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
What: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw
|
||||||
|
What: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw_available
|
||||||
|
KernelVersion: 4.3
|
||||||
|
Contact: linux-iio@vger.kernel.org
|
||||||
|
Description:
|
||||||
|
Controls the heater device within the humidity sensor to get
|
||||||
|
rid of excess condensation.
|
||||||
|
|
||||||
|
Valid control values are 0 = OFF, and 1 = ON.
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
What: /sys/bus/iio/devices/iio:deviceX/battery_low
|
||||||
|
KernelVersion: 4.1.0
|
||||||
|
Contact: linux-iio@vger.kernel.org
|
||||||
|
Description:
|
||||||
|
Reading returns either '1' or '0'. '1' means that the
|
||||||
|
battery level supplied to sensor is below 2.25V.
|
||||||
|
This ABI is available for tsys02d, htu21, ms8607
|
||||||
|
This ABI is available for htu21, ms8607
|
||||||
@@ -18,3 +18,25 @@ Description:
|
|||||||
trigger. In order to associate the trigger with an IIO device
|
trigger. In order to associate the trigger with an IIO device
|
||||||
one should write this name string to
|
one should write this name string to
|
||||||
/sys/bus/iio/devices/iio:deviceY/trigger/current_trigger.
|
/sys/bus/iio/devices/iio:deviceY/trigger/current_trigger.
|
||||||
|
|
||||||
|
What: /sys/bus/iio/devices/iio_sysfs_trigger/add_trigger
|
||||||
|
KernelVersion: 2.6.39
|
||||||
|
Contact: linux-iio@vger.kernel.org
|
||||||
|
Description:
|
||||||
|
This attribute is provided by the iio-trig-sysfs stand-alone
|
||||||
|
driver and it is used to activate the creation of a new trigger.
|
||||||
|
In order to achieve this, one should write a positive integer
|
||||||
|
into the associated file, which will serve as the id of the
|
||||||
|
trigger. If the trigger with the specified id is already present
|
||||||
|
in the system, an invalid argument message will be returned.
|
||||||
|
|
||||||
|
What: /sys/bus/iio/devices/iio_sysfs_trigger/remove_trigger
|
||||||
|
KernelVersion: 2.6.39
|
||||||
|
Contact: linux-iio@vger.kernel.org
|
||||||
|
Description:
|
||||||
|
This attribute is used to unregister and delete a previously
|
||||||
|
created trigger from the list of available triggers. In order to
|
||||||
|
achieve this, one should write a positive integer into the
|
||||||
|
associated file, representing the id of the trigger that needs
|
||||||
|
to be removed. If the trigger can't be found, an invalid
|
||||||
|
argument message will be returned to the user.
|
||||||
|
|||||||
@@ -578,7 +578,7 @@
|
|||||||
work together.
|
work together.
|
||||||
</para>
|
</para>
|
||||||
<sect2 id="iiotrigbufsetup"> <title> IIO triggered buffer setup</title>
|
<sect2 id="iiotrigbufsetup"> <title> IIO triggered buffer setup</title>
|
||||||
!Edrivers/iio/industrialio-triggered-buffer.c
|
!Edrivers/iio/buffer/industrialio-triggered-buffer.c
|
||||||
!Finclude/linux/iio/iio.h iio_buffer_setup_ops
|
!Finclude/linux/iio/iio.h iio_buffer_setup_ops
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ epson,rx8581 I2C-BUS INTERFACE REAL TIME CLOCK MODULE
|
|||||||
fsl,mag3110 MAG3110: Xtrinsic High Accuracy, 3D Magnetometer
|
fsl,mag3110 MAG3110: Xtrinsic High Accuracy, 3D Magnetometer
|
||||||
fsl,mc13892 MC13892: Power Management Integrated Circuit (PMIC) for i.MX35/51
|
fsl,mc13892 MC13892: Power Management Integrated Circuit (PMIC) for i.MX35/51
|
||||||
fsl,mma8450 MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer
|
fsl,mma8450 MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer
|
||||||
fsl,mma8452 MMA8452Q: 3-axis 12-bit / 8-bit Digital Accelerometer
|
|
||||||
fsl,mpr121 MPR121: Proximity Capacitive Touch Sensor Controller
|
fsl,mpr121 MPR121: Proximity Capacitive Touch Sensor Controller
|
||||||
fsl,sgtl5000 SGTL5000: Ultra Low-Power Audio Codec
|
fsl,sgtl5000 SGTL5000: Ultra Low-Power Audio Codec
|
||||||
gmt,g751 G751: Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface
|
gmt,g751 G751: Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface
|
||||||
@@ -80,6 +79,7 @@ oki,ml86v7667 OKI ML86V7667 video decoder
|
|||||||
ovti,ov5642 OV5642: Color CMOS QSXGA (5-megapixel) Image Sensor with OmniBSI and Embedded TrueFocus
|
ovti,ov5642 OV5642: Color CMOS QSXGA (5-megapixel) Image Sensor with OmniBSI and Embedded TrueFocus
|
||||||
pericom,pt7c4338 Real-time Clock Module
|
pericom,pt7c4338 Real-time Clock Module
|
||||||
plx,pex8648 48-Lane, 12-Port PCI Express Gen 2 (5.0 GT/s) Switch
|
plx,pex8648 48-Lane, 12-Port PCI Express Gen 2 (5.0 GT/s) Switch
|
||||||
|
pulsedlight,lidar-lite-v2 Pulsedlight LIDAR range-finding sensor
|
||||||
ramtron,24c64 i2c serial eeprom (24cxx)
|
ramtron,24c64 i2c serial eeprom (24cxx)
|
||||||
ricoh,r2025sd I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
ricoh,r2025sd I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
||||||
ricoh,r2221tl I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
ricoh,r2221tl I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
||||||
@@ -88,6 +88,7 @@ ricoh,rs5c372b I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
|||||||
ricoh,rv5c386 I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
ricoh,rv5c386 I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
||||||
ricoh,rv5c387a I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
ricoh,rv5c387a I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
|
||||||
samsung,24ad0xd1 S524AD0XF1 (128K/256K-bit Serial EEPROM for Low Power)
|
samsung,24ad0xd1 S524AD0XF1 (128K/256K-bit Serial EEPROM for Low Power)
|
||||||
|
sgx,vz89x SGX Sensortech VZ89X Sensors
|
||||||
sii,s35390a 2-wire CMOS real-time clock
|
sii,s35390a 2-wire CMOS real-time clock
|
||||||
skyworks,sky81452 Skyworks SKY81452: Six-Channel White LED Driver with Touch Panel Bias Supply
|
skyworks,sky81452 Skyworks SKY81452: Six-Channel White LED Driver with Touch Panel Bias Supply
|
||||||
st-micro,24c256 i2c serial eeprom (24cxx)
|
st-micro,24c256 i2c serial eeprom (24cxx)
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
Freescale MMA8452Q, MMA8453Q, MMA8652FC or MMA8653FC triaxial accelerometer
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
|
||||||
|
- compatible: should contain one of
|
||||||
|
* "fsl,mma8452"
|
||||||
|
* "fsl,mma8453"
|
||||||
|
* "fsl,mma8652"
|
||||||
|
* "fsl,mma8653"
|
||||||
|
- reg: the I2C address of the chip
|
||||||
|
|
||||||
|
Optional properties:
|
||||||
|
|
||||||
|
- interrupt-parent: should be the phandle for the interrupt controller
|
||||||
|
- interrupts: interrupt mapping for GPIO IRQ
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
mma8453fc@1d {
|
||||||
|
compatible = "fsl,mma8453";
|
||||||
|
reg = <0x1d>;
|
||||||
|
interrupt-parent = <&gpio1>;
|
||||||
|
interrupts = <5 0>;
|
||||||
|
};
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
Holt Integrated Circuits HI-8435 threshold detector bindings
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible: should be "holt,hi8435"
|
||||||
|
- reg: spi chip select number for the device
|
||||||
|
|
||||||
|
Recommended properties:
|
||||||
|
- spi-max-frequency: definition as per
|
||||||
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
||||||
|
|
||||||
|
Optional properties:
|
||||||
|
- gpios: GPIO used for controlling the reset pin
|
||||||
|
|
||||||
|
Example:
|
||||||
|
sensor@0 {
|
||||||
|
compatible = "holt,hi8435";
|
||||||
|
reg = <0>;
|
||||||
|
gpios = <&gpio6 1 0>;
|
||||||
|
|
||||||
|
spi-max-frequency = <1000000>;
|
||||||
|
};
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
* Avago APDS9960 gesture/RGB/ALS/proximity sensor
|
||||||
|
|
||||||
|
http://www.avagotech.com/docs/AV02-4191EN
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
|
||||||
|
- compatible: must be "avago,apds9960"
|
||||||
|
- reg: the I2c address of the sensor
|
||||||
|
- interrupt-parent: should be the phandle for the interrupt controller
|
||||||
|
- interrupts : the sole interrupt generated by the device
|
||||||
|
|
||||||
|
Refer to interrupt-controller/interrupts.txt for generic interrupt client
|
||||||
|
node bindings.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
apds9960@39 {
|
||||||
|
compatible = "avago,apds9960";
|
||||||
|
reg = <0x39>;
|
||||||
|
interrupt-parent = <&gpio1>;
|
||||||
|
interrupts = <16 1>;
|
||||||
|
};
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
* UPISEMI us5182d I2C ALS and Proximity sensor
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible: must be "upisemi,usd5182"
|
||||||
|
- reg: the I2C address of the device
|
||||||
|
|
||||||
|
Optional properties:
|
||||||
|
- upisemi,glass-coef: glass attenuation factor - compensation factor of
|
||||||
|
resolution 1000 for material transmittance.
|
||||||
|
- upisemi,dark-ths: array of 8 elements containing 16-bit thresholds (adc
|
||||||
|
counts) corresponding to every scale.
|
||||||
|
- upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4
|
||||||
|
fractional bits - Q4.4) applied when light > threshold
|
||||||
|
- upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4
|
||||||
|
fractional bits - Q4.4) applied when light < threshold
|
||||||
|
|
||||||
|
If the optional properties are not specified these factors will default to the
|
||||||
|
values in the below example.
|
||||||
|
The glass-coef defaults to no compensation for the covering material.
|
||||||
|
The threshold array defaults to experimental values that work with US5182D
|
||||||
|
sensor on evaluation board - roughly between 12-32 lux.
|
||||||
|
There will be no dark-gain compensation by default when ALS > thresh
|
||||||
|
(0 * dark-gain), and a 1.35 compensation factor when ALS < thresh.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
usd5182@39 {
|
||||||
|
compatible = "upisemi,usd5182";
|
||||||
|
reg = <0x39>;
|
||||||
|
upisemi,glass-coef = < 1000 >;
|
||||||
|
upisemi,dark-ths = /bits/ 16 <170 200 512 512 800 2000 4000 8000>;
|
||||||
|
upisemi,upper-dark-gain = /bits/ 8 <0x00>;
|
||||||
|
upisemi,lower-dark-gain = /bits/ 8 <0x16>;
|
||||||
|
};
|
||||||
@@ -101,6 +101,7 @@ himax Himax Technologies, Inc.
|
|||||||
hisilicon Hisilicon Limited.
|
hisilicon Hisilicon Limited.
|
||||||
hit Hitachi Ltd.
|
hit Hitachi Ltd.
|
||||||
hitex Hitex Development Tools
|
hitex Hitex Development Tools
|
||||||
|
holt Holt Integrated Circuits, Inc.
|
||||||
honeywell Honeywell
|
honeywell Honeywell
|
||||||
hp Hewlett Packard
|
hp Hewlett Packard
|
||||||
i2se I2SE GmbH
|
i2se I2SE GmbH
|
||||||
@@ -169,6 +170,7 @@ phytec PHYTEC Messtechnik GmbH
|
|||||||
picochip Picochip Ltd
|
picochip Picochip Ltd
|
||||||
plathome Plat'Home Co., Ltd.
|
plathome Plat'Home Co., Ltd.
|
||||||
pixcir PIXCIR MICROELECTRONICS Co., Ltd
|
pixcir PIXCIR MICROELECTRONICS Co., Ltd
|
||||||
|
pulsedlight PulsedLight, Inc
|
||||||
powervr PowerVR (deprecated, use img)
|
powervr PowerVR (deprecated, use img)
|
||||||
qca Qualcomm Atheros, Inc.
|
qca Qualcomm Atheros, Inc.
|
||||||
qcom Qualcomm Technologies, Inc
|
qcom Qualcomm Technologies, Inc
|
||||||
@@ -191,6 +193,7 @@ sbs Smart Battery System
|
|||||||
schindler Schindler
|
schindler Schindler
|
||||||
seagate Seagate Technology PLC
|
seagate Seagate Technology PLC
|
||||||
semtech Semtech Corporation
|
semtech Semtech Corporation
|
||||||
|
sgx SGX Sensortech
|
||||||
sharp Sharp Corporation
|
sharp Sharp Corporation
|
||||||
sil Silicon Image
|
sil Silicon Image
|
||||||
silabs Silicon Laboratories
|
silabs Silicon Laboratories
|
||||||
@@ -223,6 +226,7 @@ toshiba Toshiba Corporation
|
|||||||
toumaz Toumaz
|
toumaz Toumaz
|
||||||
tplink TP-LINK Technologies Co., Ltd.
|
tplink TP-LINK Technologies Co., Ltd.
|
||||||
truly Truly Semiconductors Limited
|
truly Truly Semiconductors Limited
|
||||||
|
upisemi uPI Semiconductor Corp.
|
||||||
usi Universal Scientific Industrial Co., Ltd.
|
usi Universal Scientific Industrial Co., Ltd.
|
||||||
v3 V3 Semiconductor
|
v3 V3 Semiconductor
|
||||||
variscite Variscite Ltd.
|
variscite Variscite Ltd.
|
||||||
|
|||||||
+17
-2
@@ -6740,6 +6740,12 @@ W: http://linuxtv.org
|
|||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/media/radio/radio-maxiradio*
|
F: drivers/media/radio/radio-maxiradio*
|
||||||
|
|
||||||
|
MCP4531 MICROCHIP DIGITAL POTENTIOMETER DRIVER
|
||||||
|
M: Peter Rosin <peda@axentia.se>
|
||||||
|
L: linux-iio@vger.kernel.org
|
||||||
|
S: Maintained
|
||||||
|
F: drivers/iio/potentiometer/mcp4531.c
|
||||||
|
|
||||||
MEDIA DRIVERS FOR RENESAS - VSP1
|
MEDIA DRIVERS FOR RENESAS - VSP1
|
||||||
M: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
M: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
||||||
L: linux-media@vger.kernel.org
|
L: linux-media@vger.kernel.org
|
||||||
@@ -6975,6 +6981,13 @@ S: Supported
|
|||||||
F: include/linux/mlx5/
|
F: include/linux/mlx5/
|
||||||
F: drivers/infiniband/hw/mlx5/
|
F: drivers/infiniband/hw/mlx5/
|
||||||
|
|
||||||
|
MELEXIS MLX90614 DRIVER
|
||||||
|
M: Crt Mori <cmo@melexis.com>
|
||||||
|
L: linux-iio@vger.kernel.org
|
||||||
|
W: http://www.melexis.com
|
||||||
|
S: Supported
|
||||||
|
F: drivers/iio/temperature/mlx90614.c
|
||||||
|
|
||||||
MN88472 MEDIA DRIVER
|
MN88472 MEDIA DRIVER
|
||||||
M: Antti Palosaari <crope@iki.fi>
|
M: Antti Palosaari <crope@iki.fi>
|
||||||
L: linux-media@vger.kernel.org
|
L: linux-media@vger.kernel.org
|
||||||
@@ -10069,9 +10082,11 @@ F: drivers/staging/vt665?/
|
|||||||
|
|
||||||
STAGING - WILC1000 WIFI DRIVER
|
STAGING - WILC1000 WIFI DRIVER
|
||||||
M: Johnny Kim <johnny.kim@atmel.com>
|
M: Johnny Kim <johnny.kim@atmel.com>
|
||||||
M: Rachel Kim <rachel.kim@atmel.com>
|
M: Austin Shin <austin.shin@atmel.com>
|
||||||
M: Dean Lee <dean.lee@atmel.com>
|
|
||||||
M: Chris Park <chris.park@atmel.com>
|
M: Chris Park <chris.park@atmel.com>
|
||||||
|
M: Tony Cho <tony.cho@atmel.com>
|
||||||
|
M: Glen Lee <glen.lee@atmel.com>
|
||||||
|
M: Leo Kim <leo.kim@atmel.com>
|
||||||
L: linux-wireless@vger.kernel.org
|
L: linux-wireless@vger.kernel.org
|
||||||
S: Supported
|
S: Supported
|
||||||
F: drivers/staging/wilc1000/
|
F: drivers/staging/wilc1000/
|
||||||
|
|||||||
+9
-21
@@ -19,27 +19,7 @@ config IIO_BUFFER
|
|||||||
acquisition methods.
|
acquisition methods.
|
||||||
|
|
||||||
if IIO_BUFFER
|
if IIO_BUFFER
|
||||||
|
source "drivers/iio/buffer/Kconfig"
|
||||||
config IIO_BUFFER_CB
|
|
||||||
bool "IIO callback buffer used for push in-kernel interfaces"
|
|
||||||
help
|
|
||||||
Should be selected by any drivers that do in-kernel push
|
|
||||||
usage. That is, those where the data is pushed to the consumer.
|
|
||||||
|
|
||||||
config IIO_KFIFO_BUF
|
|
||||||
tristate "Industrial I/O buffering based on kfifo"
|
|
||||||
help
|
|
||||||
A simple fifo based on kfifo. Note that this currently provides
|
|
||||||
no buffer events so it is up to userspace to work out how
|
|
||||||
often to read from the buffer.
|
|
||||||
|
|
||||||
config IIO_TRIGGERED_BUFFER
|
|
||||||
tristate
|
|
||||||
select IIO_TRIGGER
|
|
||||||
select IIO_KFIFO_BUF
|
|
||||||
help
|
|
||||||
Provides helper functions for setting up triggered buffers.
|
|
||||||
|
|
||||||
endif # IIO_BUFFER
|
endif # IIO_BUFFER
|
||||||
|
|
||||||
config IIO_TRIGGER
|
config IIO_TRIGGER
|
||||||
@@ -58,9 +38,16 @@ config IIO_CONSUMERS_PER_TRIGGER
|
|||||||
This value controls the maximum number of consumers that a
|
This value controls the maximum number of consumers that a
|
||||||
given trigger may handle. Default is 2.
|
given trigger may handle. Default is 2.
|
||||||
|
|
||||||
|
config IIO_TRIGGERED_EVENT
|
||||||
|
tristate
|
||||||
|
select IIO_TRIGGER
|
||||||
|
help
|
||||||
|
Provides helper functions for setting up triggered events.
|
||||||
|
|
||||||
source "drivers/iio/accel/Kconfig"
|
source "drivers/iio/accel/Kconfig"
|
||||||
source "drivers/iio/adc/Kconfig"
|
source "drivers/iio/adc/Kconfig"
|
||||||
source "drivers/iio/amplifiers/Kconfig"
|
source "drivers/iio/amplifiers/Kconfig"
|
||||||
|
source "drivers/iio/chemical/Kconfig"
|
||||||
source "drivers/iio/common/Kconfig"
|
source "drivers/iio/common/Kconfig"
|
||||||
source "drivers/iio/dac/Kconfig"
|
source "drivers/iio/dac/Kconfig"
|
||||||
source "drivers/iio/frequency/Kconfig"
|
source "drivers/iio/frequency/Kconfig"
|
||||||
@@ -73,6 +60,7 @@ source "drivers/iio/orientation/Kconfig"
|
|||||||
if IIO_TRIGGER
|
if IIO_TRIGGER
|
||||||
source "drivers/iio/trigger/Kconfig"
|
source "drivers/iio/trigger/Kconfig"
|
||||||
endif #IIO_TRIGGER
|
endif #IIO_TRIGGER
|
||||||
|
source "drivers/iio/potentiometer/Kconfig"
|
||||||
source "drivers/iio/pressure/Kconfig"
|
source "drivers/iio/pressure/Kconfig"
|
||||||
source "drivers/iio/proximity/Kconfig"
|
source "drivers/iio/proximity/Kconfig"
|
||||||
source "drivers/iio/temperature/Kconfig"
|
source "drivers/iio/temperature/Kconfig"
|
||||||
|
|||||||
@@ -6,14 +6,14 @@ obj-$(CONFIG_IIO) += industrialio.o
|
|||||||
industrialio-y := industrialio-core.o industrialio-event.o inkern.o
|
industrialio-y := industrialio-core.o industrialio-event.o inkern.o
|
||||||
industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
|
industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
|
||||||
industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
|
industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
|
||||||
industrialio-$(CONFIG_IIO_BUFFER_CB) += buffer_cb.o
|
|
||||||
|
|
||||||
obj-$(CONFIG_IIO_TRIGGERED_BUFFER) += industrialio-triggered-buffer.o
|
obj-$(CONFIG_IIO_TRIGGERED_EVENT) += industrialio-triggered-event.o
|
||||||
obj-$(CONFIG_IIO_KFIFO_BUF) += kfifo_buf.o
|
|
||||||
|
|
||||||
obj-y += accel/
|
obj-y += accel/
|
||||||
obj-y += adc/
|
obj-y += adc/
|
||||||
obj-y += amplifiers/
|
obj-y += amplifiers/
|
||||||
|
obj-y += buffer/
|
||||||
|
obj-y += chemical/
|
||||||
obj-y += common/
|
obj-y += common/
|
||||||
obj-y += dac/
|
obj-y += dac/
|
||||||
obj-y += gyro/
|
obj-y += gyro/
|
||||||
@@ -23,6 +23,7 @@ obj-y += imu/
|
|||||||
obj-y += light/
|
obj-y += light/
|
||||||
obj-y += magnetometer/
|
obj-y += magnetometer/
|
||||||
obj-y += orientation/
|
obj-y += orientation/
|
||||||
|
obj-y += potentiometer/
|
||||||
obj-y += pressure/
|
obj-y += pressure/
|
||||||
obj-y += proximity/
|
obj-y += proximity/
|
||||||
obj-y += temperature/
|
obj-y += temperature/
|
||||||
|
|||||||
@@ -19,19 +19,27 @@ config BMA180
|
|||||||
|
|
||||||
config BMC150_ACCEL
|
config BMC150_ACCEL
|
||||||
tristate "Bosch BMC150 Accelerometer Driver"
|
tristate "Bosch BMC150 Accelerometer Driver"
|
||||||
depends on I2C
|
|
||||||
select IIO_BUFFER
|
select IIO_BUFFER
|
||||||
select IIO_TRIGGERED_BUFFER
|
select IIO_TRIGGERED_BUFFER
|
||||||
|
select REGMAP
|
||||||
|
select BMC150_ACCEL_I2C if I2C
|
||||||
|
select BMC150_ACCEL_SPI if SPI
|
||||||
help
|
help
|
||||||
Say yes here to build support for the following Bosch accelerometers:
|
Say yes here to build support for the following Bosch accelerometers:
|
||||||
BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
|
BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
|
||||||
|
|
||||||
Currently this only supports the device via an i2c interface.
|
|
||||||
|
|
||||||
This is a combo module with both accelerometer and magnetometer.
|
This is a combo module with both accelerometer and magnetometer.
|
||||||
This driver is only implementing accelerometer part, which has
|
This driver is only implementing accelerometer part, which has
|
||||||
its own address and register map.
|
its own address and register map.
|
||||||
|
|
||||||
|
config BMC150_ACCEL_I2C
|
||||||
|
tristate
|
||||||
|
select REGMAP_I2C
|
||||||
|
|
||||||
|
config BMC150_ACCEL_SPI
|
||||||
|
tristate
|
||||||
|
select REGMAP_SPI
|
||||||
|
|
||||||
config HID_SENSOR_ACCEL_3D
|
config HID_SENSOR_ACCEL_3D
|
||||||
depends on HID_SENSOR_HUB
|
depends on HID_SENSOR_HUB
|
||||||
select IIO_BUFFER
|
select IIO_BUFFER
|
||||||
@@ -100,13 +108,13 @@ config KXCJK1013
|
|||||||
be called kxcjk-1013.
|
be called kxcjk-1013.
|
||||||
|
|
||||||
config MMA8452
|
config MMA8452
|
||||||
tristate "Freescale MMA8452Q Accelerometer Driver"
|
tristate "Freescale MMA8452Q and similar Accelerometers Driver"
|
||||||
depends on I2C
|
depends on I2C
|
||||||
select IIO_BUFFER
|
select IIO_BUFFER
|
||||||
select IIO_TRIGGERED_BUFFER
|
select IIO_TRIGGERED_BUFFER
|
||||||
help
|
help
|
||||||
Say yes here to build support for the Freescale MMA8452Q 3-axis
|
Say yes here to build support for the following Freescale 3-axis
|
||||||
accelerometer.
|
accelerometers: MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC.
|
||||||
|
|
||||||
To compile this driver as a module, choose M here: the module
|
To compile this driver as a module, choose M here: the module
|
||||||
will be called mma8452.
|
will be called mma8452.
|
||||||
@@ -137,6 +145,19 @@ config MMA9553
|
|||||||
To compile this driver as a module, choose M here: the module
|
To compile this driver as a module, choose M here: the module
|
||||||
will be called mma9553.
|
will be called mma9553.
|
||||||
|
|
||||||
|
config MXC4005
|
||||||
|
tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
|
||||||
|
depends on I2C
|
||||||
|
select IIO_BUFFER
|
||||||
|
select IIO_TRIGGERED_BUFFER
|
||||||
|
select REGMAP_I2C
|
||||||
|
help
|
||||||
|
Say yes here to build support for the Memsic MXC4005XC 3-axis
|
||||||
|
accelerometer.
|
||||||
|
|
||||||
|
To compile this driver as a module, choose M. The module will be
|
||||||
|
called mxc4005.
|
||||||
|
|
||||||
config STK8312
|
config STK8312
|
||||||
tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
|
tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
|
||||||
depends on I2C
|
depends on I2C
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
# When adding new entries keep the list in alphabetical order
|
# When adding new entries keep the list in alphabetical order
|
||||||
obj-$(CONFIG_BMA180) += bma180.o
|
obj-$(CONFIG_BMA180) += bma180.o
|
||||||
obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel.o
|
obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o
|
||||||
|
obj-$(CONFIG_BMC150_ACCEL_I2C) += bmc150-accel-i2c.o
|
||||||
|
obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o
|
||||||
obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
|
obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
|
||||||
obj-$(CONFIG_KXCJK1013) += kxcjk-1013.o
|
obj-$(CONFIG_KXCJK1013) += kxcjk-1013.o
|
||||||
obj-$(CONFIG_KXSD9) += kxsd9.o
|
obj-$(CONFIG_KXSD9) += kxsd9.o
|
||||||
@@ -14,6 +16,8 @@ obj-$(CONFIG_MMA9551_CORE) += mma9551_core.o
|
|||||||
obj-$(CONFIG_MMA9551) += mma9551.o
|
obj-$(CONFIG_MMA9551) += mma9551.o
|
||||||
obj-$(CONFIG_MMA9553) += mma9553.o
|
obj-$(CONFIG_MMA9553) += mma9553.o
|
||||||
|
|
||||||
|
obj-$(CONFIG_MXC4005) += mxc4005.o
|
||||||
|
|
||||||
obj-$(CONFIG_STK8312) += stk8312.o
|
obj-$(CONFIG_STK8312) += stk8312.o
|
||||||
obj-$(CONFIG_STK8BA50) += stk8ba50.o
|
obj-$(CONFIG_STK8BA50) += stk8ba50.o
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,102 @@
|
|||||||
|
/*
|
||||||
|
* 3-axis accelerometer driver supporting following I2C Bosch-Sensortec chips:
|
||||||
|
* - BMC150
|
||||||
|
* - BMI055
|
||||||
|
* - BMA255
|
||||||
|
* - BMA250E
|
||||||
|
* - BMA222E
|
||||||
|
* - BMA280
|
||||||
|
*
|
||||||
|
* Copyright (c) 2014, Intel Corporation.
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms and conditions of the GNU General Public License,
|
||||||
|
* version 2, as published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <linux/device.h>
|
||||||
|
#include <linux/mod_devicetable.h>
|
||||||
|
#include <linux/i2c.h>
|
||||||
|
#include <linux/module.h>
|
||||||
|
#include <linux/acpi.h>
|
||||||
|
#include <linux/regmap.h>
|
||||||
|
|
||||||
|
#include "bmc150-accel.h"
|
||||||
|
|
||||||
|
static const struct regmap_config bmc150_i2c_regmap_conf = {
|
||||||
|
.reg_bits = 8,
|
||||||
|
.val_bits = 8,
|
||||||
|
};
|
||||||
|
|
||||||
|
static int bmc150_accel_probe(struct i2c_client *client,
|
||||||
|
const struct i2c_device_id *id)
|
||||||
|
{
|
||||||
|
struct regmap *regmap;
|
||||||
|
const char *name = NULL;
|
||||||
|
bool block_supported =
|
||||||
|
i2c_check_functionality(client->adapter, I2C_FUNC_I2C) ||
|
||||||
|
i2c_check_functionality(client->adapter,
|
||||||
|
I2C_FUNC_SMBUS_READ_I2C_BLOCK);
|
||||||
|
|
||||||
|
regmap = devm_regmap_init_i2c(client, &bmc150_i2c_regmap_conf);
|
||||||
|
if (IS_ERR(regmap)) {
|
||||||
|
dev_err(&client->dev, "Failed to initialize i2c regmap\n");
|
||||||
|
return PTR_ERR(regmap);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (id)
|
||||||
|
name = id->name;
|
||||||
|
|
||||||
|
return bmc150_accel_core_probe(&client->dev, regmap, client->irq, name,
|
||||||
|
block_supported);
|
||||||
|
}
|
||||||
|
|
||||||
|
static int bmc150_accel_remove(struct i2c_client *client)
|
||||||
|
{
|
||||||
|
return bmc150_accel_core_remove(&client->dev);
|
||||||
|
}
|
||||||
|
|
||||||
|
static const struct acpi_device_id bmc150_accel_acpi_match[] = {
|
||||||
|
{"BSBA0150", bmc150},
|
||||||
|
{"BMC150A", bmc150},
|
||||||
|
{"BMI055A", bmi055},
|
||||||
|
{"BMA0255", bma255},
|
||||||
|
{"BMA250E", bma250e},
|
||||||
|
{"BMA222E", bma222e},
|
||||||
|
{"BMA0280", bma280},
|
||||||
|
{ },
|
||||||
|
};
|
||||||
|
MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);
|
||||||
|
|
||||||
|
static const struct i2c_device_id bmc150_accel_id[] = {
|
||||||
|
{"bmc150_accel", bmc150},
|
||||||
|
{"bmi055_accel", bmi055},
|
||||||
|
{"bma255", bma255},
|
||||||
|
{"bma250e", bma250e},
|
||||||
|
{"bma222e", bma222e},
|
||||||
|
{"bma280", bma280},
|
||||||
|
{}
|
||||||
|
};
|
||||||
|
|
||||||
|
MODULE_DEVICE_TABLE(i2c, bmc150_accel_id);
|
||||||
|
|
||||||
|
static struct i2c_driver bmc150_accel_driver = {
|
||||||
|
.driver = {
|
||||||
|
.name = "bmc150_accel_i2c",
|
||||||
|
.acpi_match_table = ACPI_PTR(bmc150_accel_acpi_match),
|
||||||
|
.pm = &bmc150_accel_pm_ops,
|
||||||
|
},
|
||||||
|
.probe = bmc150_accel_probe,
|
||||||
|
.remove = bmc150_accel_remove,
|
||||||
|
.id_table = bmc150_accel_id,
|
||||||
|
};
|
||||||
|
module_i2c_driver(bmc150_accel_driver);
|
||||||
|
|
||||||
|
MODULE_AUTHOR("Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>");
|
||||||
|
MODULE_LICENSE("GPL v2");
|
||||||
|
MODULE_DESCRIPTION("BMC150 I2C accelerometer driver");
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user