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-5.3-rc1' of git://git.kernel.org/pub/scm/linux/k…
…ernel/git/gregkh/char-misc Pull char / misc driver updates from Greg KH: "Here is the "large" pull request for char and misc and other assorted smaller driver subsystems for 5.3-rc1. It seems that this tree is becoming the funnel point of lots of smaller driver subsystems, which is fine for me, but that's why it is getting larger over time and does not just contain stuff under drivers/char/ and drivers/misc. Lots of small updates all over the place here from different driver subsystems: - habana driver updates - coresight driver updates - documentation file movements and updates - Android binder fixes and updates - extcon driver updates - google firmware driver updates - fsi driver updates - smaller misc and char driver updates - soundwire driver updates - nvmem driver updates - w1 driver fixes All of these have been in linux-next for a while with no reported issues" * tag 'char-misc-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (188 commits) coresight: Do not default to CPU0 for missing CPU phandle dt-bindings: coresight: Change CPU phandle to required property ocxl: Allow contexts to be attached with a NULL mm fsi: sbefifo: Don't fail operations when in SBE IPL state coresight: tmc: Smatch: Fix potential NULL pointer dereference coresight: etm3x: Smatch: Fix potential NULL pointer dereference coresight: Potential uninitialized variable in probe() coresight: etb10: Do not call smp_processor_id from preemptible coresight: tmc-etf: Do not call smp_processor_id from preemptible coresight: tmc-etr: alloc_perf_buf: Do not call smp_processor_id from preemptible coresight: tmc-etr: Do not call smp_processor_id() from preemptible docs: misc-devices: convert files without extension to ReST fpga: dfl: fme: align PR buffer size per PR datawidth fpga: dfl: fme: remove copy_to_user() in ioctl for PR fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address. intel_th: msu: Start read iterator from a non-empty window intel_th: msu: Split sgt array and pointer in multiwindow mode intel_th: msu: Support multipage blocks intel_th: pci: Add Ice Lake NNPI support intel_th: msu: Fix single mode with disabled IOMMU ...
- Loading branch information
Showing
164 changed files
with
6,073 additions
and
2,998 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 |
---|---|---|
|
@@ -3,7 +3,10 @@ Date: Jan 2019 | |
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Sets the device address to be used for read or write through | ||
PCI bar. The acceptable value is a string that starts with "0x" | ||
PCI bar, or the device VA of a host mapped memory to be read or | ||
written directly from the host. The latter option is allowed | ||
only when the IOMMU is disabled. | ||
The acceptable value is a string that starts with "0x" | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/command_buffers | ||
Date: Jan 2019 | ||
|
@@ -33,10 +36,12 @@ Contact: [email protected] | |
Description: Allows the root user to read or write directly through the | ||
device's PCI bar. Writing to this file generates a write | ||
transaction while reading from the file generates a read | ||
transcation. This custom interface is needed (instead of using | ||
transaction. This custom interface is needed (instead of using | ||
the generic Linux user-space PCI mapping) because the DDR bar | ||
is very small compared to the DDR memory and only the driver can | ||
move the bar before and after the transaction | ||
move the bar before and after the transaction. | ||
If the IOMMU is disabled, it also allows the root user to read | ||
or write from the host a device VA of a host mapped memory | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/device | ||
Date: Jan 2019 | ||
|
@@ -46,6 +51,13 @@ Description: Enables the root user to set the device to specific state. | |
Valid values are "disable", "enable", "suspend", "resume". | ||
User can read this property to see the valid values | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/engines | ||
Date: Jul 2019 | ||
KernelVersion: 5.3 | ||
Contact: [email protected] | ||
Description: Displays the status registers values of the device engines and | ||
their derived idle status | ||
|
||
What: /sys/kernel/debug/habanalabs/hl<n>/i2c_addr | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
|
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 |
---|---|---|
|
@@ -62,18 +62,20 @@ What: /sys/class/habanalabs/hl<n>/ic_clk | |
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Allows the user to set the maximum clock frequency of the | ||
Interconnect fabric. Writes to this parameter affect the device | ||
only when the power management profile is set to "manual" mode. | ||
The device IC clock might be set to lower value then the | ||
Description: Allows the user to set the maximum clock frequency, in Hz, of | ||
the Interconnect fabric. Writes to this parameter affect the | ||
device only when the power management profile is set to "manual" | ||
mode. The device IC clock might be set to lower value than the | ||
maximum. The user should read the ic_clk_curr to see the actual | ||
frequency value of the IC | ||
frequency value of the IC. This property is valid only for the | ||
Goya ASIC family | ||
|
||
What: /sys/class/habanalabs/hl<n>/ic_clk_curr | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Displays the current clock frequency of the Interconnect fabric | ||
Description: Displays the current clock frequency, in Hz, of the Interconnect | ||
fabric. This property is valid only for the Goya ASIC family | ||
|
||
What: /sys/class/habanalabs/hl<n>/infineon_ver | ||
Date: Jan 2019 | ||
|
@@ -92,18 +94,20 @@ What: /sys/class/habanalabs/hl<n>/mme_clk | |
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Allows the user to set the maximum clock frequency of the | ||
MME compute engine. Writes to this parameter affect the device | ||
only when the power management profile is set to "manual" mode. | ||
The device MME clock might be set to lower value then the | ||
Description: Allows the user to set the maximum clock frequency, in Hz, of | ||
the MME compute engine. Writes to this parameter affect the | ||
device only when the power management profile is set to "manual" | ||
mode. The device MME clock might be set to lower value than the | ||
maximum. The user should read the mme_clk_curr to see the actual | ||
frequency value of the MME | ||
frequency value of the MME. This property is valid only for the | ||
Goya ASIC family | ||
|
||
What: /sys/class/habanalabs/hl<n>/mme_clk_curr | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Displays the current clock frequency of the MME compute engine | ||
Description: Displays the current clock frequency, in Hz, of the MME compute | ||
engine. This property is valid only for the Goya ASIC family | ||
|
||
What: /sys/class/habanalabs/hl<n>/pci_addr | ||
Date: Jan 2019 | ||
|
@@ -163,18 +167,20 @@ What: /sys/class/habanalabs/hl<n>/tpc_clk | |
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Allows the user to set the maximum clock frequency of the | ||
TPC compute engines. Writes to this parameter affect the device | ||
only when the power management profile is set to "manual" mode. | ||
The device TPC clock might be set to lower value then the | ||
Description: Allows the user to set the maximum clock frequency, in Hz, of | ||
the TPC compute engines. Writes to this parameter affect the | ||
device only when the power management profile is set to "manual" | ||
mode. The device TPC clock might be set to lower value than the | ||
maximum. The user should read the tpc_clk_curr to see the actual | ||
frequency value of the TPC | ||
frequency value of the TPC. This property is valid only for | ||
Goya ASIC family | ||
|
||
What: /sys/class/habanalabs/hl<n>/tpc_clk_curr | ||
Date: Jan 2019 | ||
KernelVersion: 5.1 | ||
Contact: [email protected] | ||
Description: Displays the current clock frequency of the TPC compute engines | ||
Description: Displays the current clock frequency, in Hz, of the TPC compute | ||
engines. This property is valid only for the Goya ASIC family | ||
|
||
What: /sys/class/habanalabs/hl<n>/uboot_ver | ||
Date: Jan 2019 | ||
|
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
19 changes: 19 additions & 0 deletions
19
Documentation/devicetree/bindings/extcon/extcon-fsa9480.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,19 @@ | ||
FAIRCHILD SEMICONDUCTOR FSA9480 MICROUSB SWITCH | ||
|
||
The FSA9480 is a USB port accessory detector and switch. The FSA9480 is fully | ||
controlled using I2C and enables USB data, stereo and mono audio, video, | ||
microphone, and UART data to use a common connector port. | ||
|
||
Required properties: | ||
- compatible : Must be "fcs,fsa9480" | ||
- reg : Specifies i2c slave address. Must be 0x25. | ||
- interrupts : Should contain one entry specifying interrupt signal of | ||
interrupt parent to which interrupt pin of the chip is connected. | ||
|
||
Example: | ||
musb@25 { | ||
compatible = "fcs,fsa9480"; | ||
reg = <0x25>; | ||
interrupt-parent = <&gph2>; | ||
interrupts = <7 0>; | ||
}; |
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,58 @@ | ||
* Xilinx SDFEC(16nm) IP * | ||
|
||
The Soft Decision Forward Error Correction (SDFEC) Engine is a Hard IP block | ||
which provides high-throughput LDPC and Turbo Code implementations. | ||
The LDPC decode & encode functionality is capable of covering a range of | ||
customer specified Quasi-cyclic (QC) codes. The Turbo decode functionality | ||
principally covers codes used by LTE. The FEC Engine offers significant | ||
power and area savings versus implementations done in the FPGA fabric. | ||
|
||
|
||
Required properties: | ||
- compatible: Must be "xlnx,sd-fec-1.1" | ||
- clock-names : List of input clock names from the following: | ||
- "core_clk", Main processing clock for processing core (required) | ||
- "s_axi_aclk", AXI4-Lite memory-mapped slave interface clock (required) | ||
- "s_axis_din_aclk", DIN AXI4-Stream Slave interface clock (optional) | ||
- "s_axis_din_words-aclk", DIN_WORDS AXI4-Stream Slave interface clock (optional) | ||
- "s_axis_ctrl_aclk", Control input AXI4-Stream Slave interface clock (optional) | ||
- "m_axis_dout_aclk", DOUT AXI4-Stream Master interface clock (optional) | ||
- "m_axis_dout_words_aclk", DOUT_WORDS AXI4-Stream Master interface clock (optional) | ||
- "m_axis_status_aclk", Status output AXI4-Stream Master interface clock (optional) | ||
- clocks : Clock phandles (see clock_bindings.txt for details). | ||
- reg: Should contain Xilinx SDFEC 16nm Hardened IP block registers | ||
location and length. | ||
- xlnx,sdfec-code : Should contain "ldpc" or "turbo" to describe the codes | ||
being used. | ||
- xlnx,sdfec-din-words : A value 0 indicates that the DIN_WORDS interface is | ||
driven with a fixed value and is not present on the device, a value of 1 | ||
configures the DIN_WORDS to be block based, while a value of 2 configures the | ||
DIN_WORDS input to be supplied for each AXI transaction. | ||
- xlnx,sdfec-din-width : Configures the DIN AXI stream where a value of 1 | ||
configures a width of "1x128b", 2 a width of "2x128b" and 4 configures a width | ||
of "4x128b". | ||
- xlnx,sdfec-dout-words : A value 0 indicates that the DOUT_WORDS interface is | ||
driven with a fixed value and is not present on the device, a value of 1 | ||
configures the DOUT_WORDS to be block based, while a value of 2 configures the | ||
DOUT_WORDS input to be supplied for each AXI transaction. | ||
- xlnx,sdfec-dout-width : Configures the DOUT AXI stream where a value of 1 | ||
configures a width of "1x128b", 2 a width of "2x128b" and 4 configures a width | ||
of "4x128b". | ||
Optional properties: | ||
- interrupts: should contain SDFEC interrupt number | ||
|
||
Example | ||
--------------------------------------- | ||
sd_fec_0: sd-fec@a0040000 { | ||
compatible = "xlnx,sd-fec-1.1"; | ||
clock-names = "core_clk","s_axi_aclk","s_axis_ctrl_aclk","s_axis_din_aclk","m_axis_status_aclk","m_axis_dout_aclk"; | ||
clocks = <&misc_clk_2>,<&misc_clk_0>,<&misc_clk_1>,<&misc_clk_1>,<&misc_clk_1>, <&misc_clk_1>; | ||
reg = <0x0 0xa0040000 0x0 0x40000>; | ||
interrupt-parent = <&axi_intc>; | ||
interrupts = <1 0>; | ||
xlnx,sdfec-code = "ldpc"; | ||
xlnx,sdfec-din-words = <0>; | ||
xlnx,sdfec-din-width = <2>; | ||
xlnx,sdfec-dout-words = <0>; | ||
xlnx,sdfec-dout-width = <1>; | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.