linux-imx/Documentation/ABI/testing/sysfs-bus-coresight-devices-ultra_smb
Qi Liu 2d4103ae31 Documentation: Add document for UltraSoc SMB driver
Bring in documentation for UltraSoc SMB driver.
It simply describes the device, sysfs interface and the
firmware bindings.

Signed-off-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: Junhao He <hejunhao3@huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230114101302.62320-3-hejunhao3@huawei.com
2023-01-16 10:16:15 +00:00

1.1 KiB

What: /sys/bus/coresight/devices/ultra_smb/enable_sink Date: January 2023 KernelVersion: 6.3 Contact: Junhao He hejunhao3@huawei.com Description: (RW) Add/remove a SMB device from a trace path. There can be multiple sources for a single SMB device.

What: /sys/bus/coresight/devices/ultra_smb/mgmt/buf_size Date: January 2023 KernelVersion: 6.3 Contact: Junhao He hejunhao3@huawei.com Description: (RO) Shows the buffer size of each UltraSoc SMB device.

What: /sys/bus/coresight/devices/ultra_smb/mgmt/buf_status Date: January 2023 KernelVersion: 6.3 Contact: Junhao He hejunhao3@huawei.com Description: (RO) Shows the value of UltraSoc SMB status register. BIT(0) is zero means buffer is empty.

What: /sys/bus/coresight/devices/ultra_smb/mgmt/read_pos Date: January 2023 KernelVersion: 6.3 Contact: Junhao He hejunhao3@huawei.com Description: (RO) Shows the value of UltraSoc SMB Read Pointer register.

What: /sys/bus/coresight/devices/ultra_smb/mgmt/write_pos Date: January 2023 KernelVersion: 6.3 Contact: Junhao He hejunhao3@huawei.com Description: (RO) Shows the value of UltraSoc SMB Write Pointer register.