This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'staging-4.2-rc1' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/gregkh/staging Pull staging driver updates from Greg KH: "Here's the big, really big, staging tree patches for 4.2-rc1. Loads of stuff in here, almost all just coding style fixes / churn, and a few new drivers as well, one of which I just disabled from the build a few minutes ago due to way too many build warnings. Other than the one "disable this driver" patch, all of these have been in linux-next for quite a while with no reported issues" * tag 'staging-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1163 commits) staging: wilc1000: disable driver due to build warnings Staging: rts5208: fix CHANGE_LINK_STATE value Staging: sm750fb: ddk750_swi2c.c: Insert spaces before parenthesis Staging: sm750fb: ddk750_swi2c.c: Place braces on correct lines Staging: sm750fb: ddk750_swi2c.c: Insert spaces around operators Staging: sm750fb: ddk750_swi2c.c: Replace spaces with tabs Staging: sm750fb: ddk750_swi2c.h: Shorten lines to under 80 characters Staging: sm750fb: ddk750_swi2c.h: Replace spaces with tabs Staging: sm750fb: modedb.h: Shorten lines to under 80 characters Staging: sm750fb: modedb.h: Replace spaces with tabs staging: comedi: addi_apci_3120: rename 'this_board' variables staging: comedi: addi_apci_1516: rename 'this_board' variables staging: comedi: ni_atmio: cleanup ni_getboardtype() staging: comedi: vmk80xx: sanity check context used to get the boardinfo staging: comedi: vmk80xx: rename 'boardinfo' variables staging: comedi: dt3000: rename 'this_board' variables staging: comedi: adv_pci_dio: rename 'this_board' variables staging: comedi: cb_pcidas64: rename 'thisboard' variables staging: comedi: cb_pcidas: rename 'thisboard' variables staging: comedi: me4000: rename 'thisboard' variables ...
- Loading branch information
Showing
767 changed files
with
66,218 additions
and
51,825 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,8 @@ Description: | |
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_raw | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -81,6 +83,11 @@ Description: | |
unique to allow association with event codes. Units after | ||
application of scale and offset are millivolts. | ||
|
||
Channels with 'i' and 'q' modifiers always exist in pairs and both | ||
channels refer to the same signal. The 'i' channel contains the in-phase | ||
component of the signal while the 'q' channel contains the quadrature | ||
component. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_raw | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
|
@@ -246,8 +253,16 @@ What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset | |
What: /sys/bus/iio/devices/iio:deviceX/in_accel_z_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_current_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_current_q_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_current_i_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset | ||
|
@@ -273,14 +288,22 @@ Description: | |
to the _raw output. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_i_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_q_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_supply_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_current_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_i_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentY_q_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_current_i_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_current_q_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale | ||
|
@@ -328,6 +351,10 @@ Description: | |
|
||
What /sys/bus/iio/devices/iio:deviceX/in_voltageY_calibscale | ||
What /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_calibscale | ||
What /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_calibscale | ||
What /sys/bus/iio/devices/iio:deviceX/in_voltageY_q_calibscale | ||
What /sys/bus/iio/devices/iio:deviceX/in_voltage_i_calibscale | ||
What /sys/bus/iio/devices/iio:deviceX/in_voltage_q_calibscale | ||
What /sys/bus/iio/devices/iio:deviceX/in_voltage_calibscale | ||
What /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibscale | ||
What /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibscale | ||
|
@@ -420,6 +447,16 @@ Description: | |
to the underlying data channel, then this parameter | ||
gives the 3dB frequency of the filter in Hz. | ||
|
||
What: /sys/.../in_accel_filter_high_pass_3db_frequency | ||
What: /sys/.../in_anglvel_filter_high_pass_3db_frequency | ||
What: /sys/.../in_magn_filter_high_pass_3db_frequency | ||
KernelVersion: 4.2 | ||
Contact: [email protected] | ||
Description: | ||
If a known or controllable high pass filter is applied | ||
to the underlying data channel, then this parameter | ||
gives the 3dB frequency of the filter in Hz. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw | ||
KernelVersion: 2.6.37 | ||
|
@@ -880,6 +917,26 @@ Description: | |
met before an event is generated. If direction is not | ||
specified then this period applies to both directions. | ||
|
||
What: /sys/.../events/in_accel_thresh_rising_low_pass_filter_3db | ||
What: /sys/.../events/in_anglvel_thresh_rising_low_pass_filter_3db | ||
What: /sys/.../events/in_magn_thresh_rising_low_pass_filter_3db | ||
KernelVersion: 4.2 | ||
Contact: [email protected] | ||
Description: | ||
If a low pass filter can be applied to the event generation | ||
this property gives its 3db frequency in Hz. | ||
A value of zero disables the filter. | ||
|
||
What: /sys/.../events/in_accel_thresh_rising_high_pass_filter_3db | ||
What: /sys/.../events/in_anglvel_thresh_rising_high_pass_filter_3db | ||
What: /sys/.../events/in_magn_thresh_rising_high_pass_filter_3db | ||
KernelVersion: 4.2 | ||
Contact: [email protected] | ||
Description: | ||
If a high pass filter can be applied to the event generation | ||
this property gives its 3db frequency in Hz. | ||
A value of zero disables the filter. | ||
|
||
What: /sys/.../events/in_activity_still_thresh_rising_en | ||
What: /sys/.../events/in_activity_still_thresh_falling_en | ||
What: /sys/.../events/in_activity_walking_thresh_rising_en | ||
|
@@ -1016,6 +1073,10 @@ What: /sys/.../iio:deviceX/scan_elements/in_timestamp_en | |
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY-voltageZ_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_i_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_q_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltage_i_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltage_q_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_incli_x_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_incli_y_en | ||
What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en | ||
|
@@ -1034,6 +1095,10 @@ What: /sys/.../iio:deviceX/scan_elements/in_incli_type | |
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltage_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_i_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_q_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltage_i_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltage_q_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_timestamp_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type | ||
What: /sys/.../iio:deviceX/scan_elements/in_pressure_type | ||
|
@@ -1071,6 +1136,10 @@ Description: | |
|
||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_index | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_index | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_i_index | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltageY_q_index | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltage_i_index | ||
What: /sys/.../iio:deviceX/scan_elements/in_voltage_q_index | ||
What: /sys/.../iio:deviceX/scan_elements/in_accel_x_index | ||
What: /sys/.../iio:deviceX/scan_elements/in_accel_y_index | ||
What: /sys/.../iio:deviceX/scan_elements/in_accel_z_index | ||
|
@@ -1230,6 +1299,8 @@ Description: | |
or without compensation from tilt sensors. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_i_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_currentX_q_raw | ||
KernelVersion: 3.18 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -1238,6 +1309,11 @@ Description: | |
present, output should be considered as processed with the | ||
unit in milliamps. | ||
|
||
Channels with 'i' and 'q' modifiers always exist in pairs and both | ||
channels refer to the same signal. The 'i' channel contains the in-phase | ||
component of the signal while the 'q' channel contains the quadrature | ||
component. | ||
|
||
What: /sys/.../iio:deviceX/in_energy_en | ||
What: /sys/.../iio:deviceX/in_distance_en | ||
What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_en | ||
|
@@ -1364,3 +1440,26 @@ Description: | |
hwfifo_watermak_min but not equal to any of the values in this | ||
list, the driver will chose an appropriate value for the | ||
hardware fifo watermark level. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_calibemissivity | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_calibemissivity | ||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_calibemissivity | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_object_calibemissivity | ||
KernelVersion: 4.1 | ||
Contact: [email protected] | ||
Description: | ||
The emissivity ratio of the surface in the field of view of the | ||
contactless temperature sensor. Emissivity varies from 0 to 1, | ||
with 1 being the emissivity of a black body. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_oversampling_ratio | ||
What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_oversampling_ratio | ||
What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_oversampling_ratio | ||
KernelVersion: 4.2 | ||
Contact: [email protected] | ||
Description: | ||
Hardware applied number of measurements for acquiring one | ||
data point. The HW will do <type>[_name]_oversampling_ratio | ||
measurements and return the average value as output data. Each | ||
value resulted from <type>[_name]_oversampling_ratio measurements | ||
is considered as one sample for <type>[_name]_sampling_frequency. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/conversion_mode | ||
KernelVersion: 4.2 | ||
Contact: [email protected] | ||
Description: | ||
Specifies the hardware conversion mode used. The three | ||
available modes are "normal", "high-speed" and "low-power", | ||
where the last is the default mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
* Berlin Analog to Digital Converter (ADC) | ||
|
||
The Berlin ADC has 8 channels, with one connected to a temperature sensor. | ||
It is part of the system controller register set. The ADC node should be a | ||
sub-node of the system controller node. | ||
|
||
Required properties: | ||
- compatible: must be "marvell,berlin2-adc" | ||
- interrupts: the interrupts for the ADC and the temperature sensor | ||
- interrupt-names: should be "adc" and "tsen" | ||
|
||
Example: | ||
|
||
adc: adc { | ||
compatible = "marvell,berlin2-adc"; | ||
interrupt-parent = <&sic>; | ||
interrupts = <12>, <14>; | ||
interrupt-names = "adc", "tsen"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device | ||
|
||
http://www.invensense.com/mems/gyro/mpu6050.html | ||
|
||
Required properties: | ||
- compatible : should be "invensense,mpu6050" | ||
- reg : the I2C address of the sensor | ||
- interrupt-parent : should be the phandle for the interrupt controller | ||
- interrupts : interrupt mapping for GPIO IRQ | ||
|
||
Example: | ||
mpu6050@68 { | ||
compatible = "invensense,mpu6050"; | ||
reg = <0x68>; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <18 1>; | ||
}; |
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/iio/magnetometer/bmc150_magn.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
* Bosch BMC150 magnetometer sensor | ||
|
||
http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf | ||
|
||
Required properties: | ||
|
||
- compatible : should be "bosch,bmc150_magn" | ||
- reg : the I2C address of the magnetometer | ||
|
||
Optional properties: | ||
|
||
- interrupt-parent : phandle to the parent interrupt controller | ||
- interrupts : interrupt mapping for GPIO IRQ | ||
|
||
Example: | ||
|
||
bmc150_magn@12 { | ||
compatible = "bosch,bmc150_magn"; | ||
reg = <0x12>; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <0 1>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Documentation/devicetree/bindings/iio/temperature/mlx90614.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* Melexis MLX90614 contactless IR temperature sensor | ||
|
||
http://melexis.com/Infrared-Thermometer-Sensors/Infrared-Thermometer-Sensors/MLX90614-615.aspx | ||
|
||
Required properties: | ||
|
||
- compatible: should be "melexis,mlx90614" | ||
- reg: the I2C address of the sensor | ||
|
||
Optional properties: | ||
|
||
- wakeup-gpios: device tree identifier of the GPIO connected to the SDA line | ||
to hold low in order to wake up the device. In normal operation, the | ||
GPIO is set as input and will not interfere in I2C communication. There | ||
is no need for a GPIO driving the SCL line. If no GPIO is given, power | ||
management is disabled. | ||
|
||
Example: | ||
|
||
mlx90614@5a { | ||
compatible = "melexis,mlx90614"; | ||
reg = <0x5a>; | ||
wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.