Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1511040

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

From Leo Yan <leo.yan@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes
Date 2016-10-28 12:20 +0200
Message-ID <sxcqt-6Y9-17@gated-at.bofh.it> (permalink)
References (5 earlier) <sx9LX-5cx-1@gated-at.bofh.it> <sx9VE-5fQ-45@gated-at.bofh.it> <sx9VE-5fQ-41@gated-at.bofh.it> <sxbXr-6vs-11@gated-at.bofh.it> <sxc77-6yE-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 28, 2016 at 06:54:58PM +0900, Jaehoon Chung wrote:

[...]

> >>> Could you share the log? Is there any log about failure?
> >>
> >> Sure, please see below log:
> > 
> > It's related with -EPROBE_DEFER..I'm not sure but if CONFIG_RESET_CONTROLLER is enabled, it's searching for reset controller.
> > Maybe hi6220 has handled the reset controller(?)...
> > 
> > I'm checking devm_reset_control_xxx...It's possible to occur the other boards which enabled RESET_CONTROLLER..
> 
> 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.

> To prevent the wrong controlling, how about adding "#reset-names" for dwmmc controller?
> 
> 
> Best Regards,
> Jaehoon Chung

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes Vincent Guittot <vincent.guittot@linaro.org> - 2016-10-27 16:00 +0200
  Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes John Stultz <john.stultz@linaro.org> - 2016-10-27 22:30 +0200
    Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into  dwmmc nodes Leo Yan <leo.yan@linaro.org> - 2016-10-28 09:30 +0200
      Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into  dwmmc nodes Leo Yan <leo.yan@linaro.org> - 2016-10-28 09:40 +0200
        Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc  nodes Jaehoon Chung <jh80.chung@samsung.com> - 2016-10-28 11:50 +0200
          Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc  nodes Jaehoon Chung <jh80.chung@samsung.com> - 2016-10-28 12:00 +0200
            Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into  dwmmc nodes Leo Yan <leo.yan@linaro.org> - 2016-10-28 12:20 +0200
              Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc  nodes Jaehoon Chung <jh80.chung@samsung.com> - 2016-10-28 14:00 +0200
                Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into  dwmmc nodes Leo Yan <leo.yan@linaro.org> - 2016-10-28 14:40 +0200
                Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes John Stultz <john.stultz@linaro.org> - 2016-10-28 23:20 +0200
      Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc  nodes Jaehoon Chung <jh80.chung@samsung.com> - 2016-10-28 10:10 +0200

csiph-web