Skip to content

Commit 5f16eb0

Browse files
committed
Merge tag 'char-misc-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc and other driver subsystem updates from Greg KH: "Here is the big set of char/misc and other driver subsystem updates for 6.10-rc1. Nothing major here, just lots of new drivers and updates for apis and new hardware types. Included in here are: - big IIO driver updates with more devices and drivers added - fpga driver updates - hyper-v driver updates - uio_pruss driver removal, no one uses it, other drivers control the same hardware now - binder minor updates - mhi driver updates - excon driver updates - counter driver updates - accessability driver updates - coresight driver updates - other hwtracing driver updates - nvmem driver updates - slimbus driver updates - spmi driver updates - other smaller misc and char driver updates All of these have been in linux-next for a while with no reported issues" * tag 'char-misc-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (319 commits) misc: ntsync: mark driver as "broken" to prevent from building spmi: pmic-arb: Add multi bus support spmi: pmic-arb: Register controller for bus instead of arbiter spmi: pmic-arb: Make core resources acquiring a version operation spmi: pmic-arb: Make the APID init a version operation spmi: pmic-arb: Fix some compile warnings about members not being described dt-bindings: spmi: Deprecate qcom,bus-id dt-bindings: spmi: Add X1E80100 SPMI PMIC ARB schema spmi: pmic-arb: Replace three IS_ERR() calls by null pointer checks in spmi_pmic_arb_probe() spmi: hisi-spmi-controller: Do not override device identifier dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references spmi: make spmi_bus_type const extcon: adc-jack: Document missing struct members extcon: realtek: Remove unused of_gpio.h extcon: usbc-cros-ec: Convert to platform remove callback returning void extcon: usb-gpio: Convert to platform remove callback returning void extcon: max77843: Convert to platform remove callback returning void extcon: max3355: Convert to platform remove callback returning void extcon: intel-mrfld: Convert to platform remove callback returning void ...
2 parents d90be6e + f5b335d commit 5f16eb0

File tree

280 files changed

+12847
-3974
lines changed

Some content is hidden

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

280 files changed

+12847
-3974
lines changed

Documentation/ABI/stable/sysfs-bus-mhi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,16 @@ Description: Initiates a SoC reset on the MHI controller. A SoC reset is
2929
This can be useful as a method of recovery if the device is
3030
non-responsive, or as a means of loading new firmware as a
3131
system administration task.
32+
33+
What: /sys/bus/mhi/devices/.../trigger_edl
34+
Date: April 2024
35+
KernelVersion: 6.10
36+
37+
Description: Writing a non-zero value to this file will force devices to
38+
enter EDL (Emergency Download) mode. This entry only exists for
39+
devices capable of entering the EDL mode using the standard EDL
40+
triggering mechanism defined in the MHI spec v1.2. Once in EDL
41+
mode, the flash programmer image can be downloaded to the
42+
device to enter the flash programmer execution environment.
43+
This can be useful if user wants to use QDL (Qualcomm Download,
44+
which is used to download firmware over EDL) to update firmware.

Documentation/ABI/testing/sysfs-bus-coresight-devices-etm3x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Contact: Mathieu Poirier <[email protected]>
2222
Description: (RW) Used in conjunction with @addr_idx. Specifies
2323
characteristics about the address comparator being configure,
2424
for example the access type, the kind of instruction to trace,
25-
processor contect ID to trigger on, etc. Individual fields in
25+
processor context ID to trigger on, etc. Individual fields in
2626
the access type register may vary on the version of the trace
2727
entity.
2828

Documentation/ABI/testing/sysfs-bus-coresight-devices-tmc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Date: August 2023
9797
KernelVersion: 6.7
9898
Contact: Anshuman Khandual <[email protected]>
9999
Description: (Read) Shows all supported Coresight TMC-ETR buffer modes available
100-
for the users to configure explicitly. This file is avaialble only
100+
for the users to configure explicitly. This file is available only
101101
for TMC ETR devices.
102102

103103
What: /sys/bus/coresight/devices/<memory_map>.tmc/buf_mode_preferred

