Skip to content

Commit c26f4fb

Browse files
committed
Merge tag 'char-misc-6.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char / misc / iio driver updates from Greg KH: "Here is the big char/misc/iio and other small driver subsystem pull request for 6.16-rc1. Overall, a lot of individual changes, but nothing major, just the normal constant forward progress of new device support and cleanups to existing subsystems. Highlights in here are: - Large IIO driver updates and additions and device tree changes - Android binder bugfixes and logfile fixes - mhi driver updates - comedi driver updates - counter driver updates and additions - coresight driver updates and additions - echo driver removal as there are no in-kernel users of it - nvmem driver updates - spmi driver updates - new amd-sbi driver "subsystem" and drivers added - rust miscdriver binding documentation fix - other small driver fixes and updates (uio, w1, acrn, hpet, xillybus, cardreader drivers, fastrpc and others) All of these have been in linux-next for quite a while with no reported problems" * tag 'char-misc-6.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (390 commits) binder: fix yet another UAF in binder_devices counter: microchip-tcb-capture: Add watch validation support dt-bindings: iio: adc: Add ROHM BD79100G iio: adc: add support for Nuvoton NCT7201 dt-bindings: iio: adc: add NCT7201 ADCs iio: chemical: Add driver for SEN0322 dt-bindings: trivial-devices: Document SEN0322 iio: adc: ad7768-1: reorganize driver headers iio: bmp280: zero-init buffer iio: ssp_sensors: optimalize -> optimize HID: sensor-hub: Fix typo and improve documentation iio: admv1013: replace redundant ternary operator with just len iio: chemical: mhz19b: Fix error code in probe() iio: adc: at91-sama5d2: use IIO_DECLARE_BUFFER_WITH_TS iio: accel: sca3300: use IIO_DECLARE_BUFFER_WITH_TS iio: adc: ad7380: use IIO_DECLARE_DMA_BUFFER_WITH_TS iio: adc: ad4695: rename AD4695_MAX_VIN_CHANNELS iio: adc: ad4695: use IIO_DECLARE_DMA_BUFFER_WITH_TS iio: introduce IIO_DECLARE_BUFFER_WITH_TS macros iio: make IIO_DMA_MINALIGN minimum of 8 bytes ...
2 parents a100922 + 9857af0 commit c26f4fb

File tree

601 files changed

+12349
-6125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

601 files changed

+12349
-6125
lines changed

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ Description:
9494
What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency
9595
What: /sys/bus/iio/devices/iio:deviceX/in_intensity_sampling_frequency
9696
What: /sys/bus/iio/devices/iio:deviceX/buffer/sampling_frequency
97+
What: /sys/bus/iio/devices/iio:deviceX/events/sampling_frequency
9798
What: /sys/bus/iio/devices/triggerX/sampling_frequency
9899
KernelVersion: 2.6.35
99100
@@ -740,7 +741,9 @@ Description:
740741
1kohm_to_gnd: connected to ground via an 1kOhm resistor,
741742
2.5kohm_to_gnd: connected to ground via a 2.5kOhm resistor,
742743
6kohm_to_gnd: connected to ground via a 6kOhm resistor,
744+
7.7kohm_to_gnd: connected to ground via a 7.7kOhm resistor,
743745
20kohm_to_gnd: connected to ground via a 20kOhm resistor,
746+
32kohm_to_gnd: connected to ground via a 32kOhm resistor,
744747
42kohm_to_gnd: connected to ground via a 42kOhm resistor,
745748
90kohm_to_gnd: connected to ground via a 90kOhm resistor,
746749
100kohm_to_gnd: connected to ground via an 100kOhm resistor,

