Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762037AbcJ1VNA (ORCPT ); Fri, 28 Oct 2016 17:13:00 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:36032 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761977AbcJ1VM6 (ORCPT ); Fri, 28 Oct 2016 17:12:58 -0400 MIME-Version: 1.0 In-Reply-To: <20161028123422.GA22734@leoy-linaro> References: <20161028072640.GB17266@leoy-linaro> <20161028073830.GC17266@leoy-linaro> <24930ad4-313f-a4f0-c89a-770238863816@samsung.com> <95e22336-0465-f1e1-71b8-548d0e6ee8b7@samsung.com> <20161028101919.GA25564@leoy-linaro> <20161028123422.GA22734@leoy-linaro> From: John Stultz Date: Fri, 28 Oct 2016 14:12:56 -0700 Message-ID: Subject: Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes To: Leo Yan Cc: Jaehoon Chung , Vincent Guittot , Guodong Xu , Wei Xu , Rob Herring , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , "devicetree@vger.kernel.org" , Xinliang Liu , linux-kernel , Fathi Boudra , LAK , Ulf Hansson Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 33 On Fri, Oct 28, 2016 at 5:34 AM, Leo Yan wrote: > 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. No objection from me. I hadn't run into the issue, as I'm not booting off the sd card. The patch from Jaehoon doesn't seem to cause trouble in my testing so far, so I think its worth generating a patch and sending it in for 4.9-rc thanks -john