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.7-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 big set of char/misc/other driver patches for 5.7-rc1. Lots of things in here, and it's later than expected due to some reverts to resolve some reported issues. All is now clean with no reported problems in linux-next. Included in here is: - interconnect updates - mei driver updates - uio updates - nvmem driver updates - soundwire updates - binderfs updates - coresight updates - habanalabs updates - mhi new bus type and core - extcon driver updates - some Kconfig cleanups - other small misc driver cleanups and updates As mentioned, all have been in linux-next for a while, and with the last two reverts, all is calm and good" * tag 'char-misc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (174 commits) Revert "driver core: platform: Initialize dma_parms for platform devices" Revert "amba: Initialize dma_parms for amba devices" amba: Initialize dma_parms for amba devices driver core: platform: Initialize dma_parms for platform devices bus: mhi: core: Drop the references to mhi_dev in mhi_destroy_device() bus: mhi: core: Initialize bhie field in mhi_cntrl for RDDM capture bus: mhi: core: Add support for reading MHI info from device misc: rtsx: set correct pcr_ops for rts522A speakup: misc: Use dynamic minor numbers for speakup devices mei: me: add cedar fork device ids coresight: do not use the BIT() macro in the UAPI header Documentation: provide IBM contacts for embargoed hardware nvmem: core: remove nvmem_sysfs_get_groups() nvmem: core: use is_bin_visible for permissions nvmem: core: use device_register and device_unregister nvmem: core: add root_only member to nvmem device struct extcon: axp288: Add wakeup support extcon: Mark extcon_get_edev_name() function as exported symbol extcon: palmas: Hide error messages if gpio returns -EPROBE_DEFER dt-bindings: extcon: usbc-cros-ec: convert extcon-usbc-cros-ec.txt to yaml format ...
- Loading branch information
Showing
171 changed files
with
16,141 additions
and
4,012 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 |
---|---|---|
|
@@ -43,6 +43,20 @@ Description: Allows the root user to read or write directly through the | |
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>/data64 | ||
Date: Jan 2020 | ||
KernelVersion: 5.6 | ||
Contact: [email protected] | ||
Description: Allows the root user to read or write 64 bit data directly | ||
through the device's PCI bar. Writing to this file generates a | ||
write transaction while reading from the file generates a read | ||
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. | ||
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 | ||
KernelVersion: 5.1 | ||
|
241 changes: 241 additions & 0 deletions
241
Documentation/ABI/testing/sysfs-bus-coresight-devices-cti
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,241 @@ | ||
What: /sys/bus/coresight/devices/<cti-name>/enable | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Enable/Disable the CTI hardware. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/powered | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Indicate if the CTI hardware is powered. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/ctmid | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Display the associated CTM ID | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/nr_trigger_cons | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Number of devices connected to triggers on this CTI | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/name | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Name of connected device <N> | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Input trigger signals from connected device <N> | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Functional types for the input trigger signals | ||
from connected device <N> | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Output trigger signals to connected device <N> | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Functional types for the output trigger signals | ||
to connected device <N> | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/inout_sel | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Select the index for inen and outen registers. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/inen | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Read or write the CTIINEN register selected by inout_sel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/outen | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Read or write the CTIOUTEN register selected by inout_sel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/gate | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Read or write CTIGATE register. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/asicctl | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Read or write ASICCTL register. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/intack | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Write the INTACK register. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/appset | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Set CTIAPPSET register to activate channel. Read back to | ||
determine current value of register. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/appclear | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Write APPCLEAR register to deactivate channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/apppulse | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Write APPPULSE to pulse a channel active for one clock | ||
cycle. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/chinstatus | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Read current status of channel inputs. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/choutstatus | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) read current status of channel outputs. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/triginstatus | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) read current status of input trigger signals | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) read current status of output trigger signals. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_attach | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Attach a CTI input trigger to a CTM channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_detach | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Detach a CTI input trigger from a CTM channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_attach | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Attach a CTI output trigger to a CTM channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_detach | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Detach a CTI output trigger from a CTM channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Enable CTIGATE for single channel (W) or list enabled | ||
channels through the gate (R). | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Disable CTIGATE for single channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_set | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Activate a single channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_clear | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Deactivate a single channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_pulse | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Pulse a single channel - activate for a single clock cycle. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) List of output triggers filtered across all connections. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Enable or disable trigger output signal filtering. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_inuse | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) show channels with at least one attached trigger signal. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_free | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) show channels with no attached trigger signals. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (RW) Write channel number to select a channel to view, read to | ||
see selected channel number. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Read to see input triggers connected to selected view | ||
channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (R) Read to see output triggers connected to selected view | ||
channel. | ||
|
||
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset | ||
Date: March 2020 | ||
KernelVersion 5.7 | ||
Contact: Mike Leach or Mathieu Poirier | ||
Description: (W) Clear all channel / trigger programming. |
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 |
---|---|---|
|
@@ -40,3 +40,11 @@ Description: (RW) Trigger window switch for the MSC's buffer, in | |
triggering a window switch for the buffer. Returns an error in any | ||
other operating mode or attempts to write something other than "1". | ||
|
||
What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/stop_on_full | ||
Date: March 2020 | ||
KernelVersion: 5.7 | ||
Contact: Alexander Shishkin <[email protected]> | ||
Description: (RW) Configure whether trace stops when the last available window | ||
becomes full (1/y/Y) or wraps around and continues until the next | ||
window becomes available again (0/n/N). | ||
|
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,16 @@ | ||
What: /sys/devices/*/<our-device>/nvmem | ||
Date: December 2017 | ||
Contact: PrasannaKumar Muralidharan <[email protected]> | ||
Description: read-only access to the efuse on the Ingenic JZ4780 SoC | ||
The SoC has a one time programmable 8K efuse that is | ||
split into segments. The driver supports read only. | ||
The segments are | ||
0x000 64 bit Random Number | ||
0x008 128 bit Ingenic Chip ID | ||
0x018 128 bit Customer ID | ||
0x028 3520 bit Reserved | ||
0x1E0 8 bit Protect Segment | ||
0x1E1 2296 bit HDMI Key | ||
0x300 2048 bit Security boot key | ||
Users: any user space application which wants to read the Chip | ||
and Customer ID |
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
Oops, something went wrong.