Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1174550imm; Wed, 13 Jun 2018 14:48:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLthWOl/DsiFQkZ0uTcv16yAXC/9rYA2O1IvcSl4Zt1FH48JAHOEnQdbrLoXqfwwi+E8d8x X-Received: by 2002:a17:902:b7c4:: with SMTP id v4-v6mr6887998plz.188.1528926536311; Wed, 13 Jun 2018 14:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528926536; cv=none; d=google.com; s=arc-20160816; b=tMtSIs972jkXByEJ7cEOFsjYzcbF8vSowyHSZCYxNTibC8kC4BbpMFNluunmMRxSzU IDfAO0Cve+xaYd8S2IscrDEsYnv0xiRBc/93Jl3YgGtD+a31TB5nw7EE8e7Kilhq2Np2 idLkGTPGb+R5ERq32dgbNWrORX/NIBb2btWKd087KFZHuOICbilXGZ8nBrLTULLD9X3J XwVQpcZ3GNpnnDz/U36i6ky4VAaOGioDvk+ztgX25GJsrT/7rLWjzGmGH/jUzbAvL0ML Pt7+zSTUmfGgq8use+pDZYzDgQz+JRkE54xi5EhIHvv08WiQGSQT72gnAWS8sM34mmOV 0f6w== 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:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=CZ7tr6KlGQjCp60V4lJ6up1LJ+br1SeuNXoyV9b/SVE=; b=ugIIn3DJXgpFO5stkrnFVygpjiDLj3VRerjZatnvu/0YoAFKE4W25qcA9SyPS0dMTm rwDYpVkqrqL50aT9N/Sb9ziI+mHje9AbbydgJ0gWUaxIgDLeZ7z1LXl1ay4hP1KesQcG m2s1QPsJx2JdKo5HODbsWA9eXGro5d4DicUNzd+BdkbqMWQCEp+bAINu4sZiQGt04E3m 3PuMK4yoLYF8/6CYhATpi77O6C6n6aoquxdb2uqhHxRvwr+sJLvll9T0SA9+h/ql/0T6 7ejdgZzjxUfhmHceePe0Wzc0JUteB7dulapd+mIQAof+beEvQG7ekIEcbCc3jBBRmsog ZVSg== ARC-Authentication-Results: i=1; mx.google.com; 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 v39-v6si3160047pgn.510.2018.06.13.14.48.42; Wed, 13 Jun 2018 14:48:56 -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; 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 S935660AbeFMVsE (ORCPT + 99 others); Wed, 13 Jun 2018 17:48:04 -0400 Received: from foss.arm.com ([217.140.101.70]:52826 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754517AbeFMVsD (ORCPT ); Wed, 13 Jun 2018 17:48:03 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D7A511435; Wed, 13 Jun 2018 14:48:02 -0700 (PDT) Received: from [10.0.2.15] (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D67453F59D; Wed, 13 Jun 2018 14:48:00 -0700 (PDT) Subject: Re: [PATCH] arm64: dts: hikey960: Define wl1837 power capabilities To: Ryan Grachek Cc: Wei Xu , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180613180321.16745-1-ryan@edited.us> From: Valentin Schneider Message-ID: <91404bb0-4fa8-4e00-0b21-c104a5171833@arm.com> Date: Wed, 13 Jun 2018 22:47:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180613180321.16745-1-ryan@edited.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/06/18 19:03, Ryan Grachek wrote: > 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. This fixes > a regression found here: https://lkml.org/lkml/2018/6/12/930 > Thanks! As mentioned in the above thread, this lets wlan0 come up properly, which otherwise doesn't come up and spits out: [ 8.466097] wl1271_sdio mmc1:0001:2: wl12xx_sdio_power_on: failed to get_sync(-13) Tested-by: Valentin Schneider > Signed-off-by: Ryan Grachek > --- > arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts > index c6999624ed8a..68c5a6c819ae 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts > +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts > @@ -585,6 +585,8 @@ > vmmc-supply = <&wlan_en>; > ti,non-removable; > non-removable; > + cap-power-off-card; > + keep-power-in-suspend; > #address-cells = <0x1>; > #size-cells = <0x0>; > status = "ok"; >