diff options
| author | James Clark <james.clark@linaro.org> | 2026-08-07 11:13:22 +0100 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2026-10-01 15:09:22 +0100 |
| commit | a3281934612608db9e1d24aaf913c846e913de89 (patch) | |
| tree | b7d0f0afbd180a5adecea0ae446e9f6c50358e90 /tools/lib/python/kdoc/python_version.py | |
| parent | df2908090cda368b01ff43709f51890076c56157 (diff) | |
coresight: trbe: Hide enable_sink sysfs file
TRBE doesn't support sysfs mode, but the enable_sink file can still be
successfully written to enable the device, and only attempting to enable
the source would later fail.
Avoid misleading users by adding a flag that devices can use to hide
either the enable_sink or enable_source files, and set it for TRBE.
Don't set it for ETE as it's possible that ETE could appear on the
legacy bus and work with sysfs, and writing to enable_source already
reports EINVAL if the device doesn't support sysfs mode.
Signed-off-by: James Clark <james.clark@linaro.org>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20260807-james-cs-hide-trbe-enable-v2-1-0b2af223feed@linaro.org
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
