mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-04 00:00:35 +02:00
Slimbus can run in clock gears 1 through 10 per spec. Scheduling algorithm tries to find the optimum clock gear depending on bandwidth usage for messaging and active data channels. However, not all controllers may have the ability to support all the 10 clock gears. This patch provides ability so that scheduling algorithm will only run the bus in supported slimbus clock gear. Controllers can specify supported minimum and maximum clock gear during registration with the framework. Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>