/* Return: 0 if the module config showed that reset isolation is supported. Returns 1 otherwise. This is not an error, but setting the bit in mdctl has no effect.  */
int psc_set_reset_iso(u32 mod_num)
/* Return: 0 if the module config showed that reset isolation is supported. Returns 1 otherwise. This is not an error, but setting the bit in mdctl has no effect.  */
int psc_set_reset_iso(u32 mod_num)
{
	u32 v;
	u32 mdctl;
	mdctl = __raw_readl(KS2_PSC_BASE + PSC_REG_MDCTL(mod_num));
	mdctl = PSC_REG_MDCTL_SET_RESET_ISO(mdctl, 1);
	__raw_writel(mdctl, KS2_PSC_BASE + PSC_REG_MDCTL(mod_num));
	v = __raw_readl(KS2_PSC_BASE + PSC_REG_MDCFG(mod_num));
	if (PSC_REG_MDCFG_GET_RESET_ISO(v) == 1)
		return 0;
	return 1;
}