Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp243987imu; Wed, 2 Jan 2019 18:52:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN7m3vwKXoaTmj8lOg7oQ5gK/ZfOYBiuJiFveZ6nRViJuIh/KhldoNFBL9WfW5ugCiO5Znbu X-Received: by 2002:a62:76cc:: with SMTP id r195mr46418645pfc.38.1546483949937; Wed, 02 Jan 2019 18:52:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546483949; cv=none; d=google.com; s=arc-20160816; b=Equlr7Z4c1WUwQeP66jhLgF6wp5qeW2MvLrHjxlAVUYZnjwXqEui9oYfzXQzEfwAS1 31/dW+qltrnGN0W6Ko8SZG0OmcymwZ5Cv7/IUwh1/VqJoHvKqd1AJH1qW+8Ka43lxRNF od8ge+Zyx373YQD0k18krjnR+D9j86K4IzKHi5ihWazl+phjXnoOM7eP/9esFhXz6xE8 m67UN2hCmMVoMf3NN00uzjRW7Z8mKf+a8xpA6Aq72G+bt20xnjsaI4mLa8JeH/4TcxBl O+N6kHIb4OM+Pu7SMQR4PozJ7Aiqsd+5Zp7MNhJaa6dLi0hZ9OmKGmAlhxyIz/6mLXr9 dh2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6ojsTVbVTAIs/niPLHtQCX4zbvkoWHK82NQCIk9i6+8=; b=iYNCo0GdwV7p2rQ30iryWGkhCeZ+IfYD/v+Syocdn2xfCaSE5YTKh99t748pkZL8h2 X/0MFMFFOks2v4rrB+fIdjEOncTZ/RqlPmX4pdMqwbT6CqxAkR1ITJujgblu8AwLixHB EyipxJ01cRCo3HsTB7V5FWsiAqcxy6TUD3cjUS6JTd1gb8iHXoqUOXy8ZaKMB8rkvtUe /ed8dNS8yys11HwoyrTcw4RUsYFAlQCxECopY1C5HWasga68E9LDXIo6tznmmgkRmJMy lQ8Pwi4Vv0ivNslBm3YrMWF4e1nVwePiL87Cpvi0uNQ7NuzwZ9oh7KBek8raD9MNt70U wt/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cTFLusnh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l185si34009448pgd.253.2019.01.02.18.52.13; Wed, 02 Jan 2019 18:52:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cTFLusnh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729700AbfABWVP (ORCPT + 99 others); Wed, 2 Jan 2019 17:21:15 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:56178 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbfABWVP (ORCPT ); Wed, 2 Jan 2019 17:21:15 -0500 Received: by mail-wm1-f67.google.com with SMTP id y139so27682266wmc.5 for ; Wed, 02 Jan 2019 14:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6ojsTVbVTAIs/niPLHtQCX4zbvkoWHK82NQCIk9i6+8=; b=cTFLusnhZoz3q1fJeFAUiB9UfM8v2Go7kbvchGEIQFjv/F/Jemi0KXEmU4+B+Lo2xR /Ur3P+C+vywRWfDPC+I/Grv3M0zWL8yUbTGNxhg0Z1jS0R0hYhoArKUOpuuJYDt2lhh2 +lgm7ZEyR5gDCcTaNI76Br9Y5TgDDYLLzsAKs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6ojsTVbVTAIs/niPLHtQCX4zbvkoWHK82NQCIk9i6+8=; b=QOnLq/qF9hX8WcOytLHZk/LVmciFzNCw02VjFu/ymnkjMTu6rVsoeR+DntMMKygPRR TS041ZllvHx6LHoZCJg2b9pkgT2mCVjbz4rFv7ZiOKqWCYL/ey2hQkOmWHMKTZYYzkwV 7V+Yssn+DgYEKdT4eIQSWVUA5KJq33xYsSuF+scejqEmImmBAZqeW1Cu+8U5X7PknSY8 PsrNgGodPzomEOqMou+9P0+DACgenV52T0ztFpvnAeDUhxjlzAppPYU5VfqK+dZy7AuN 4rq3xBN8aOA7bzgTdHPAJRUKjPkUihbihk2+all/79W4XSHHmzeZUvNhXPFljX1TzSPE +Cyw== X-Gm-Message-State: AA+aEWaKa8bFuTC6CjuujrlwmCmdlGMBenJHDU7kLwgYEidJEXrmUneM l3L/kGlz7AMXFcJbRD1Psr7jWsaOwVsZ2s+fPob34A== X-Received: by 2002:a1c:b456:: with SMTP id d83mr38299481wmf.115.1546467673353; Wed, 02 Jan 2019 14:21:13 -0800 (PST) MIME-Version: 1.0 References: <6ccac7db-3ab7-e396-90be-8681a8ee336b@web.de> In-Reply-To: <6ccac7db-3ab7-e396-90be-8681a8ee336b@web.de> From: John Stultz Date: Wed, 2 Jan 2019 14:21:01 -0800 Message-ID: Subject: Re: [PATCH] arm64: dts: hikey: Give wifi some time after power-on To: Jan Kiszka Cc: Linux Kernel Mailing List , linux-arm-kernel , Wei Xu , Ryan Grachek , linux-wireless@vger.kernel.org, "Reizer, Eyal" , Valentin Schneider , Tony Lindgren , Kalle Valo , KISHON VIJAY ABRAHAM , "Mishol, Guy" , Anders Roxell , Ricardo Salveti , Ulf Hansson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding a few folks to cc from the thread here: https://patchwork.kernel.org/patch/10734021/ As this sounds like a very similar issue. thanks -john On Sun, Dec 30, 2018 at 3:38 AM Jan Kiszka wrote: > > From: Jan Kiszka > > Somewhere along recent changes to power control of the wl1835, power-on > became very unreliable on the hikey, failing like this: > > wl1271_sdio: probe of mmc2:0001:1 failed with error -16 > wl1271_sdio: probe of mmc2:0001:2 failed with error -16 > > After playing with some dt parameters and comparing to other users of > this chip, it turned out we need some power-on delay to make things > stable again. In contrast to those other users which define 200 ms, the > hikey is already very happy with 1 ms. > > Signed-off-by: Jan Kiszka > --- > > Tested with 4.19 and linus/master. > > arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts > b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts > index f4964bee6a1a..1e771bf201b9 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts > +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts > @@ -118,6 +118,7 @@ > reset-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; > clocks = <&pmic>; > clock-names = "ext_clock"; > + post-power-on-delay-ms = <1>; > power-off-delay-us = <10>; > }; > > -- > 2.16.4