forked from gregkh/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-5.11-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 5.11-rc1 Lots of different things in here: - loads of driver updates - so many coding style cleanups - new IIO drivers - Android ION code is finally removed from the tree - wimax drivers are moved to staging on their way out of the kernel Nothing really exciting, just the constant grind of kernel development :) All have been in linux-next for a while with no reported issues" * tag 'staging-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (341 commits) staging: olpc_dcon: Do not call platform_device_unregister() in dcon_probe() staging: most: Fix spelling mistake "tranceiver" -> "transceiver" staging: qlge: remove duplicate word in comment staging: comedi: mf6x4: Fix AI end-of-conversion detection staging: greybus: Add TODO item about modernizing the pwm code pinctrl: ralink: add a pinctrl driver for the rt2880 family dt-bindings: pinctrl: rt2880: add binding document staging: rtl8723bs: remove ELEMENT_ID enum staging: rtl8723bs: remove unused macros staging: rtl8723bs: replace EID_EXTCapability staging: rtl8723bs: replace EID_BSSIntolerantChlReport staging: rtl8723bs: replace EID_BSSCoexistence staging: rtl8723bs: replace _MME_IE_ staging: rtl8723bs: replace _WAPI_IE_ staging: rtl8723bs: replace _EXT_SUPPORTEDRATES_IE_ staging: rtl8723bs: replace _ERPINFO_IE_ staging: rtl8723bs: replace _CHLGETXT_IE_ staging: rtl8723bs: replace _COUNTRY_IE_ staging: rtl8723bs: replace _IBSS_PARA_IE_ staging: rtl8723bs: replace _TIM_IE_ ...
- Loading branch information
Showing
434 changed files
with
10,177 additions
and
10,875 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 |
---|---|---|
|
@@ -1743,6 +1743,16 @@ Description: | |
|
||
Raw counter device counters direction for channel Y. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_label | ||
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_label | ||
KernelVersion: 5.8 | ||
Contact: [email protected] | ||
Description: | ||
Optional symbolic label to a device channel. | ||
If a label is defined for this channel add that to the channel | ||
specific attributes. This is useful for userspace to be able to | ||
better identify an individual channel. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_phaseY_raw | ||
KernelVersion: 4.18 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage0_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 USBID ADC which connected to connector ID pin. | ||
Calculating with scale and offset returns voltage in uV | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage1_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 VBUS ADC with lower accuracy(+-75mA) | ||
higher measure range(1~22mV) | ||
Calculating with scale and offset returns voltage in uV | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage2_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 VBUS ADC with higher accuracy(+-30mA) | ||
lower measure range(1~9.76V) | ||
Calculating with scale and offset returns voltage in uV | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage3_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 VSYS ADC | ||
Calculating with scale and offset returns voltage in uV | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage4_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 VBAT ADC | ||
Calculating with scale and offset returns voltage in uV | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_current5_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 IBUS ADC | ||
Calculating with scale and offset returns voltage in uA | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_current6_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 IBAT ADC | ||
Calculating with scale and offset returns voltage in uA | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_current7_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 CHG_VDDP ADC | ||
Calculating with scale and offset returns voltage in uV | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_temp8_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 IC junction temperature | ||
Calculating with scale and offset returns temperature in degree | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage9_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 VREF_TS ADC | ||
Calculating with scale and offset returns voltage in uV | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_voltage10_raw | ||
KernelVersion: 5.8.0 | ||
Contact: [email protected] | ||
Description: | ||
Indicated MT6360 TS ADC | ||
Calculating with scale and offset returns voltage in uV |
This file was deleted.
Oops, something went wrong.
62 changes: 62 additions & 0 deletions
62
Documentation/devicetree/bindings/iio/accel/bosch,bma180.yaml
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,62 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/iio/accel/bosch,bma180.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Bosch BMA023 / BMA150/ BMA180 / BMA25x / SMB380 triaxial accelerometers | ||
|
||
maintainers: | ||
- Jonathan Cameron <[email protected]> | ||
|
||
description: | | ||
https://media.digikey.com/pdf/Data%20Sheets/Bosch/BMA150.pdf | ||
http://omapworld.com/BMA180_111_1002839.pdf | ||
http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/bst-bma250-ds002-05.pdf | ||
properties: | ||
compatible: | ||
enum: | ||
- bosch,bma023 | ||
- bosch,bma150 | ||
- bosch,bma180 | ||
- bosch,bma250 | ||
- bosch,bma254 | ||
- bosch,smb380 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
vdd-supply: true | ||
|
||
vddio-supply: true | ||
|
||
interrupts: | ||
minItems: 1 | ||
maxItems: 2 | ||
description: | | ||
Type should be either IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING. | ||
For the bma250 the first interrupt listed must be the one | ||
connected to the INT1 pin, the second (optional) interrupt | ||
listed must be the one connected to the INT2 pin. | ||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
accel@40 { | ||
compatible = "bosch,bma180"; | ||
reg = <0x40>; | ||
interrupt-parent = <&gpio6>; | ||
interrupts = <18 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>; | ||
}; | ||
}; | ||
... |
73 changes: 73 additions & 0 deletions
73
Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml
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,73 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/iio/accel/bosch,bma255.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Bosch BMA255 and Similar Accelerometers | ||
|
||
maintainers: | ||
- Linus Walleij <[email protected]> | ||
|
||
description: | ||
3 axis accelerometers with varying range and I2C or SPI | ||
4-wire interface. | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- bosch,bmc150 | ||
- bosch,bmi055 | ||
- bosch,bma255 | ||
- bosch,bma250e | ||
- bosch,bma222 | ||
- bosch,bma222e | ||
- bosch,bma280 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
vdd-supply: true | ||
vddio-supply: true | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
mount-matrix: | ||
description: an optional 3x3 mounting rotation matrix. | ||
|
||
spi-max-frequency: | ||
maximum: 10000000 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
accelerometer@8 { | ||
compatible = "bosch,bma222"; | ||
reg = <0x08>; | ||
vddio-supply = <&vddio>; | ||
vdd-supply = <&vdd>; | ||
interrupts = <57 IRQ_TYPE_EDGE_FALLING>; | ||
}; | ||
}; | ||
- | | ||
# include <dt-bindings/interrupt-controller/irq.h> | ||
spi { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
accel@0 { | ||
compatible = "bosch,bma222"; | ||
reg = <0>; | ||
spi-max-frequency = <10000000>; | ||
}; | ||
}; | ||
... |
This file was deleted.
Oops, something went wrong.
65 changes: 65 additions & 0 deletions
65
Documentation/devicetree/bindings/iio/accel/fsl,mma8452.yaml
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,65 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/iio/accel/fsl,mma8452.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: | ||
Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q | ||
triaxial accelerometer | ||
|
||
maintainers: | ||
- Martin Kepplinger <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- fsl,mma8451 | ||
- fsl,mma8452 | ||
- fsl,mma8453 | ||
- fsl,mma8652 | ||
- fsl,mma8653 | ||
- fsl,fxls8471 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
description: | ||
2 highly configurable interrupt lines exist. | ||
minItems: 1 | ||
maxItems: 2 | ||
|
||
interrupt-names: | ||
description: Specify which interrupt line is in use. | ||
items: | ||
enum: | ||
- INT1 | ||
- INT2 | ||
minItems: 1 | ||
maxItems: 2 | ||
|
||
vdd-supply: true | ||
vddio-supply: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
i2c { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
accel@1d { | ||
compatible = "fsl,mma8453"; | ||
reg = <0x1d>; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <5 0>; | ||
interrupt-names = "INT2"; | ||
}; | ||
}; | ||
... |
24 changes: 0 additions & 24 deletions
24
Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.txt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.