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.18-rc1' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/gregkh/staging Pull staging/IIO updates from Greg KH: "Here is the big staging and IIO driver update for 4.18-rc1. It was delayed as I wanted to make sure the final driver deletions did not cause any major merge issues, and all now looks good. There are a lot of patches here, just over 1000. The diffstat summary shows the major changes here: 1007 files changed, 16828 insertions(+), 227770 deletions(-) Because of this, we might be close to shrinking the overall kernel source code size for two releases in a row. There was loads of work in this release cycle, primarily: - tons of ks7010 driver cleanups - lots of mt7621 driver fixes and cleanups - most driver cleanups - wilc1000 fixes and cleanups - lots and lots of IIO driver cleanups and new additions - debugfs cleanups for all staging drivers - lots of other staging driver cleanups and fixes, the shortlog has the full details. but the big user-visable things here are the removal of 3 chunks of code: - ncpfs and ipx were removed on schedule, no one has cared about this code since it moved to staging last year, and if it needs to come back, it can be reverted. - lustre file system is removed. I've ranted at the lustre developers about once a year for the past 5 years, with no real forward progress at all to clean things up and get the code into the "real" part of the kernel. Given that the lustre developers continue to work on an external tree and try to port those changes to the in-kernel tree every once in a while, this whole thing really really is not working out at all. So I'm deleting it so that the developers can spend the time working in their out-of-tree location and get things cleaned up properly to get merged into the tree correctly at a later date. Because of these file removals, you will have merge issues on some of these files (2 in the ipx code, 1 in the ncpfs code, and 1 in the atomisp driver). Just delete those files, it's a simple merge :) All of this has been in linux-next for a while with no reported problems" * tag 'staging-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1011 commits) staging: ipx: delete it from the tree ncpfs: remove uapi .h files ncpfs: remove Documentation ncpfs: remove compat functionality staging: ncpfs: delete it staging: lustre: delete the filesystem from the tree. staging: vc04_services: no need to save the log debufs dentries staging: vc04_services: vchiq_debugfs_log_entry can be a void * staging: vc04_services: remove struct vchiq_debugfs_info staging: vc04_services: move client dbg directory into static variable staging: vc04_services: remove odd vchiq_debugfs_top() wrapper staging: vc04_services: no need to check debugfs return values staging: mt7621-gpio: reorder includes alphabetically staging: mt7621-gpio: change gc_map to don't use pointers staging: mt7621-gpio: use GPIOF_DIR_OUT and GPIOF_DIR_IN macros instead of custom values staging: mt7621-gpio: change 'to_mediatek_gpio' to make just a one line return staging: mt7621-gpio: dt-bindings: update documentation for #interrupt-cells property staging: mt7621-gpio: update #interrupt-cells for the gpio node staging: mt7621-gpio: dt-bindings: complete documentation for the gpio staging: mt7621-dts: add missing properties to gpio node ...
- Loading branch information
Showing
1,006 changed files
with
16,823 additions
and
227,723 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 |
---|---|---|
|
@@ -190,6 +190,13 @@ Description: | |
but should match other such assignments on device). | ||
Units after application of scale and offset are m/s^2. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_angl_raw | ||
KernelVersion: 4.17 | ||
Contact: [email protected] | ||
Description: | ||
Angle of rotation. Units after application of scale and offset | ||
are radians. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_raw | ||
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_raw | ||
|
@@ -297,6 +304,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset | |
What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_rot_offset | ||
What: /sys/bus/iio/devices/iio:deviceX/in_angl_offset | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
Description: | ||
|
@@ -350,6 +358,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_scale | |
What: /sys/bus/iio/devices/iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_illuminance_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_countY_scale | ||
What: /sys/bus/iio/devices/iio:deviceX/in_angl_scale | ||
KernelVersion: 2.6.35 | ||
Contact: [email protected] | ||
Description: | ||
|
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
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/iio/afe/current-sense-amplifier.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,26 @@ | ||
Current Sense Amplifier | ||
======================= | ||
|
||
When an io-channel measures the output voltage from a current sense | ||
amplifier, the interesting measurement is almost always the current | ||
through the sense resistor, not the voltage output. This binding | ||
describes such a current sense circuit. | ||
|
||
Required properties: | ||
- compatible : "current-sense-amplifier" | ||
- io-channels : Channel node of a voltage io-channel. | ||
- sense-resistor-micro-ohms : The sense resistance in microohms. | ||
|
||
Optional properties: | ||
- sense-gain-mult: Amplifier gain multiplier. The default is <1>. | ||
- sense-gain-div: Amplifier gain divider. The default is <1>. | ||
|
||
Example: | ||
|
||
sysi { | ||
compatible = "current-sense-amplifier"; | ||
io-channels = <&tiadc 0>; | ||
|
||
sense-resistor-micro-ohms = <20000>; | ||
sense-gain-mul = <50>; | ||
}; |
41 changes: 41 additions & 0 deletions
41
Documentation/devicetree/bindings/iio/afe/current-sense-shunt.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,41 @@ | ||
Current Sense Shunt | ||
=================== | ||
|
||
When an io-channel measures the voltage over a current sense shunt, | ||
the interesting measurement is almost always the current through the | ||
shunt, not the voltage over it. This binding describes such a current | ||
sense circuit. | ||
|
||
Required properties: | ||
- compatible : "current-sense-shunt" | ||
- io-channels : Channel node of a voltage io-channel. | ||
- shunt-resistor-micro-ohms : The shunt resistance in microohms. | ||
|
||
Example: | ||
The system current is measured by measuring the voltage over a | ||
3.3 ohms shunt resistor. | ||
|
||
sysi { | ||
compatible = "current-sense-shunt"; | ||
io-channels = <&tiadc 0>; | ||
|
||
/* Divide the voltage by 3300000/1000000 (or 3.3) for the current. */ | ||
shunt-resistor-micro-ohms = <3300000>; | ||
}; | ||
|
||
&i2c { | ||
tiadc: adc@48 { | ||
compatible = "ti,ads1015"; | ||
reg = <0x48>; | ||
#io-channel-cells = <1>; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
channel@0 { /* IN0,IN1 differential */ | ||
reg = <0>; | ||
ti,gain = <1>; | ||
ti,datarate = <4>; | ||
}; | ||
}; | ||
}; |
53 changes: 53 additions & 0 deletions
53
Documentation/devicetree/bindings/iio/afe/voltage-divider.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,53 @@ | ||
Voltage divider | ||
=============== | ||
|
||
When an io-channel measures the midpoint of a voltage divider, the | ||
interesting voltage is often the voltage over the full resistance | ||
of the divider. This binding describes the voltage divider in such | ||
a curcuit. | ||
|
||
Vin ----. | ||
| | ||
.-----. | ||
| R | | ||
'-----' | ||
| | ||
+---- Vout | ||
| | ||
.-----. | ||
| Rout| | ||
'-----' | ||
| | ||
GND | ||
|
||
Required properties: | ||
- compatible : "voltage-divider" | ||
- io-channels : Channel node of a voltage io-channel measuring Vout. | ||
- output-ohms : Resistance Rout over which the output voltage is measured. | ||
See full-ohms. | ||
- full-ohms : Resistance R + Rout for the full divider. The io-channel | ||
is scaled by the Rout / (R + Rout) quotient. | ||
|
||
Example: | ||
The system voltage is circa 12V, but divided down with a 22/222 | ||
voltage divider (R = 200 Ohms, Rout = 22 Ohms) and fed to an ADC. | ||
|
||
sysv { | ||
compatible = "voltage-divider"; | ||
io-channels = <&maxadc 1>; | ||
|
||
/* Scale the system voltage by 22/222 to fit the ADC range. */ | ||
output-ohms = <22>; | ||
full-ohms = <222>; /* 200 + 22 */ | ||
}; | ||
|
||
&spi { | ||
maxadc: adc@0 { | ||
compatible = "maxim,max1027"; | ||
reg = <0>; | ||
#io-channel-cells = <1>; | ||
interrupt-parent = <&gpio5>; | ||
interrupts = <15 IRQ_TYPE_EDGE_RISING>; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* Texas Instruments DAC5571 Family | ||
|
||
Required properties: | ||
- compatible: Should contain | ||
"ti,dac5571" | ||
"ti,dac6571" | ||
"ti,dac7571" | ||
"ti,dac5574" | ||
"ti,dac6574" | ||
"ti,dac7574" | ||
"ti,dac5573" | ||
"ti,dac6573" | ||
"ti,dac7573" | ||
- reg: Should contain the DAC I2C address | ||
|
||
Optional properties: | ||
- vref-supply: The regulator supply for DAC reference voltage | ||
|
||
Example: | ||
dac@0 { | ||
compatible = "ti,dac5571"; | ||
reg = <0x4C>; | ||
vref-supply = <&vdd_supply>; | ||
}; |
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
9 changes: 6 additions & 3 deletions
9
Documentation/devicetree/bindings/iio/potentiostat/lmp91000.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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.