Documentation/ABI/testing/sysfs-driver-intel-m10-bmc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Description: Read only. Returns the firmware version of Intel MAX10
1717
What: /sys/bus/.../drivers/intel-m10-bmc/.../mac_address
1818
Date: January 2021
1919
KernelVersion: 5.12
20-
Contact: Peter Colberg <peter.colberg@altera.com>
20+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
2121
Description: Read only. Returns the first MAC address in a block
2222
of sequential MAC addresses assigned to the board
2323
that is managed by the Intel MAX10 BMC. It is stored in
@@ -28,7 +28,7 @@ Description: Read only. Returns the first MAC address in a block
2828
What: /sys/bus/.../drivers/intel-m10-bmc/.../mac_count
2929
Date: January 2021
3030
KernelVersion: 5.12
31-
Contact: Peter Colberg <peter.colberg@altera.com>
31+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
3232
Description: Read only. Returns the number of sequential MAC
3333
addresses assigned to the board managed by the Intel
3434
MAX10 BMC. This value is stored in FLASH and is mirrored
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_root_entry_hash
22
Date: Sep 2022
33
KernelVersion: 5.20
4-
Contact: Peter Colberg <peter.colberg@altera.com>
4+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
55
Description: Read only. Returns the root entry hash for the static
66
region if one is programmed, else it returns the
77
string: "hash not programmed". This file is only
@@ -11,7 +11,7 @@ Description: Read only. Returns the root entry hash for the static
1111
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_root_entry_hash
1212
Date: Sep 2022
1313
KernelVersion: 5.20
14-
Contact: Peter Colberg <peter.colberg@altera.com>
14+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
1515
Description: Read only. Returns the root entry hash for the partial
1616
reconfiguration region if one is programmed, else it
1717
returns the string: "hash not programmed". This file
@@ -21,7 +21,7 @@ Description: Read only. Returns the root entry hash for the partial
2121
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_root_entry_hash
2222
Date: Sep 2022
2323
KernelVersion: 5.20
24-
Contact: Peter Colberg <peter.colberg@altera.com>
24+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
2525
Description: Read only. Returns the root entry hash for the BMC image
2626
if one is programmed, else it returns the string:
2727
"hash not programmed". This file is only visible if the
@@ -31,31 +31,31 @@ Description: Read only. Returns the root entry hash for the BMC image
3131
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/sr_canceled_csks
3232
Date: Sep 2022
3333
KernelVersion: 5.20
34-
Contact: Peter Colberg <peter.colberg@altera.com>
34+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
3535
Description: Read only. Returns a list of indices for canceled code
3636
signing keys for the static region. The standard bitmap
3737
list format is used (e.g. "1,2-6,9").
3838

3939
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/pr_canceled_csks
4040
Date: Sep 2022
4141
KernelVersion: 5.20
42-
Contact: Peter Colberg <peter.colberg@altera.com>
42+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
4343
Description: Read only. Returns a list of indices for canceled code
4444
signing keys for the partial reconfiguration region. The
4545
standard bitmap list format is used (e.g. "1,2-6,9").
4646

4747
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/bmc_canceled_csks
4848
Date: Sep 2022
4949
KernelVersion: 5.20
50-
Contact: Peter Colberg <peter.colberg@altera.com>
50+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
5151
Description: Read only. Returns a list of indices for canceled code
5252
signing keys for the BMC. The standard bitmap list format
5353
is used (e.g. "1,2-6,9").
5454

5555
What: /sys/bus/platform/drivers/intel-m10bmc-sec-update/.../security/flash_count
5656
Date: Sep 2022
5757
KernelVersion: 5.20
58-
Contact: Peter Colberg <peter.colberg@altera.com>
58+
Contact: Matthew Gerlach <matthew.gerlach@altera.com>
5959
Description: Read only. Returns number of times the secure update
6060
staging area has been flashed.
6161
Format: "%u".

Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ properties:
3030
power-domains:
3131
maxItems: 1
3232

33+
clocks:
34+
minItems: 1
35+
maxItems: 3
36+
37+
clock-names:
38+
oneOf:
39+
- items:
40+
- enum: [apb_pclk, atclk]
41+
- items: # Zynq-700
42+
- const: apb_pclk
43+
- const: dbg_trc
44+
- const: dbg_apb
45+
3346
in-ports:
3447
$ref: /schemas/graph.yaml#/properties/ports
3548
additionalProperties: false

Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ description: |
2525
* https://www.analog.com/en/products/ad7386-4.html
2626
* https://www.analog.com/en/products/ad7387-4.html
2727
* https://www.analog.com/en/products/ad7388-4.html
28+
* https://www.analog.com/en/products/ad7389-4.html
2829
* https://www.analog.com/en/products/adaq4370-4.html
2930
* https://www.analog.com/en/products/adaq4380-4.html
3031
* https://www.analog.com/en/products/adaq4381-4.html
@@ -49,6 +50,7 @@ properties:
4950
- adi,ad7386-4
5051
- adi,ad7387-4
5152
- adi,ad7388-4
53+
- adi,ad7389-4
5254
- adi,adaq4370-4
5355
- adi,adaq4380-4
5456
- adi,adaq4381-4
@@ -213,6 +215,15 @@ allOf:
213215
properties:
214216
refin-supply: false
215217

