-
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.20-rc1' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/gregkh/staging Pull staging/IIO driver updates from Greg KH: "Here is the big staging and IIO driver pull request for 4.20-rc1. There are lots of things here, we ended up adding more lines than removing, thanks to a large influx of Comedi National Instrument device support. Someday soon we need to get comedi out of staging... Other than the comedi drivers, the "big" things here are: - new iio drivers - delete dgnc driver (no one used it and no one had the hardware anymore) - vbox driver updates and fixes - erofs fixes - tons and tons of tiny checkpatch fixes for almost all staging drivers All of these have been in linux-next, with the last few happening a bit "late" due to them getting stuck on my laptop during travel to the Mantainers summit" * tag 'staging-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (690 commits) staging: gasket: Fix sparse "incorrect type in assignment" warnings. staging: gasket: remove debug logs for callback invocation staging: gasket: remove debug logs in page table mapping calls staging: rtl8188eu: core: Use sizeof(*p) instead of sizeof(struct P) for memory allocation staging: ks7010: Remove extra blank line staging: gasket: Remove extra blank line staging: media: davinci_vpfe: Fix spelling mistake in enum staging: speakup: Add a pair of braces staging: wlan-ng: Replace long int with long staging: MAINTAINERS: remove obsolete IPX staging directory staging: MAINTAINERS: remove NCP filesystem entry staging: rtl8188eu: cleanup comparsions to false staging: gasket: Update device virtual address comment staging: gasket: sysfs: fix attribute release comment staging: gasket: apex: fix sysfs_show staging: gasket: page_table: simplify gasket_components_to_dev_address staging: gasket: page_table: fix comment in components_to_dev_address staging: gasket: page table: fixup error path allocating coherent mem staging: gasket: page_table: rearrange gasket_page_table_entry staging: gasket: page_table: remove unnecessary PTE status set to free ...
- Loading branch information
Showing
485 changed files
with
44,060 additions
and
16,309 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer | ||
|
||
http://www.analog.com/media/en/technical-documentation/data-sheets/adxl372.pdf | ||
|
||
Required properties: | ||
- compatible : should be "adi,adxl372" | ||
- reg: the I2C address or SPI chip select number for the device | ||
|
||
Required properties for SPI bus usage: | ||
- spi-max-frequency: Max SPI frequency to use | ||
|
||
Optional properties: | ||
- interrupts: interrupt mapping for IRQ as documented in | ||
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt | ||
|
||
Example for a I2C device node: | ||
|
||
accelerometer@53 { | ||
compatible = "adi,adxl372"; | ||
reg = <0x53>; | ||
interrupt-parent = <&gpio>; | ||
interrupts = <25 IRQ_TYPE_EDGE_FALLING>; | ||
}; | ||
|
||
Example for a SPI device node: | ||
|
||
accelerometer@0 { | ||
compatible = "adi,adxl372"; | ||
reg = <0>; | ||
spi-max-frequency = <1000000>; | ||
interrupt-parent = <&gpio>; | ||
interrupts = <25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
* Microchip MCP3911 Dual channel analog front end (ADC) | ||
|
||
Required properties: | ||
- compatible: Should be "microchip,mcp3911" | ||
- reg: SPI chip select number for the device | ||
|
||
Recommended properties: | ||
- spi-max-frequency: Definition as per | ||
Documentation/devicetree/bindings/spi/spi-bus.txt. | ||
Max frequency for this chip is 20MHz. | ||
|
||
Optional properties: | ||
- clocks: Phandle and clock identifier for sampling clock | ||
- interrupt-parent: Phandle to the parent interrupt controller | ||
- interrupts: IRQ line for the ADC | ||
- microchip,device-addr: Device address when multiple MCP3911 chips are present on the | ||
same SPI bus. Valid values are 0-3. Defaults to 0. | ||
- vref-supply: Phandle to the external reference voltage supply. | ||
|
||
Example: | ||
adc@0 { | ||
compatible = "microchip,mcp3911"; | ||
reg = <0>; | ||
interrupt-parent = <&gpio5>; | ||
interrupts = <15 IRQ_TYPE_EDGE_RISING>; | ||
spi-max-frequency = <20000000>; | ||
microchip,device-addr = <0>; | ||
vref-supply = <&vref_reg>; | ||
clocks = <&xtal>; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
* Linear Technology Micropower octal 8-Bit and 10-Bit DACs | ||
|
||
Required properties: | ||
- compatible: Must be one of the following: | ||
"lltc,ltc1660" | ||
"lltc,ltc1665" | ||
- reg: SPI chip select number for the device | ||
- vref-supply: Phandle to the voltage reference supply | ||
|
||
Recommended properties: | ||
- spi-max-frequency: Definition as per | ||
Documentation/devicetree/bindings/spi/spi-bus.txt. | ||
Max frequency for this chip is 5 MHz. | ||
|
||
Example: | ||
dac@0 { | ||
compatible = "lltc,ltc1660"; | ||
reg = <0>; | ||
spi-max-frequency = <5000000>; | ||
vref-supply = <&vref_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
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 @@ | ||
ROHM BH1750 - ALS, Ambient light sensor | ||
|
||
Required properties: | ||
|
||
- compatible: Must be one of: | ||
"rohm,bh1710" | ||
"rohm,bh1715" | ||
"rohm,bh1721" | ||
"rohm,bh1750" | ||
"rohm,bh1751" | ||
- reg: the I2C address of the sensor | ||
|
||
Example: | ||
|
||
light-sensor@23 { | ||
compatible = "rohm,bh1750"; | ||
reg = <0x23>; | ||
}; |
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,42 @@ | ||
* AMS/TAOS ALS and proximity sensor | ||
|
||
Required properties: | ||
|
||
- compatible: Should be one of | ||
"amstaos,tsl2571" | ||
"amstaos,tsl2671" | ||
"amstaos,tmd2671" | ||
"amstaos,tsl2771" | ||
"amstaos,tmd2771" | ||
"amstaos,tsl2572" | ||
"amstaos,tsl2672" | ||
"amstaos,tmd2672" | ||
"amstaos,tsl2772" | ||
"amstaos,tmd2772" | ||
"avago,apds9930" | ||
- reg: the I2C address of the device | ||
|
||
Optional properties: | ||
|
||
- amstaos,proximity-diodes - proximity diodes to enable. <0>, <1>, or <0 1> | ||
are the only valid values. | ||
- led-max-microamp - current for the proximity LED. Must be 100000, 50000, | ||
25000, or 13000. | ||
- vdd-supply: phandle to the regulator that provides power to the sensor. | ||
- vddio-supply: phandle to the regulator that provides power to the bus. | ||
- interrupts: the sole interrupt generated by the device | ||
|
||
Refer to interrupt-controller/interrupts.txt for generic interrupt client | ||
node bindings. | ||
|
||
Example: | ||
|
||
tsl2772@39 { | ||
compatible = "amstaos,tsl2772"; | ||
reg = <0x39>; | ||
interrupts-extended = <&msmgpio 61 IRQ_TYPE_EDGE_FALLING>; | ||
vdd-supply = <&pm8941_l17>; | ||
vddio-supply = <&pm8941_lvs1>; | ||
amstaos,proximity-diodes = <0>; | ||
led-max-microamp = <100000>; | ||
}; |
12 changes: 12 additions & 0 deletions
12
Documentation/devicetree/bindings/iio/proximity/vl53l0x.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,12 @@ | ||
ST VL53L0X ToF ranging sensor | ||
|
||
Required properties: | ||
- compatible: must be "st,vl53l0x" | ||
- reg: i2c address where to find the device | ||
|
||
Example: | ||
|
||
vl53l0x@29 { | ||
compatible = "st,vl53l0x"; | ||
reg = <0x29>; | ||
}; |
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.