From patchwork Thu Jan 24 08:28:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 10778549 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4B8611399 for ; Thu, 24 Jan 2019 08:29:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C6122D602 for ; Thu, 24 Jan 2019 08:29:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 301352D61E; Thu, 24 Jan 2019 08:29:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D57562D602 for ; Thu, 24 Jan 2019 08:29:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727304AbfAXI3a (ORCPT ); Thu, 24 Jan 2019 03:29:30 -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-Language: en-US X-Provags-ID: V03:K1:LfoHBbu6n/J0IfRda96ujoN9PIMATj0xyLxopAnv3qbFor8rakt 9vjfI8vaktmfwTdZh8EcYNp6mShlEniEss/Kp382n4R+WsTQm8JxCcFpwz/F5LWZ4XKaq2J DLV965TikFw8bte5/exjf8qdtM7z2HQeLcouyQGAkKtreplyP4rtBShAx3+TppAyGE47sXZ WHNuYgBac6Lciql9GHyaA== 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-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Tony Lindgren --- Changes in v2: - fix changelog arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 1 + 1 file changed, 1 insertion(+) -- 2.16.4 diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts index 13a0a028df98..e5699d0d91e4 100644 --- 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 = "mmc-pwrseq-simple"; reset-gpios = <&gpio 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */ + post-power-on-delay-ms = <10>; }; };