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.9-rc1' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/gregkh/staging Pull staging and IIO updates from Greg KH: "Here is the big staging and IIO driver pull request for 4.9-rc1. There are a lot of patches in here, the majority due to the drivers/staging/greybus/ subsystem being merged in with full development history that went back a few years, in order to preserve the work that those developers did over time. Lots and lots of tiny cleanups happened in the tree as well, due to the Outreachy application process and lots of other developers showing up for the first time to clean code up. Along with those changes, we deleted a wireless driver, and added a raspberrypi driver (currently marked broken), and lots of new iio drivers. Overall the tree still shrunk with more lines removed than added, about 10 thousand lines removed in total. Full details are in the very long shortlog below. All of this has been in the linux-next tree with no issues. There will be some merge problems with other subsystem trees, but those are all minor problems and shouldn't be hard to work out when they happen (MAINTAINERS and some lustre build problems with the IB tree)" And furter from me asking for clarification about greybus: "Right now there is a phone from Motorola shipping with this code (a slightly older version, but the same tree), so even though Ara is not alive in the same form, the functionality is happening. We are working with the developers of that phone to merge the newer stuff in with their fork so they can use the upstream version in future versions of their phone product line. Toshiba has at least one chip shipping in their catalog that needs/uses this protocol over a Unipro link, and rumor has it that there might be more in the future. There are also other users of the greybus protocols, there is a talk next week at ELC that shows how it is being used across a network connection to control a device, and previous ELC talks have showed the protocol stack being used over USB to drive embedded Linux boards. I've also talked to some people who are starting to work to add a host controller driver to control arduinos as the greybus PHY protocols are very useful to control a serial/i2c/spio/whatever device across a random physical link, as it is a way to have a self-describing device be attached to a host without needing manual configuration. So yes, people are using it, and there is still the chance that it will show up in a phone/laptop/tablet/whatever from Google in the future as well, the tech isn't dead, even if the original large phone project happens to be" * tag 'staging-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (3703 commits) Staging: fbtft: Fix bug in fbtft-core staging: rtl8188eu: fix double unlock error in rtw_resume_process() staging:r8188eu: remove GEN_MLME_EXT_HANDLER macro staging:r8188eu: remove GEN_DRV_CMD_HANDLER macro staging:r8188eu: remove GEN_EVT_CODE macro staging:r8188eu: remove GEN_CMD_CODE macro staging:r8188eu: remove pkt_newalloc member of the recv_buf structure staging:r8188eu: remove rtw_handle_dualmac declaration staging:r8188eu: remove (RGTRY|BSSID)_(OFT|SZ) macros staging:r8188eu: change rtl8188e_process_phy_info function argument type Staging: fsl-mc: Remove blank lines Staging: fsl-mc: Fix unaligned * in block comments Staging: comedi: Align the * in block comments Staging : ks7010 : Fix block comments warninig Staging: vt6655: Remove explicit NULL comparison using Coccinelle staging: rtl8188eu: core: rtw_xmit: Use macros instead of constants staging: rtl8188eu: core: rtw_xmit: Move constant of the right side staging: dgnc: Fix lines longer than 80 characters Staging: dgnc: constify attribute_group structures Staging: most: hdm-dim2: constify attribute_group structures ...
- Loading branch information
Showing
932 changed files
with
81,948 additions
and
91,969 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 |
---|---|---|
|
@@ -160,6 +160,7 @@ Valdis Kletnieks <[email protected]> | |
Viresh Kumar <[email protected]> <[email protected]> | ||
Viresh Kumar <[email protected]> <[email protected]> | ||
Viresh Kumar <[email protected]> <[email protected]> | ||
Vlad Dogaru <[email protected]> <[email protected]> | ||
Vladimir Davydov <[email protected]> <[email protected]> | ||
Vladimir Davydov <[email protected]> <[email protected]> | ||
Takashi YOSHII <[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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Device tree bindings for Domintech DMARD05, DMARD06, DMARD07 accelerometers | ||
|
||
Required properties: | ||
- compatible : Should be "domintech,dmard05" | ||
or "domintech,dmard06" | ||
or "domintech,dmard07" | ||
- reg : I2C address of the chip. Should be 0x1c | ||
|
||
Example: | ||
&i2c1 { | ||
/* ... */ | ||
|
||
accelerometer@1c { | ||
compatible = "domintech,dmard06"; | ||
reg = <0x1c>; | ||
}; | ||
|
||
/* ... */ | ||
}; |
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/iio/accel/kionix,kxsd9.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 @@ | ||
Kionix KXSD9 Accelerometer device tree bindings | ||
|
||
Required properties: | ||
- compatible: should be set to "kionix,kxsd9" | ||
- reg: i2c slave address | ||
|
||
Optional properties: | ||
- vdd-supply: The input supply for VDD | ||
- iovdd-supply: The input supply for IOVDD | ||
- interrupts: The movement detection interrupt | ||
- mount-matrix: See mount-matrix.txt | ||
|
||
Example: | ||
|
||
kxsd9@18 { | ||
compatible = "kionix,kxsd9"; | ||
reg = <0x18>; | ||
interrupt-parent = <&foo>; | ||
interrupts = <57 IRQ_TYPE_EDGE_FALLING>; | ||
iovdd-supply = <&bar>; | ||
vdd-supply = <&baz>; | ||
}; |
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/iio/adc/mt6577_auxadc.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,29 @@ | ||
* Mediatek AUXADC - Analog to Digital Converter on Mediatek mobile soc (mt65xx/mt81xx/mt27xx) | ||
=============== | ||
|
||
The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found | ||
in some Mediatek SoCs which among other things measures the temperatures | ||
in the SoC. It can be used directly with register accesses, but it is also | ||
used by thermal controller which reads the temperatures from the AUXADC | ||
directly via its own bus interface. See | ||
Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | ||
for the Thermal Controller which holds a phandle to the AUXADC. | ||
|
||
Required properties: | ||
- compatible: Should be one of: | ||
- "mediatek,mt2701-auxadc": For MT2701 family of SoCs | ||
- "mediatek,mt8173-auxadc": For MT8173 family of SoCs | ||
- reg: Address range of the AUXADC unit. | ||
- clocks: Should contain a clock specifier for each entry in clock-names | ||
- clock-names: Should contain "main". | ||
- #io-channel-cells: Should be 1, see ../iio-bindings.txt | ||
|
||
Example: | ||
|
||
auxadc: adc@11001000 { | ||
compatible = "mediatek,mt2701-auxadc"; | ||
reg = <0 0x11001000 0 0x1000>; | ||
clocks = <&pericfg CLK_PERI_AUXADC>; | ||
clock-names = "main"; | ||
#io-channel-cells = <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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
* Texas Instruments' ADC12130/ADC12132/ADC12138 | ||
|
||
Required properties: | ||
- compatible: Should be one of | ||
* "ti,adc12130" | ||
* "ti,adc12132" | ||
* "ti,adc12138" | ||
- reg: SPI chip select number for the device | ||
- interrupts: Should contain interrupt for EOC (end of conversion) | ||
- clocks: phandle to conversion clock input | ||
- spi-max-frequency: Definision as per | ||
Documentation/devicetree/bindings/spi/spi-bus.txt | ||
- vref-p-supply: The regulator supply for positive analog voltage reference | ||
|
||
Optional properties: | ||
- vref-n-supply: The regulator supply for negative analog voltage reference | ||
(Note that this must not go below GND or exceed vref-p) | ||
If not specified, this is assumed to be analog ground. | ||
- ti,acquisition-time: The number of conversion clock periods for the S/H's | ||
acquisition time. Should be one of 6, 10, 18, 34. If not specified, | ||
default value of 10 is used. | ||
For high source impedances, this value can be increased to 18 or 34. | ||
For less ADC accuracy and/or slower CCLK frequencies this value may be | ||
decreased to 6. See section 6.0 INPUT SOURCE RESISTANCE in the | ||
datasheet for details. | ||
|
||
Example: | ||
adc@0 { | ||
compatible = "ti,adc12138"; | ||
reg = <0>; | ||
interrupts = <28 IRQ_TYPE_EDGE_RISING>; | ||
interrupt-parent = <&gpio1>; | ||
clocks = <&cclk>; | ||
vref-p-supply = <&ldo4_reg>; | ||
spi-max-frequency = <5000000>; | ||
ti,acquisition-time = <6>; | ||
}; |
16 changes: 16 additions & 0 deletions
16
Documentation/devicetree/bindings/iio/adc/ti-adc161s626.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,16 @@ | ||
* Texas Instruments ADC141S626 and ADC161S626 chips | ||
|
||
Required properties: | ||
- compatible: Should be "ti,adc141s626" or "ti,adc161s626" | ||
- reg: spi chip select number for the device | ||
|
||
Recommended properties: | ||
- spi-max-frequency: Definition as per | ||
Documentation/devicetree/bindings/spi/spi-bus.txt | ||
|
||
Example: | ||
adc@0 { | ||
compatible = "ti,adc161s626"; | ||
reg = <0>; | ||
spi-max-frequency = <4300000>; | ||
}; |
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/iio/chemical/atlas,orp-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 ORP-SM OEM sensor | ||
|
||
https://www.atlas-scientific.com/_files/_datasheets/_oem/ORP_oem_datasheet.pdf | ||
|
||
Required properties: | ||
|
||
- compatible: must be "atlas,orp-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@66 { | ||
compatible = "atlas,orp-sm"; | ||
reg = <0x66>; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <16 2>; | ||
}; |
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/iio/magnetometer/ak8974.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,29 @@ | ||
* Asahi Kasei AK8974 magnetometer sensor | ||
|
||
Required properties: | ||
|
||
- compatible : should be "asahi-kasei,ak8974" | ||
- reg : the I2C address of the magnetometer | ||
|
||
Optional properties: | ||
|
||
- avdd-supply: regulator supply for the analog voltage | ||
(see regulator/regulator.txt) | ||
- dvdd-supply: regulator supply for the digital voltage | ||
(see regulator/regulator.txt) | ||
- interrupts: data ready (DRDY) and interrupt (INT1) lines | ||
from the chip, the DRDY interrupt must be placed first. | ||
The interrupts can be triggered on rising or falling | ||
edges alike. | ||
- mount-matrix: an optional 3x3 mounting rotation matrix | ||
|
||
Example: | ||
|
||
ak8974@0f { | ||
compatible = "asahi-kasei,ak8974"; | ||
reg = <0x0f>; | ||
avdd-supply = <&foo_reg>; | ||
dvdd-supply = <&bar_reg>; | ||
interrupts = <0 IRQ_TYPE_EDGE_RISING>, | ||
<1 IRQ_TYPE_EDGE_RISING>; | ||
}; |
31 changes: 31 additions & 0 deletions
31
Documentation/devicetree/bindings/iio/pressure/zpa2326.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,31 @@ | ||
Murata ZPA2326 pressure sensor | ||
|
||
Pressure sensor from Murata with SPI and I2C bus interfaces. | ||
|
||
Required properties: | ||
- compatible: "murata,zpa2326" | ||
- reg: the I2C address or SPI chip select the device will respond to | ||
|
||
Recommended properties for SPI bus usage: | ||
- spi-max-frequency: maximum SPI bus frequency as documented in | ||
Documentation/devicetree/bindings/spi/spi-bus.txt | ||
|
||
Optional properties: | ||
- vref-supply: an optional regulator that needs to be on to provide VREF | ||
power to the sensor | ||
- vdd-supply: an optional regulator that needs to be on to provide VDD | ||
power to the sensor | ||
- interrupt-parent: phandle to the parent interrupt controller as documented in | ||
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt | ||
- interrupts: interrupt mapping for IRQ as documented in | ||
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt | ||
|
||
Example: | ||
|
||
zpa2326@5c { | ||
compatible = "murata,zpa2326"; | ||
reg = <0x5c>; | ||
interrupt-parent = <&gpio>; | ||
interrupts = <12>; | ||
vdd-supply = <&ldo_1v8_gnss>; | ||
}; |
24 changes: 24 additions & 0 deletions
24
Documentation/devicetree/bindings/iio/proximity/sx9500.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 @@ | ||
Semtech's SX9500 capacitive proximity button device driver | ||
|
||
Required properties: | ||
- compatible: must be "semtech,sx9500" | ||
- reg: i2c address where to find the device | ||
- 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. | ||
|
||
Optional properties: | ||
- reset-gpios: Reference to the GPIO connected to the device's active | ||
low reset pin. | ||
|
||
Example: | ||
|
||
sx9500@28 { | ||
compatible = "semtech,sx9500"; | ||
reg = <0x28>; | ||
interrupt-parent = <&gpio2>; | ||
interrupts = <16 IRQ_TYPE_LEVEL_LOW>; | ||
reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; | ||
}; |
21 changes: 21 additions & 0 deletions
21
Documentation/devicetree/bindings/iio/temperature/maxim_thermocouple.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,21 @@ | ||
Maxim thermocouple support | ||
|
||
* https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf | ||
* https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf | ||
|
||
Required properties: | ||
|
||
- compatible: must be "maxim,max31855" or "maxim,max6675" | ||
- reg: SPI chip select number for the device | ||
- spi-max-frequency: must be 4300000 | ||
- spi-cpha: must be defined for max6675 to enable SPI mode 1 | ||
|
||
Refer to spi/spi-bus.txt for generic SPI slave bindings. | ||
|
||
Example: | ||
|
||
max31855@0 { | ||
compatible = "maxim,max31855"; | ||
reg = <0>; | ||
spi-max-frequency = <4300000>; | ||
}; |
This file was deleted.
Oops, something went wrong.
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.