218+
# adi,ad7389-4 is internal reference only
219+
- if:
220+
properties:
221+
compatible:
222+
const: adi,ad7389-4
223+
then:
224+
properties:
225+
refio-supply: false
226+
216227
# adaq devices need more supplies and using channel to declare gain property
217228
# only applies to adaq devices
218229
- if:

Documentation/devicetree/bindings/iio/adc/adi,ad7476.yaml

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,40 @@ description: |
1717
1818
properties:
1919
compatible:
20-
enum:
21-
- adi,ad7091
22-
- adi,ad7091r
23-
- adi,ad7273
24-
- adi,ad7274
25-
- adi,ad7276
26-
- adi,ad7277
27-
- adi,ad7278
28-
- adi,ad7466
29-
- adi,ad7467
30-
- adi,ad7468
31-
- adi,ad7475
32-
- adi,ad7476
33-
- adi,ad7476a
34-
- adi,ad7477
35-
- adi,ad7477a
36-
- adi,ad7478
37-
- adi,ad7478a
38-
- adi,ad7495
39-
- adi,ad7910
40-
- adi,ad7920
41-
- adi,ad7940
42-
- ti,adc081s
43-
- ti,adc101s
44-
- ti,adc121s
45-
- ti,ads7866
46-
- ti,ads7867
47-
- ti,ads7868
48-
- lltc,ltc2314-14
20+
oneOf:
21+
- items:
22+
- enum:
23+
- adi,ad7091
24+
- adi,ad7091r
25+
- adi,ad7273
26+
- adi,ad7274
27+
- adi,ad7276
28+
- adi,ad7277
29+
- adi,ad7278
30+
- adi,ad7466
31+
- adi,ad7467
32+
- adi,ad7468
33+
- adi,ad7475
34+
- adi,ad7476
35+
- adi,ad7476a
36+
- adi,ad7477
37+
- adi,ad7477a
38+
- adi,ad7478
39+
- adi,ad7478a
40+
- adi,ad7495
41+
- adi,ad7910
42+
- adi,ad7920
43+
- adi,ad7940
44+
- ti,adc081s
45+
- ti,adc101s
46+
- ti,adc121s
47+
- ti,ads7866
48+
- ti,ads7867
49+
- ti,ads7868
50+
- lltc,ltc2314-14
51+
- items:
52+
- const: rohm,bu79100g
53+
- const: ti,ads7866
4954

5055
reg:
5156
maxItems: 1

Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ properties:
4545
"#size-cells":
4646
const: 0
4747

48+
'#trigger-source-cells':
49+
description: |
50+
Cell indicates the output signal: 0 = BUSY, 1 = FIRSTDATA.
51+
52+
For convenience, macros for these values are available in
53+
dt-bindings/iio/adc/adi,ad7606.h.
54+
const: 1
55+
4856
# According to the datasheet, "Data is clocked in from SDI on the falling
4957
# edge of SCLK, while data is clocked out on DOUTA on the rising edge of
5058
# SCLK". Also, even if not stated textually in the datasheet, it is made

Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
- amlogic,meson8m2-saradc
2424
- amlogic,meson-gxbb-saradc
2525
- amlogic,meson-gxl-saradc
26+
- amlogic,meson-gxlx-saradc
2627
- amlogic,meson-gxm-saradc
2728
- amlogic,meson-axg-saradc
2829
- amlogic,meson-g12a-saradc

Documentation/devicetree/bindings/iio/adc/mediatek,mt2701-auxadc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ properties:
3434
- const: mediatek,mt2701-auxadc
3535
- items:
3636
- enum:
37+
- mediatek,mt6893-auxadc
3738
- mediatek,mt8183-auxadc
3839
- mediatek,mt8186-auxadc
3940
- mediatek,mt8188-auxadc

Documentation/devicetree/bindings/iio/adc/microchip,mcp3911.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ properties:
3232
spi-max-frequency:
3333
maximum: 20000000
3434

35+
reset-gpios:
36+
maxItems: 1
37+
3538
clocks:
3639
description: |
3740
Phandle and clock identifier for external sampling clock.
@@ -71,6 +74,7 @@ unevaluatedProperties: false
7174

7275
examples:
7376
- |
77+
#include <dt-bindings/gpio/gpio.h>
7478
spi {
7579
#address-cells = <1>;
7680
#size-cells = <0>;
@@ -80,6 +84,7 @@ examples:
8084
reg = <0>;
8185
interrupt-parent = <&gpio5>;
8286
interrupts = <15 2>;
87+
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
8388
spi-max-frequency = <20000000>;
8489
microchip,device-addr = <0>;
8590
vref-supply = <&vref_reg>;

0 commit comments

Comments
 (0)