android_kernel_asus_sm8350/drivers/interconnect/Kconfig
Georgi Djakov 8bbf3919e0 interconnect: Add debugfs test code
Allow setting constraints from userspace for more convenient testing.

Example usage:
	cd /sys/kernel/debug/interconnect-test/
	echo -n 3 > src_port
	echo -n 53 > dst_port
	echo -n 1 > get
	echo -n 80000000 > avg_bw
	echo -n 90000000 > peak_bw
	echo -n 1 > commit

Change-Id: I8a47c45a8060607470edc870b1eb4245bb7ffc54
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Git-commit: 8b9e75c3e826f6a719ff02fa409f6b9c92aee66c
Git-repo: https://git.linaro.org/people/georgi.djakov/linux.git
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
2020-03-19 14:19:59 -07:00

27 lines
654 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
menuconfig INTERCONNECT
tristate "On-Chip Interconnect management support"
help
Support for management of the on-chip interconnects.
This framework is designed to provide a generic interface for
managing the interconnects in a SoC.
If unsure, say no.
if INTERCONNECT
menuconfig INTERCONNECT_TEST
tristate "Debugfs test"
depends on DEBUG_FS
help
Expose the interconnect API to userspace for testing purposes. This
will create /sys/kernel/debug/interconnect-test to allow requesting
bandwidth between endpoints.
If unsure, say no.
source "drivers/interconnect/qcom/Kconfig"
endif