Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes

From: Leo Yan
Date: Fri Oct 28 2016 - 08:35:11 EST


On Fri, Oct 28, 2016 at 08:52:49PM +0900, Jaehoon Chung wrote:

[...]

> >> Could you check the below thing..
> >>
> >> /* find reset controller when exist */
> >> - pdata->rstc = devm_reset_control_get_optional(dev, NULL);
> >> + pdata->rstc = devm_reset_control_get_optional(dev, "dwmci-reset");
> >> if (IS_ERR(pdata->rstc)) {
> >> if (PTR_ERR(pdata->rstc) == -EPROBE_DEFER)
> >> return ERR_PTR(-EPROBE_DEFER);
> >
> > Confirmed with this fixing, the kernel can bootup successfully.
> >
> > Thanks for this.
>
> Thanks for checking this..If this approach is not bad, i will send the patch.
> Or if there are other good approaches, let me know, plz.

I'd like Guodong and John to confirm for Hikey specific. I have no
knowledge for this so cannot answer.

Thanks,
Leo Yan