Wenbin Mei | 1985894 | 2020-09-25 10:03:02 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #include <soc/ufs.h> | ||||
4 | |||||
5 | void ufs_disable_refclk(void) | ||||
6 | { | ||||
7 | /* disable ref clock to let UFSHCI release SPM signal */ | ||||
8 | write32((void *)UFS_REFCLK_CTRL, 0); | ||||
9 | } |