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 '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 ...
- Loading branch information
Showing
280 changed files
with
12,847 additions
and
3,974 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 |
---|---|---|
|
@@ -29,3 +29,16 @@ Description: Initiates a SoC reset on the MHI controller. A SoC reset is | |
This can be useful as a method of recovery if the device is | ||
non-responsive, or as a means of loading new firmware as a | ||
system administration task. | ||
|
||
What: /sys/bus/mhi/devices/.../trigger_edl | ||
Date: April 2024 | ||
KernelVersion: 6.10 | ||
Contact: [email protected] | ||
Description: Writing a non-zero value to this file will force devices to | ||
enter EDL (Emergency Download) mode. This entry only exists for | ||
devices capable of entering the EDL mode using the standard EDL | ||
triggering mechanism defined in the MHI spec v1.2. Once in EDL | ||
mode, the flash programmer image can be downloaded to the | ||
device to enter the flash programmer execution environment. | ||
This can be useful if user wants to use QDL (Qualcomm Download, | ||
which is used to download firmware over EDL) to update firmware. |
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ Contact: Mathieu Poirier <[email protected]> | |
Description: (RW) Used in conjunction with @addr_idx. Specifies | ||
characteristics about the address comparator being configure, | ||
for example the access type, the kind of instruction to trace, | ||
processor contect ID to trigger on, etc. Individual fields in | ||
processor context ID to trigger on, etc. Individual fields in | ||
the access type register may vary on the version of the trace | ||
entity. | ||
|
||
|
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 |
---|---|---|
|
@@ -97,7 +97,7 @@ Date: August 2023 | |
KernelVersion: 6.7 | ||
Contact: Anshuman Khandual <[email protected]> | ||
Description: (Read) Shows all supported Coresight TMC-ETR buffer modes available | ||
for the users to configure explicitly. This file is avaialble only | ||
for the users to configure explicitly. This file is available only | ||
for TMC ETR devices. | ||
|
||
What: /sys/bus/coresight/devices/<memory_map>.tmc/buf_mode_preferred | ||
|
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 |
---|---|---|
|
@@ -244,7 +244,7 @@ KernelVersion 6.9 | |
Contact: Jinlong Mao (QUIC) <[email protected]>, Tao Zhang (QUIC) <[email protected]> | ||
Description: | ||
(RW) Read or write the status of timestamp upon all interface. | ||
Only value 0 and 1 can be written to this node. Set this node to 1 to requeset | ||
Only value 0 and 1 can be written to this node. Set this node to 1 to request | ||
timestamp to all trace packet. | ||
Accepts only one of the 2 values - 0 or 1. | ||
0 : Disable the timestamp of all trace packets. | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune | ||
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune | ||
Date: October 2022 | ||
KernelVersion: 6.1 | ||
Contact: Yicong Yang <[email protected]> | ||
|
@@ -8,7 +8,7 @@ Description: This directory contains files for tuning the PCIe link | |
|
||
See Documentation/trace/hisi-ptt.rst for more information. | ||
|
||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl | ||
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl | ||
Date: October 2022 | ||
KernelVersion: 6.1 | ||
Contact: Yicong Yang <[email protected]> | ||
|
@@ -18,7 +18,7 @@ Description: (RW) Controls the weight of Tx completion TLPs, which influence | |
will return an error, and out of range values will be converted | ||
to 2. The value indicates a probable level of the event. | ||
|
||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np | ||
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np | ||
Date: October 2022 | ||
KernelVersion: 6.1 | ||
Contact: Yicong Yang <[email protected]> | ||
|
@@ -28,7 +28,7 @@ Description: (RW) Controls the weight of Tx non-posted TLPs, which influence | |
will return an error, and out of range values will be converted | ||
to 2. The value indicates a probable level of the event. | ||
|
||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p | ||
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p | ||
Date: October 2022 | ||
KernelVersion: 6.1 | ||
Contact: Yicong Yang <[email protected]> | ||
|
@@ -38,7 +38,7 @@ Description: (RW) Controls the weight of Tx posted TLPs, which influence the | |
will return an error, and out of range values will be converted | ||
to 2. The value indicates a probable level of the event. | ||
|
||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level | ||
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level | ||
Date: October 2022 | ||
KernelVersion: 6.1 | ||
Contact: Yicong Yang <[email protected]> | ||
|
@@ -49,7 +49,7 @@ Description: (RW) Control the allocated buffer watermark for inbound packets. | |
will return an error, and out of range values will be converted | ||
to 2. The value indicates a probable level of the event. | ||
|
||
What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level | ||
What: /sys/bus/event_source/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level | ||
Date: October 2022 | ||
KernelVersion: 6.1 | ||
Contact: Yicong Yang <[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 |
---|---|---|
|
@@ -243,7 +243,8 @@ Description: | |
less measurements. Units after application of scale and offset | ||
are milli degrees Celsius. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input | ||
What: /sys/bus/iio/devices/iio:deviceX/in_tempY_input | ||
What: /sys/bus/iio/devices/iio:deviceX/in_temp_input | ||
KernelVersion: 2.6.38 | ||
Contact: [email protected] | ||
Description: | ||
|
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 @@ | ||
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_operating_mode | ||
KernelVersion: 6.9 | ||
Contact: [email protected] | ||
Description: | ||
DAC operating mode. One of the following modes can be selected: | ||
|
||
* normal: This is DAC normal mode. | ||
* mixed-mode: In this mode the output is effectively chopped at | ||
the DAC sample rate. This has the effect of | ||
reducing the power of the fundamental signal while | ||
increasing the power of the images centered around | ||
the DAC sample rate, thus improving the output | ||
power of these images. | ||
|
||
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_operating_mode_available | ||
KernelVersion: 6.9 | ||
Contact: [email protected] | ||
Description: | ||
Available operating modes. |
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
86 changes: 86 additions & 0 deletions
86
Documentation/devicetree/bindings/fpga/xlnx,fpga-selectmap.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,86 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/fpga/xlnx,fpga-selectmap.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Xilinx SelectMAP FPGA interface | ||
|
||
maintainers: | ||
- Charles Perry <[email protected]> | ||
|
||
description: | | ||
Xilinx 7 Series FPGAs support a method of loading the bitstream over a | ||
parallel port named the SelectMAP interface in the documentation. Only | ||
the x8 mode is supported where data is loaded at one byte per rising edge of | ||
the clock, with the MSB of each byte presented to the D0 pin. | ||
Datasheets: | ||
https://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf | ||
allOf: | ||
- $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- xlnx,fpga-xc7s-selectmap | ||
- xlnx,fpga-xc7a-selectmap | ||
- xlnx,fpga-xc7k-selectmap | ||
- xlnx,fpga-xc7v-selectmap | ||
|
||
reg: | ||
description: | ||
At least 1 byte of memory mapped IO | ||
maxItems: 1 | ||
|
||
prog-gpios: | ||
description: | ||
config pin (referred to as PROGRAM_B in the manual) | ||
maxItems: 1 | ||
|
||
done-gpios: | ||
description: | ||
config status pin (referred to as DONE in the manual) | ||
maxItems: 1 | ||
|
||
init-gpios: | ||
description: | ||
initialization status and configuration error pin | ||
(referred to as INIT_B in the manual) | ||
maxItems: 1 | ||
|
||
csi-gpios: | ||
description: | ||
chip select pin (referred to as CSI_B in the manual) | ||
Optional gpio for if the bus controller does not provide a chip select. | ||
maxItems: 1 | ||
|
||
rdwr-gpios: | ||
description: | ||
read/write select pin (referred to as RDWR_B in the manual) | ||
Optional gpio for if the bus controller does not provide this pin. | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- prog-gpios | ||
- done-gpios | ||
- init-gpios | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
fpga-mgr@8000000 { | ||
compatible = "xlnx,fpga-xc7s-selectmap"; | ||
reg = <0x8000000 0x4>; | ||
prog-gpios = <&gpio5 5 GPIO_ACTIVE_LOW>; | ||
init-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; | ||
done-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>; | ||
csi-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; | ||
rdwr-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>; | ||
}; | ||
... |
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 |
---|---|---|
|
@@ -32,6 +32,8 @@ properties: | |
|
||
spi-cpol: true | ||
|
||
spi-3wire: true | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
|
Oops, something went wrong.