Documentation/ABI/testing/sysfs-bus-coresight-devices-tpdm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ KernelVersion 6.9
244244
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]>
245245
Description:
246246
(RW) Read or write the status of timestamp upon all interface.
247-
Only value 0 and 1 can be written to this node. Set this node to 1 to requeset
247+
Only value 0 and 1 can be written to this node. Set this node to 1 to request
248248
timestamp to all trace packet.
249249
Accepts only one of the 2 values - 0 or 1.
250250
0 : Disable the timestamp of all trace packets.

Documentation/ABI/testing/sysfs-devices-hisi_ptt renamed to Documentation/ABI/testing/sysfs-bus-event_source-devices-hisi_ptt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune
1+
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune
22
Date: October 2022
33
KernelVersion: 6.1
44
Contact: Yicong Yang <[email protected]>
@@ -8,7 +8,7 @@ Description: This directory contains files for tuning the PCIe link
88

99
See Documentation/trace/hisi-ptt.rst for more information.
1010

11-
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl
11+
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl
1212
Date: October 2022
1313
KernelVersion: 6.1
1414
Contact: Yicong Yang <[email protected]>
@@ -18,7 +18,7 @@ Description: (RW) Controls the weight of Tx completion TLPs, which influence
1818
will return an error, and out of range values will be converted
1919
to 2. The value indicates a probable level of the event.
2020

21-
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np
21+
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np
2222
Date: October 2022
2323
KernelVersion: 6.1
2424
Contact: Yicong Yang <[email protected]>
@@ -28,7 +28,7 @@ Description: (RW) Controls the weight of Tx non-posted TLPs, which influence
2828
will return an error, and out of range values will be converted
2929
to 2. The value indicates a probable level of the event.
3030

31-
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p
31+
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p
3232
Date: October 2022
3333
KernelVersion: 6.1
3434
Contact: Yicong Yang <[email protected]>
@@ -38,7 +38,7 @@ Description: (RW) Controls the weight of Tx posted TLPs, which influence the
3838
will return an error, and out of range values will be converted
3939
to 2. The value indicates a probable level of the event.
4040

41-
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level
41+
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level
4242
Date: October 2022
4343
KernelVersion: 6.1
4444
Contact: Yicong Yang <[email protected]>
@@ -49,7 +49,7 @@ Description: (RW) Control the allocated buffer watermark for inbound packets.
4949
will return an error, and out of range values will be converted
5050
to 2. The value indicates a probable level of the event.
5151

52-
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level
52+
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level
5353
Date: October 2022
5454
KernelVersion: 6.1
5555
Contact: Yicong Yang <[email protected]>

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ Description:
243243
less measurements. Units after application of scale and offset
244244
are milli degrees Celsius.
245245

246-
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
246+
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_input
247+
What: /sys/bus/iio/devices/iio:deviceX/in_temp_input
247248
KernelVersion: 2.6.38
248249
249250
Description:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_operating_mode
2+
KernelVersion: 6.9
3+
4+
Description:
5+
DAC operating mode. One of the following modes can be selected:
6+
7+
* normal: This is DAC normal mode.
8+
* mixed-mode: In this mode the output is effectively chopped at
9+
the DAC sample rate. This has the effect of
10+
reducing the power of the fundamental signal while
11+
increasing the power of the images centered around
12+
the DAC sample rate, thus improving the output
13+
power of these images.
14+
15+
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_operating_mode_available
16+
KernelVersion: 6.9
17+
18+
Description:
19+
Available operating modes.

Documentation/devicetree/bindings/arm/qcom,coresight-tpda.yaml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,11 @@ properties:
6666
- const: apb_pclk
6767

6868
in-ports:
69-
type: object
7069
description: |
7170
Input connections from TPDM to TPDA
7271
$ref: /schemas/graph.yaml#/properties/ports
7372

