forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
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.13-rc1' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/gregkh/staging Pull staging/IIO updates from Greg KH: "Here's the large set of staging and iio driver patches for 4.13-rc1. After over 500 patches, we removed about 200 more lines of code than we added, not great, but we added some new IIO drivers for unsupported hardware, so it's an overall win. Also here are lots of small fixes, and some tty core api additions (with the tty maintainer's ack) for the speakup drivers, those are finally getting some much needed cleanups and are looking much better now than before. Full details in the shortlog. All of these have been in linux-next for a while with no reported issues" * tag 'staging-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (529 commits) staging: lustre: replace kmalloc with kmalloc_array Staging: ion: fix code style warning from NULL comparisons staging: fsl-mc: make dprc.h header private staging: fsl-mc: move mc-cmd.h contents in the public header staging: fsl-mc: move mc-sys.h contents in the public header staging: fsl-mc: fix a few implicit includes staging: fsl-mc: remove dpmng API files staging: fsl-mc: move rest of mc-bus.h to private header staging: fsl-mc: move couple of definitions to public header staging: fsl-mc: move irq domain creation prototype to public header staging: fsl-mc: turn several exported functions static staging: fsl-mc: delete prototype of unimplemented function staging: fsl-mc: delete duplicated function prototypes staging: fsl-mc: decouple the mc-bus public headers from dprc.h staging: fsl-mc: drop useless #includes staging: fsl-mc: be consistent when checking strcmp() return staging: fsl-mc: move comparison before strcmp() call staging: speakup: make function ser_to_dev static staging: ks7010: fix spelling mistake: "errror" -> "error" staging: rtl8192e: fix spelling mistake: "respose" -> "response" ...
- Loading branch information
Showing
407 changed files
with
11,603 additions
and
11,578 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 |
---|---|---|
|
@@ -1425,6 +1425,17 @@ Description: | |
guarantees that the hardware fifo is flushed to the device | ||
buffer. | ||
|
||
What: /sys/bus/iio/devices/iio:device*/buffer/hwfifo_timeout | ||
KernelVersion: 4.12 | ||
Contact: [email protected] | ||
Description: | ||
A read/write property to provide capability to delay reporting of | ||
samples till a timeout is reached. This allows host processors to | ||
sleep, while the sensor is storing samples in its internal fifo. | ||
The maximum timeout in seconds can be specified by setting | ||
hwfifo_timeout.The current delay can be read by reading | ||
hwfifo_timeout. A value of 0 means that there is no timeout. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/buffer/hwfifo_watermark | ||
KernelVersion: 4.2 | ||
Contact: [email protected] | ||
|
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 |
---|---|---|
|
@@ -16,6 +16,54 @@ Description: | |
- "OC2REF" : OC2REF signal is used as trigger output. | ||
- "OC3REF" : OC3REF signal is used as trigger output. | ||
- "OC4REF" : OC4REF signal is used as trigger output. | ||
Additional modes (on TRGO2 only): | ||
- "OC5REF" : OC5REF signal is used as trigger output. | ||
- "OC6REF" : OC6REF signal is used as trigger output. | ||
- "compare_pulse_OC4REF": | ||
OC4REF rising or falling edges generate pulses. | ||
- "compare_pulse_OC6REF": | ||
OC6REF rising or falling edges generate pulses. | ||
- "compare_pulse_OC4REF_r_or_OC6REF_r": | ||
OC4REF or OC6REF rising edges generate pulses. | ||
- "compare_pulse_OC4REF_r_or_OC6REF_f": | ||
OC4REF rising or OC6REF falling edges generate pulses. | ||
- "compare_pulse_OC5REF_r_or_OC6REF_r": | ||
OC5REF or OC6REF rising edges generate pulses. | ||
- "compare_pulse_OC5REF_r_or_OC6REF_f": | ||
OC5REF rising or OC6REF falling edges generate pulses. | ||
|
||
+-----------+ +-------------+ +---------+ | ||
| Prescaler +-> | Counter | +-> | Master | TRGO(2) | ||
+-----------+ +--+--------+-+ |-> | Control +--> | ||
| | || +---------+ | ||
+--v--------+-+ OCxREF || +---------+ | ||
| Chx compare +----------> | Output | ChX | ||
+-----------+-+ | | Control +--> | ||
. | | +---------+ | ||
. | | . | ||
+-----------v-+ OC6REF | . | ||
| Ch6 compare +---------+> | ||
+-------------+ | ||
|
||
Example with: "compare_pulse_OC4REF_r_or_OC6REF_r": | ||
|
||
X | ||
X X | ||
X . . X | ||
X . . X | ||
X . . X | ||
count X . . . . X | ||
. . . . | ||
. . . . | ||
+---------------+ | ||
OC4REF | . . | | ||
+-+ . . +-+ | ||
. +---+ . | ||
OC6REF . | | . | ||
+-------+ +-------+ | ||
+-+ +-+ | ||
TRGO2 | | | | | ||
+-+ +---+ +---------+ | ||
|
||
What: /sys/bus/iio/devices/triggerX/master_mode | ||
KernelVersion: 4.11 | ||
|
@@ -90,3 +138,18 @@ Description: | |
Counting is enabled on rising edge of the connected | ||
trigger, and remains enabled for the duration of this | ||
selected mode. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_count_trigger_mode_available | ||
KernelVersion: 4.13 | ||
Contact: [email protected] | ||
Description: | ||
Reading returns the list possible trigger modes. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_count0_trigger_mode | ||
KernelVersion: 4.13 | ||
Contact: [email protected] | ||
Description: | ||
Configure the device counter trigger mode | ||
counting direction is set by in_count0_count_direction | ||
attribute and the counter is clocked by the connected trigger | ||
rising edges. |
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
19 changes: 19 additions & 0 deletions
19
Documentation/devicetree/bindings/iio/adc/ti-adc084s021.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,19 @@ | ||
* Texas Instruments' ADC084S021 | ||
|
||
Required properties: | ||
- compatible : Must be "ti,adc084s021" | ||
- reg : SPI chip select number for the device | ||
- vref-supply : The regulator supply for ADC reference voltage | ||
- spi-cpol : Per spi-bus bindings | ||
- spi-cpha : Per spi-bus bindings | ||
- spi-max-frequency : Per spi-bus bindings | ||
|
||
Example: | ||
adc@0 { | ||
compatible = "ti,adc084s021"; | ||
reg = <0>; | ||
vref-supply = <&adc_vref>; | ||
spi-cpol; | ||
spi-cpha; | ||
spi-max-frequency = <16000000>; | ||
}; |
18 changes: 18 additions & 0 deletions
18
Documentation/devicetree/bindings/iio/adc/ti-adc108s102.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,18 @@ | ||
* Texas Instruments' ADC108S102 and ADC128S102 ADC chip | ||
|
||
Required properties: | ||
- compatible: Should be "ti,adc108s102" | ||
- reg: spi chip select number for the device | ||
- vref-supply: The regulator supply for ADC reference voltage | ||
|
||
Recommended properties: | ||
- spi-max-frequency: Definition as per | ||
Documentation/devicetree/bindings/spi/spi-bus.txt | ||
|
||
Example: | ||
adc@0 { | ||
compatible = "ti,adc108s102"; | ||
reg = <0>; | ||
vref-supply = <&vdd_supply>; | ||
spi-max-frequency = <1000000>; | ||
}; |
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 |
---|---|---|
|
@@ -10553,6 +10553,7 @@ M: Laurentiu Tudor <[email protected]> | |
L: [email protected] | ||
S: Maintained | ||
F: drivers/staging/fsl-mc/ | ||
F: Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt | ||
|
||
QT1010 MEDIA DRIVER | ||
M: Antti Palosaari <[email protected]> | ||
|
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
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
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.