Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1570887imm; Wed, 13 Jun 2018 23:43:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJZwNQnvzlJUnpbSJdyxXRtddliedxOMuQlPNaJ8NLmkr5S03VjXeGvdkyq3mRhm0BtDb3Z X-Received: by 2002:a17:902:8602:: with SMTP id f2-v6mr1596056plo.5.1528958582801; Wed, 13 Jun 2018 23:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528958582; cv=none; d=google.com; s=arc-20160816; b=mDjJngau+fjnZFSwvb5zJUgGy+qhREtf3ALMm9eiUgCSLz/or0udY8KitIiFdADxGS aAH3SiqcxdaDxxVn1OizI3hX04BvvApSHixQkF/UG8o+EMtPCstkN9mnpjrla6LyWZxi zez0mwEkVkMIf7w6/H1+9mIIFpia2/BEeA89llQGWKU58engrw3LhDyRfuItEBa34jqC uZD6kk55pQnBit4UEunYUM2teXH421Y7RXPPwnZHnASFGsqtXBHEffEbwbiFqit2IGpd QnAdSbCqiIQJTYwAOtYP0OpOT/uCbYN5yPH4ojEEtfxtBnEny3y71ZLY7D55GCjHnzIM hQog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=aB2Xx1laOzxEpFT7Sh9Jqutdum4y1FJenE8riGohEHE=; b=L2kCw6Y8RCdrRWS5PFNE/LnBsRCZ89SUYCvKGmM0w92PtUQDH29l0didV6pYu8XeGD 6ymqI1pdIHhAaNKzOswNfllhAg6XkyNcRERPiE0dOdX7cOhxI5TRIa99/GFVZjosSv/7 JHHYRmvmz8OLMVxqW9mNi0EQUnPpiqRjYFt2G6IQcekdJrLd1eDvU4wtQDBFwiCocd9r /RAqvbNovHWVKfQ/XThFDvxt5XW6YnifWAFvs76lhK8Lydu/r+BzIibFpcWS6fRWS/cI 1uO/v6mU323RQpGb6vsgFa3FkqvmfuXGjn70D21SHl+NQO4M3+NcARzwvGxkM8G9EGni m3Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eegF28D+; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12-v6si4563486pfb.69.2018.06.13.23.42.48; Wed, 13 Jun 2018 23:43:02 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=eegF28D+; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754676AbeFNGke (ORCPT + 99 others); Thu, 14 Jun 2018 02:40:34 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:57137 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752766AbeFNGkc (ORCPT ); Thu, 14 Jun 2018 02:40:32 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w5E6e6dv001281; Thu, 14 Jun 2018 01:40:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1528958406; bh=aB2Xx1laOzxEpFT7Sh9Jqutdum4y1FJenE8riGohEHE=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=eegF28D+UroTcHakfhSxA7gOIA/cfzHXXXlDX4IY0KSTRLOq52cxvfzyZy6fFw7kG gYzd7UQFs+INIsrt1pTA76y75uveZAr5SeMjJx22i6RgzD6kuzhO2gNLD4uM4M++Cg Xyd0L1QQ8ZZt2jK6rI53WeN0Zi/7/jtdni2RiSqA= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w5E6e563005975; Thu, 14 Jun 2018 01:40:06 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 14 Jun 2018 01:40:05 -0500 Received: from DFLE103.ent.ti.com ([fe80::7431:ea48:7659:dc14]) by DFLE103.ent.ti.com ([fe80::7431:ea48:7659:dc14%17]) with mapi id 15.01.1466.003; Thu, 14 Jun 2018 01:40:05 -0500 From: "Reizer, Eyal" To: Kalle Valo , John Stultz CC: Ryan Grachek , Wei Xu , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-kernel , "devicetree@vger.kernel.org" , "Linux Kernel Mailing List" , Tony Lindgren , Valentin Schneider , "linux-wireless@vger.kernel.org" Subject: RE: [EXTERNAL] Re: [PATCH] arm64: dts: hikey: Define wl1835 power capabilities Thread-Topic: [EXTERNAL] Re: [PATCH] arm64: dts: hikey: Define wl1835 power capabilities Thread-Index: AQHUA0SMzeHUc1UEpk+teU5r0yB0eqReiSdNgAC9ofA= Date: Thu, 14 Jun 2018 06:40:05 +0000 Message-ID: References: <20180613151305.17240-1-ryan@edited.us> <87tvq6a577.fsf@kamboji.qca.qualcomm.com> In-Reply-To: <87tvq6a577.fsf@kamboji.qca.qualcomm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [137.167.25.139] x-exclaimer-md-config: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > >> These properties are required for compatibility with runtime PM. > >> Without these properties, MMC host controller will not be aware > >> of power capabilities. When the wlcore driver attempts to power > >> on the device, it will erroneously fail with -EACCES. > >> > >> Signed-off-by: Ryan Grachek > > > > Fixes: 60f36637bbbd ("wlcore: sdio: allow pm to handle sdio power") > > Tested-by: John Stultz > > Acked-by: John Stultz > > > > Wei Xu: This fixes a functional regression with wifi on the HiKey > > board that was introduced in 4.18-rc with commit 60f36637bbbd > > ("wlcore: sdio: allow pm to handle sdio power"). > > > > Could you please be sure to queue this for the 4.18-rc ? >=20 > Adding linux-wireless so that wireless folks are aware of this wlcore > regression fix as well. >=20 Actually "cap-power-off-card" is normally included with all .dts files sup= porting wilink=20 So it should have been there from the start for this board as well.=20 It probably worked without it due to the explicit call to mmc_power_restore= _host() that was there as an old workaround for trying to control the power explici= tly from the driver which was actually causing other failures on suspend/resume as the m= mc layer=20 already power the module on resume. "keep-power-in-suspend" is needed in case of planning to use "WoWLAN": Iw phy0 wowlan enable.... Best Regards, Eyal