Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1729071imu; Thu, 24 Jan 2019 00:29:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN7SOgyw4LgRteYeD1mT7ADDQ0dzMzBB+EDiXWv7LvBKSuZmY/AHAklCp/tO54CbLf/a+hgk X-Received: by 2002:a17:902:bd86:: with SMTP id q6mr5513567pls.16.1548318596142; Thu, 24 Jan 2019 00:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548318596; cv=none; d=google.com; s=arc-20160816; b=D1OND1C43x0JIH4me9UumCaGcRh0HBrufWLd5DD+1oloTFBjlYNxtaCEYbAkFv6Hmj HEJXx5QI/BAwpJPdaU+koaFFp968Me4o6K+MS1b8PRN4OrigXSN39Jw8+Oafztogtt74 d3bejiE1xnOQoptKIjM0q736fEpxs6vaKqRpt9YoRU+Oqjmk+Xi2XeWc+iBgGViVhPEz 00R+80STiMRSRVVlGRf0Q9YTkpicnzfBEZcgFAbF5Ae6Txu7WHaXlbmYdIdmEPrXZrFt 3wlPittDwYbncYR/VTRTVTH8V7JQrNKxuEujZdQhwDq7zcQYFSfo9cYXb9AjwkM+4WIh zHqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:cc:to :subject:from:dkim-signature; bh=RYOEf/3/6g5Mm8paxXKyrwK+eoMlb2JvuNlhwFGi6Uo=; b=wUPqYFQu3RzY3+qJYdSnAoScO+2Fg+hTOenZS/YHNqi9ZyQlkYYQUYvx7LeQds0D+Z xwfKRkzu3wEYdXoaie1IuUCYc2Yrp7dg/LvrtHjxXogMmBjiKlVjsjY+71KRP2D9Id9Q 5eFGgm4JR4rZUHXdULsmUHUBLvIx/DCp81NNL6Qr8a+IV6zz4cSQNMo122PxtpX4/Em4 33vklNyMejXZwm8nK538ZWpYhqqibv5dGmqmj5iIyjZFz+cu7VqOjZV60AfmddI501pc E9Yz0JZyBaSqcd2TiDNtD6tSb0bz2OEpaG8Ygd4QewVAlF6Dk9CSWl81blECqVmTc+2s ACDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=VQmW85wD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si663595pgv.499.2019.01.24.00.29.40; Thu, 24 Jan 2019 00:29:56 -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=@web.de header.s=dbaedf251592 header.b=VQmW85wD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727403AbfAXI3b (ORCPT + 99 others); Thu, 24 Jan 2019 03:29:31 -0500 Received: from mout.web.de ([212.227.17.11]:60669 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbfAXI32 (ORCPT ); Thu, 24 Jan 2019 03:29:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1548318542; bh=1r21Sy62YGvEHyGOIqlYMcXiaQ/0qzp1Z8NCgkKtHJk=; h=X-UI-Sender-Class:From:Subject:To:Cc:Date; b=VQmW85wDyf6plBmW5Z6aUJaNShfyQGtbzrDJ5Fx6vX0CTAeGkC1u2idROMi5ypm43 ScLkeyFkUIFFt/PFK8VbFO/HmfdS63QGQSxzgqM7VXHwfM1Pna+UwZCSZ9q+1IxkqU DT3MDcIftaErLAyj9CppxomF5LwMO0gFb+Pd56Jw= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.10] ([95.157.57.47]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M2Mcy-1h5Lic2jCu-00s9gq; Thu, 24 Jan 2019 09:29:02 +0100 From: Jan Kiszka Subject: [PATCH v2] arm64: dts: zcu100-revC: Give wifi some time after power-on To: Linux Kernel Mailing List , linux-arm-kernel , Wei Xu Cc: Ryan Grachek , John Stultz , linux-wireless@vger.kernel.org, "Reizer, Eyal" , Valentin Schneider , Ulf Hansson , Kalle Valo , Tony Lindgren , Michal Simek Message-ID: Date: Thu, 24 Jan 2019 09:28:59 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:LfoHBbu6n/J0IfRda96ujoN9PIMATj0xyLxopAnv3qbFor8rakt 9vjfI8vaktmfwTdZh8EcYNp6mShlEniEss/Kp382n4R+WsTQm8JxCcFpwz/F5LWZ4XKaq2J DLV965TikFw8bte5/exjf8qdtM7z2HQeLcouyQGAkKtreplyP4rtBShAx3+TppAyGE47sXZ WHNuYgBac6Lciql9GHyaA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:n30gWnQQXn8=:P+Ivq1q1goQsWI9fBrcuia 8HU5nDHJNcaBWJqPrMQSG/4deGdzgNbdWgk8elpO+4xyIJS0QEqvRSDF2807Y0Bg3Q4yq7Gbc Bv6I6SSLvrdbHTP9nRsdvfBtYVFOk7K/uB/TpogdrDaatH5proHG3vnrPaPb9tGncJy6UMDNd 82KHo5mtP+HhbgyyFFi4GvJs48kaq3EkzQXMQdf6w6UvuluSjEpn54hC9MRuancWmq12YPaRq he3hxn9YdLYyarOMaJspbIApTAFfy5X1X+/KczHTj54VUdT/cfKv11+PCaenMDebVgOiV8uXD zJkcmTDuj4GpzwelrYO9FrZqRgflpOk1mHQCE5poEklGx1hUqcAcIx6km8x3YXgo4sdXsaaXq u9RMtrzvl1yk/cP/W4DFlBhPNTKnjvain1DmazCW1l4jTh+mwhWqBLs6prhOBhm9Rr1ZMF9Hm pQppNklLSJ/f/S9S/ny5txE2IBMf0zQDYguAQWnQ1mco/bFO9RwQyCZSF6azevoFsAGUXgL7R rpFyQKDbjirnD8SYBAIg+lPfYoseV/UzzrjlA/zLQS+QHrpsOzo/mMG6WAJ8kURyquSKM+Kry Dt8GR7cCLjAMlI0xP3jQnzg5PnvaLSXizjXL265yQZ6iY3LndijahpHXnTmQxULJaJjKOIq2D Q+qnBmiP1/YaE6yRBVKU+SlNIA6++VuT7/WNfObfa4ATK0LlfEDAjgnusCgZhXrA866YxqQRt 9pvZARcby/ldJZQtgGSpZ2F4wgqwczgv5NzQOtwEtq5qjlRLl23QAZcwSMHKbzy9VmXB6ga1W +/whvrTLiONxyzTs/3xCevhDKQuJN/ARB9DUNdkP41sO3JIyajG6eaGUfnto1drKOdUjP2AYG Dr4gwjNlGVY4Xlp3D+ucx8drp8S5kW2gsbtEqh2bu9u7GNropEbl/9fVqjF9NT531rXIb0nYM V/0R/+t71wg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka Somewhere along recent changes to power control of the wl1831, power-on became very unreliable on the Ultra96, 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, Ultra96 is already happy with 10 ms. Fixes: 5869ba0653b9 ("arm64: zynqmp: Add support for Xilinx zcu100-revC") Signed-off-by: Jan Kiszka Acked-by: Ulf Hansson =2D-- Changes in v2: - fix changelog arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm6= 4/boot/dts/xilinx/zynqmp-zcu100-revC.dts index 13a0a028df98..e5699d0d91e4 100644 =2D-- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts @@ -101,6 +101,7 @@ sdio_pwrseq: sdio-pwrseq { compatible =3D "mmc-pwrseq-simple"; reset-gpios =3D <&gpio 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */ + post-power-on-delay-ms =3D <10>; }; }; =2D- 2.16.4