summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8192/ufs.c
blob: 2537fa788335712eaee149e2ca9d9f9ec4546eae (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: GPL-2.0-only */

#include <soc/ufs.h>

void ufs_disable_refclk(void)
{
	/* disable ref clock to let UFSHCI release SPM signal */
	write32((void *)UFS_REFCLK_CTRL, 0);
}