forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
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.6-rc1' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/gregkh/staging Pull staging driver updates from Greg KH: "Here is the big staging driver pull request for 4.6-rc1. Lots of little things here, over 1600 patches or so. Notable is all of the good Lustre work happening, those developers have finally woken up and are cleaning up their code greatly. The Outreachy intern application process is also happening, which brought in another 400 or so patches. Full details are in the very long shortlog. All of these have been in linux-next with no reported issues" * tag 'staging-4.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1673 commits) staging: lustre: fix aligments in lnet selftest staging: lustre: report minimum of two buffers for LNet selftest load test staging: lustre: test for proper errno code in lstcon_rpc_trans_abort staging: lustre: filter remaining extra spacing for lnet selftest staging: lustre: remove extra spacing when setting variable for lnet selftest staging: lustre: remove extra spacing of variable declartions for lnet selftest staging: lustre: fix spacing issues checkpatch reported in lnet selftest staging: lustre: remove returns in void function for lnet selftest staging: lustre: fix bogus lst errors for lnet selftest staging: netlogic: Replacing pr_err with dev_err after the call to devm_kzalloc staging: mt29f_spinand: Replacing pr_info with dev_info after the call to devm_kzalloc staging: android: ion: fix up file mode staging: ion: debugfs invalid gfp mask staging: rts5208: Replace pci_enable_device with pcim_enable_device Staging: ieee80211: Place constant on right side of the test. staging: speakup: Replace del_timer with del_timer_sync staging: lowmemorykiller: fix 2 checks that checkpatch complained staging: mt29f_spinand: Drop void pointer cast staging: rdma: hfi1: file_ops: Replace ALIGN with PAGE_ALIGN staging: rdma: hfi1: driver: Replace IS_ALIGNED with PAGE_ALIGNED ...
- Loading branch information
Showing
895 changed files
with
36,024 additions
and
45,222 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
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 |
---|---|---|
|
@@ -496,8 +496,11 @@ Description: | |
1kohm_to_gnd: connected to ground via an 1kOhm resistor, | ||
6kohm_to_gnd: connected to ground via a 6kOhm resistor, | ||
20kohm_to_gnd: connected to ground via a 20kOhm resistor, | ||
90kohm_to_gnd: connected to ground via a 90kOhm resistor, | ||
100kohm_to_gnd: connected to ground via an 100kOhm resistor, | ||
125kohm_to_gnd: connected to ground via an 125kOhm resistor, | ||
500kohm_to_gnd: connected to ground via a 500kOhm resistor, | ||
640kohm_to_gnd: connected to ground via a 640kOhm resistor, | ||
three_state: left floating. | ||
For a list of available output power down options read | ||
outX_powerdown_mode_available. If Y is not present the | ||
|
@@ -1491,3 +1494,10 @@ Description: | |
This ABI is especially applicable for humidity sensors | ||
to heatup the device and get rid of any condensation | ||
in some humidity environment | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_ph_raw | ||
KernelVersion: 4.5 | ||
Contact: [email protected] | ||
Description: | ||
Raw (unscaled no offset etc.) pH reading of a substance as a negative | ||
base-10 logarithm of hydrodium ions in a litre of water. |
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,54 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/tia_resistanceY | ||
/sys/bus/iio/devices/iio:deviceX/tia_capacitanceY | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <[email protected]> | ||
Description: | ||
Get and set the resistance and the capacitance settings for the | ||
Transimpedance Amplifier. Y is 1 for Rf1 and Cf1, Y is 2 for | ||
Rf2 and Cf2 values. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/tia_separate_en | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <[email protected]> | ||
Description: | ||
Enable or disable separate settings for the TransImpedance | ||
Amplifier above, when disabled both values are set by the | ||
first channel. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ledY_raw | ||
/sys/bus/iio/devices/iio:deviceX/in_intensity_ledY_ambient_raw | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <[email protected]> | ||
Description: | ||
Get measured values from the ADC for these stages. Y is the | ||
specific LED number. The values are expressed in 24-bit twos | ||
complement. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_ledY-ledY_ambient_raw | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <[email protected]> | ||
Description: | ||
Get differential values from the ADC for these stages. Y is the | ||
specific LED number. The values are expressed in 24-bit twos | ||
complement for the specified LEDs. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/out_current_ledY_offset | ||
/sys/bus/iio/devices/iio:deviceX/out_current_ledY_ambient_offset | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <[email protected]> | ||
Description: | ||
Get and set the offset cancellation DAC setting for these | ||
stages. The values are expressed in 5-bit sign-magnitude. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/out_current_ledY_raw | ||
Date: December 2015 | ||
KernelVersion: | ||
Contact: Andrew F. Davis <[email protected]> | ||
Description: | ||
Get and set the LED current for the specified LED. Y is the | ||
specific LED number. |
15 changes: 15 additions & 0 deletions
15
Documentation/ABI/testing/sysfs-bus-iio-magnetometer-hmc5843
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,15 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/meas_conf | ||
What: /sys/bus/iio/devices/iio:deviceX/meas_conf_available | ||
KernelVersion: 4.5 | ||
Contact: [email protected] | ||
Description: | ||
Current configuration and available configurations | ||
for the bias current. | ||
normal - Normal measurement configurations (default) | ||
positivebias - Positive bias configuration | ||
negativebias - Negative bias configuration | ||
disabled - Only available on HMC5983. Disables magnetic | ||
sensor and enables temperature sensor. | ||
Note: The effect of this configuration may vary | ||
according to the device. For exact documentation | ||
check the device's datasheet. |
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 |
---|---|---|
|
@@ -5,3 +5,12 @@ 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. | ||
|
||
|
||
What: /sys/bus/iio/devices/iio:deviceX/out_conversion_mode | ||
KernelVersion: 4.6 | ||
Contact: [email protected] | ||
Description: | ||
Specifies the hardware conversion mode used within DAC. | ||
The two available modes are "high-power" and "low-power", | ||
where "low-power" mode 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,17 @@ | ||
Android Goldfish Audio | ||
|
||
Android goldfish audio device generated by android emulator. | ||
|
||
Required properties: | ||
|
||
- compatible : should contain "google,goldfish-audio" to match emulator | ||
- reg : <registers mapping> | ||
- interrupts : <interrupt mapping> | ||
|
||
Example: | ||
|
||
goldfish_audio@9030000 { | ||
compatible = "google,goldfish-audio"; | ||
reg = <0x9030000 0x100>; | ||
interrupts = <0x4>; | ||
}; |
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
28 changes: 28 additions & 0 deletions
28
Documentation/devicetree/bindings/iio/adc/at91-sama5d2_adc.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,28 @@ | ||
* AT91 SAMA5D2 Analog to Digital Converter (ADC) | ||
|
||
Required properties: | ||
- compatible: Should be "atmel,sama5d2-adc". | ||
- reg: Should contain ADC registers location and length. | ||
- interrupts: Should contain the IRQ line for the ADC. | ||
- clocks: phandle to device clock. | ||
- clock-names: Must be "adc_clk". | ||
- vref-supply: Supply used as reference for conversions. | ||
- vddana-supply: Supply for the adc device. | ||
- atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC. | ||
- atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC. | ||
- atmel,startup-time-ms: Startup time expressed in ms, it depends on SoC. | ||
|
||
Example: | ||
|
||
adc: adc@fc030000 { | ||
compatible = "atmel,sama5d2-adc"; | ||
reg = <0xfc030000 0x100>; | ||
interrupts = <40 IRQ_TYPE_LEVEL_HIGH 7>; | ||
clocks = <&adc_clk>; | ||
clock-names = "adc_clk"; | ||
atmel,min-sample-rate-hz = <200000>; | ||
atmel,max-sample-rate-hz = <20000000>; | ||
atmel,startup-time-ms = <4>; | ||
vddana-supply = <&vdd_3v3_lp_reg>; | ||
vref-supply = <&vdd_3v3_lp_reg>; | ||
} |
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,19 @@ | ||
* Texas Instruments' ADC0831/ADC0832/ADC0832/ADC0838 | ||
|
||
Required properties: | ||
- compatible: Should be one of | ||
* "ti,adc0831" | ||
* "ti,adc0832" | ||
* "ti,adc0834" | ||
* "ti,adc0838" | ||
- reg: spi chip select number for the device | ||
- vref-supply: The regulator supply for ADC reference voltage | ||
- spi-max-frequency: Max SPI frequency to use (< 400000) | ||
|
||
Example: | ||
adc@0 { | ||
compatible = "ti,adc0832"; | ||
reg = <0>; | ||
vref-supply = <&vdd_supply>; | ||
spi-max-frequency = <200000>; | ||
}; |
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.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 @@ | ||
* Atlas Scientific pH-SM OEM sensor | ||
|
||
http://www.atlas-scientific.com/_files/_datasheets/_oem/pH_oem_datasheet.pdf | ||
|
||
Required properties: | ||
|
||
- compatible: must be "atlas,ph-sm" | ||
- 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: | ||
|
||
atlas@65 { | ||
compatible = "atlas,ph-sm"; | ||
reg = <0x65>; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <16 2>; | ||
}; |
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,20 @@ | ||
Freescale vf610 Digital to Analog Converter bindings | ||
|
||
The devicetree bindings are for the new DAC driver written for | ||
vf610 SoCs from Freescale. | ||
|
||
Required properties: | ||
- compatible: Should contain "fsl,vf610-dac" | ||
- reg: Offset and length of the register set for the device | ||
- interrupts: Should contain the interrupt for the device | ||
- clocks: The clock is needed by the DAC controller | ||
- clock-names: Must contain "dac" matching entry in the clocks property. | ||
|
||
Example: | ||
dac0: dac@400cc000 { | ||
compatible = "fsl,vf610-dac"; | ||
reg = <0x400cc000 0x1000>; | ||
interrupts = <55 IRQ_TYPE_LEVEL_HIGH>; | ||
clock-names = "dac"; | ||
clocks = <&clks VF610_CLK_DAC0>; | ||
}; |
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,34 @@ | ||
Texas Instruments AFE4403 Heart rate and Pulse Oximeter | ||
|
||
Required properties: | ||
- compatible : Should be "ti,afe4403". | ||
- reg : SPI chip select address of device. | ||
- tx-supply : Regulator supply to transmitting LEDs. | ||
- interrupt-parent : Phandle to he parent interrupt controller. | ||
- interrupts : The interrupt line the device ADC_RDY pin is | ||
connected to. For details refer to, | ||
../../interrupt-controller/interrupts.txt. | ||
|
||
Optional properties: | ||
- reset-gpios : GPIO used to reset the device. | ||
For details refer to, ../../gpio/gpio.txt. | ||
|
||
For other required and optional properties of SPI slave nodes | ||
please refer to ../../spi/spi-bus.txt. | ||
|
||
Example: | ||
|
||
&spi0 { | ||
heart_mon@0 { | ||
compatible = "ti,afe4403"; | ||
reg = <0>; | ||
spi-max-frequency = <10000000>; | ||
|
||
tx-supply = <&vbat>; | ||
|
||
interrupt-parent = <&gpio1>; | ||
interrupts = <28 IRQ_TYPE_EDGE_RISING>; | ||
|
||
reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; |
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,30 @@ | ||
Texas Instruments AFE4404 Heart rate and Pulse Oximeter | ||
|
||
Required properties: | ||
- compatible : Should be "ti,afe4404". | ||
- reg : I2C address of the device. | ||
- tx-supply : Regulator supply to transmitting LEDs. | ||
- interrupt-parent : Phandle to he parent interrupt controller. | ||
- interrupts : The interrupt line the device ADC_RDY pin is | ||
connected to. For details refer to, | ||
../interrupt-controller/interrupts.txt. | ||
|
||
Optional properties: | ||
- reset-gpios : GPIO used to reset the device. | ||
For details refer to, ../gpio/gpio.txt. | ||
|
||
Example: | ||
|
||
&i2c2 { | ||
heart_mon@58 { | ||
compatible = "ti,afe4404"; | ||
reg = <0x58>; | ||
|
||
tx-supply = <&vbat>; | ||
|
||
interrupt-parent = <&gpio1>; | ||
interrupts = <28 IRQ_TYPE_EDGE_RISING>; | ||
|
||
reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; |
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,26 @@ | ||
* Texas Instruments OPT3001 Ambient Light Sensor | ||
|
||
The driver supports interrupt-driven and interrupt-less operation, depending | ||
on whether an interrupt property has been populated into the DT. Note that | ||
the optional generation of IIO events on rising/falling light threshold changes | ||
requires the use of interrupts. Without interrupts, only the simple reading | ||
of the current light value is supported through the IIO API. | ||
|
||
http://www.ti.com/product/opt3001 | ||
|
||
Required properties: | ||
- compatible: should be "ti,opt3001" | ||
- reg: the I2C address of the sensor | ||
|
||
Optional properties: | ||
- interrupt-parent: should be the phandle for the interrupt controller | ||
- interrupts: interrupt mapping for GPIO IRQ (configure for falling edge) | ||
|
||
Example: | ||
|
||
opt3001@44 { | ||
compatible = "ti,opt3001"; | ||
reg = <0x44>; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <28 IRQ_TYPE_EDGE_FALLING>; | ||
}; |
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
File renamed without changes.
Oops, something went wrong.