mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
a47fbd17b7a7662dbb3a369d551f4650cb7ae0ba
Add runtime auto suspend support and provide a dt option to set this delay for each bus. Perf drop is seen due to clock switching during write operation. QSPI flash device write page size is 256 KB so clock switching was being done for every 256KB due to pm_runtime_put(&pdev->dev) call. pm_runtime_put() function is called, the Linux kernel will begin to power down the device. This may involve disabling clocks, powering down voltage regulators, and releasing other resources etc. pm_runtime_set_autosuspend_delay function sets the autosuspend delay for a device. The autosuspend delay is the amount of time that the device will remain active after it has been idle before it is automatically suspended. The pm_runtime_set_autosuspend_delay() function can be used to reduce power consumption by automatically suspending devices when they are not in use. Bug 4229700 Change-Id: Ib49b02c78ad25957c80d22f5cc316afa55aa24dd Signed-off-by: Vishwaroop A <va@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2985140 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Description
No description provided