7473
out-ports:
75-
type: object
7674
description: |
7775
Output connections from the TPDA to legacy CoreSight trace bus.
7876
$ref: /schemas/graph.yaml#/properties/ports
@@ -97,33 +95,31 @@ examples:
9795
# minimum tpda definition.
9896
- |
9997
tpda@6004000 {
100-
compatible = "qcom,coresight-tpda", "arm,primecell";
101-
reg = <0x6004000 0x1000>;
98+
compatible = "qcom,coresight-tpda", "arm,primecell";
99+
reg = <0x6004000 0x1000>;
102100
103-
clocks = <&aoss_qmp>;
104-
clock-names = "apb_pclk";
101+
clocks = <&aoss_qmp>;
102+
clock-names = "apb_pclk";
105103
106-
in-ports {
107-
#address-cells = <1>;
108-
#size-cells = <0>;
104+
in-ports {
105+
#address-cells = <1>;
106+
#size-cells = <0>;
109107
110108
port@0 {
111109
reg = <0>;
112110
tpda_qdss_0_in_tpdm_dcc: endpoint {
113-
remote-endpoint =
114-
<&tpdm_dcc_out_tpda_qdss_0>;
115-
};
111+
remote-endpoint = <&tpdm_dcc_out_tpda_qdss_0>;
112+
};
116113
};
117114
};
118115
119-
out-ports {
120-
port {
121-
tpda_qdss_out_funnel_in0: endpoint {
122-
remote-endpoint =
123-
<&funnel_in0_in_tpda_qdss>;
124-
};
116+
out-ports {
117+
port {
118+
tpda_qdss_out_funnel_in0: endpoint {
119+
remote-endpoint = <&funnel_in0_in_tpda_qdss>;
125120
};
126-
};
121+
};
122+
};
127123
};
128124
129125
...
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/fpga/xlnx,fpga-selectmap.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Xilinx SelectMAP FPGA interface
8+
9+
maintainers:
10+
- Charles Perry <[email protected]>
11+
12+
description: |
13+
Xilinx 7 Series FPGAs support a method of loading the bitstream over a
14+
parallel port named the SelectMAP interface in the documentation. Only
15+
the x8 mode is supported where data is loaded at one byte per rising edge of
16+
the clock, with the MSB of each byte presented to the D0 pin.
17+
18+
Datasheets:
19+
https://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf
20+
21+
allOf:
22+
- $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
23+
24+
properties:
25+
compatible:
26+
enum:
27+
- xlnx,fpga-xc7s-selectmap
28+
- xlnx,fpga-xc7a-selectmap
29+
- xlnx,fpga-xc7k-selectmap
30+
- xlnx,fpga-xc7v-selectmap
31+
32+
reg:
33+
description:
34+
At least 1 byte of memory mapped IO
35+
maxItems: 1
36+
37+
prog-gpios:
38+
description:
39+
config pin (referred to as PROGRAM_B in the manual)
40+
maxItems: 1
41+
42+
done-gpios:
43+
description:
44+
config status pin (referred to as DONE in the manual)
45+
maxItems: 1
46+
47+
init-gpios:
48+
description:
49+
initialization status and configuration error pin
50+
(referred to as INIT_B in the manual)
51+
maxItems: 1
52+
53+
csi-gpios:
54+
description:
55+
chip select pin (referred to as CSI_B in the manual)
56+
Optional gpio for if the bus controller does not provide a chip select.
57+
maxItems: 1
58+
59+
rdwr-gpios:
60+
description:
61+
read/write select pin (referred to as RDWR_B in the manual)
62+
Optional gpio for if the bus controller does not provide this pin.
63+
maxItems: 1
64+
65+
required:
66+
- compatible
67+
- reg
68+
- prog-gpios
69+
- done-gpios
70+
- init-gpios
71+
72+
unevaluatedProperties: false
73+
74+
examples:
75+
- |
76+
#include <dt-bindings/gpio/gpio.h>
77+
fpga-mgr@8000000 {
78+
compatible = "xlnx,fpga-xc7s-selectmap";
79+
reg = <0x8000000 0x4>;
80+
prog-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>;
81+
init-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>;
82+
done-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;
83+
csi-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
84+
rdwr-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
85+
};
86+
...

Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ properties:
3232

3333
spi-cpol: true
3434

35+
spi-3wire: true
36+
3537
interrupts:
3638
maxItems: 1
3739

0 commit comments

Comments
 (0)