Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp982579imm; Wed, 13 Jun 2018 11:21:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKItI77GboiHtPLFtIKAYEnJt/xuUdQdWlRdvQ2Emnic2huvVt9UC2QqkXUQCFNQMD2iXSPa X-Received: by 2002:a17:902:5a1:: with SMTP id f30-v6mr6289928plf.167.1528914118570; Wed, 13 Jun 2018 11:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528914118; cv=none; d=google.com; s=arc-20160816; b=Lr5CvUzs4YGA0wK3sK63xkz7uCDoWmIKxPpzceYzJFy4xqeYwXIfAUWLlVOsKuKKzO XVeYdD3KRPdHZbZA3pU31tTD5FnHIvEjbgWDW67X3oKgIj3mNjGzc2gM8pq4bW7k60H9 QHqzzjWkeQw46dxVhtpuX5zyX1fCBaWhvCsiNkJujdwDLw+6F25LfPHiVzyYBvqwCFJA eR5rf0cvGPFnnV77FTgvda8Rn4sF41IcwJBRSfC4EHpp1HzOUaR4W5S6ZdxIgttXX61v RKLkHXLEqKYab6Mk2In7ZWSYYzpjxIDXoh/aHcigziwNmEQQyz9YpGJZHEylhhmYXjPE +QUw== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=oJRRJov7NzEr6QGNG0x5ZI0dAG9crArWNGj8O/mJRDg=; b=CI5Cm6SrsBBr9xI/YTW03B6yPlXFchKa+nKOhhdbrkNLw36c/stLytK0Q9VNaOrBH3 6JbVGdr3AG0LLQqTrFDFkRoT1hkYPYJJKz7RYB7e5Ko8A2F9N5RKgFgDhmv5k0IGpsHu 9sWanNYBEjXIV+kIPY623E9cMU5u9uMpzHVZaqTnlkkxfhn9ZetY5va48Fu/h6Qtj+Uc /hIqj3nJw/940s/c1M037rU2yxNv0xJ/7zVa0wzAIHtYR10tUgpcBq/sok3OKJFjLJZU HzQ9z5HaQVAHBz6ldhG9Mf5E2R6l2RhJVjw+adkiAftJeRPktWnveYZdl21bT7FHoCX8 DbrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@edited-us.20150623.gappssmtp.com header.s=20150623 header.b=G8+wbRCi; 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 90-v6si3497192plf.56.2018.06.13.11.21.44; Wed, 13 Jun 2018 11:21:58 -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=@edited-us.20150623.gappssmtp.com header.s=20150623 header.b=G8+wbRCi; 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 S935716AbeFMST4 (ORCPT + 99 others); Wed, 13 Jun 2018 14:19:56 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:46401 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935163AbeFMSTx (ORCPT ); Wed, 13 Jun 2018 14:19:53 -0400 Received: by mail-lf0-f66.google.com with SMTP id j13-v6so5360658lfb.13 for ; Wed, 13 Jun 2018 11:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edited-us.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oJRRJov7NzEr6QGNG0x5ZI0dAG9crArWNGj8O/mJRDg=; b=G8+wbRCig46QoOuwNOeypQLX0OwxeWhf26xeFvTbuszu2PxWOzcaSQf+2+CfQx05CR w3/x4LTzT7M7JWZ3aYzVGMZohJpUqIrH9OwisotgEr+c6VKoqIOazf0nspFMi/CjFkmR oGbtmS12D0aplj/pQQavYkMp+muEy3GR66BwZ4aZl6tfVw4R9NfhVzVY36wz8OvKfFpL CqspSvhgmLhGRJbaKtv6K0KsMpmtFBCIgN1YXyGpAx7w5a/8D2p8XlpRHCekaS/+9yRV EA0kxZ5SWnAmbTW+J7EhdNKpqEM7JSxfTwHn+RmrvfnL2sfUhr/iqDnqzUdK4cqX/fOl 1vEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oJRRJov7NzEr6QGNG0x5ZI0dAG9crArWNGj8O/mJRDg=; b=X+GN8I5nc1ohvdfqhZJgVlxXvXg5piS+6thT1jUUEwr+FsqIGBVZxjjjaMGtAVEF0x Dz/zJIdYYPpbccUf4G21ktrgc7IkFxb/8Iu6Jog0dlHCLoBhDm8oQwMKyO/pBqdH7qMd iyoaen9+ViJPcDeMXmgc6cmmdgYjm46m3JKwDehJ0Eg+mfLpv/gp3i8+h7d+2NYNXxRR QH6PK1wjIeTz7YdbQ6H+/YsxJGQRRFFOw1Uh7+U91sTOByFGO6ztB58/6XKZYaaxMNOk +ggFaXpBkLi5+TlB1wMGJONs42UQRZLScjC0xNZSE7cGWgQ6fBG6b3yVrMSIf3D/qKW4 HMpw== X-Gm-Message-State: APt69E0bxbwKIJToNKlFv/rTSafYF8XQCq6L+XUQzslcrZgUlWkHoFZ1 DwP9aABIKbcjFn3Gj4rAWuciQGJspLpVvRZo/ZjWrw== X-Received: by 2002:a19:aa0f:: with SMTP id t15-v6mr3957515lfe.58.1528913992145; Wed, 13 Jun 2018 11:19:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:59c8:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 11:19:51 -0700 (PDT) In-Reply-To: <521dd38a-29b8-5670-4296-84b300921b3d@arm.com> References: <20180613151305.17240-1-ryan@edited.us> <521dd38a-29b8-5670-4296-84b300921b3d@arm.com> From: Ryan Grachek Date: Wed, 13 Jun 2018 13:19:51 -0500 Message-ID: Subject: Re: [PATCH] arm64: dts: hikey: Define wl1835 power capabilities To: Valentin Schneider 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, John Stultz 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 Hi Valentin, On Wed, Jun 13, 2018 at 12:34 PM, Valentin Schneider wrote: > Hi, > > On 13/06/18 16:13, 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. >> > > I don't have a hikey620 to test this, but the hikey960 is suffering from the > same issue (see [1]). I added these properties to the dwmmc2 node of the > hikey960 (see snippet) and wlan0 does show up. Would you mind sending a > similar patch for that board ? > > Thanks ! > > Valentin > > [1]: https://lkml.org/lkml/2018/6/12/930 > > --->8 > > diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts > index 85aadf1b..c706f70 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts > +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts > @@ -613,6 +613,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"; Not a problem. The patch can be found here: https://patchwork.kernel.org/patch/10462767/ Ryan