Received: by 10.192.165.148 with SMTP id m20csp1852543imm; Sun, 6 May 2018 00:46:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqDD1fjpSMBW3rPPbNAay0ceoO7ta1KVVohpK/kU4Fyx2JJbju/k+8daMpTVvEpsPDuCu5R X-Received: by 2002:a65:4204:: with SMTP id c4-v6mr19589270pgq.26.1525592779031; Sun, 06 May 2018 00:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525592778; cv=none; d=google.com; s=arc-20160816; b=qjs9vF9rGHXk+/IDZmvRS0ocVo/mhsf6ejGh8P/kunyw0c1QJZKN+V2MSAH8iLBXj+ WtYjJCx5fC48ll+6LWFbPpVjtxRfjIdunfnkJoNyq1jW3jBmZ+Kbakkr657bv3ToNpRl 1/VDbH+Btx51QJtVFdwz5AMMre9hnX+hs0i2spWMokM/pKCaqj1AkbZq5l7lqBTC71LH uFU4KXaUk2IM83M+T//CtfuOY2ZOymN5rOt1Dssvm6gJkxXfxzLlVX2z2uImHtWn0Ttd mjpt1TP7AM2Rn8bQMr7mitK6CbrK9JBGzzbyEGU7EIZ0nw3//9BUv1d6Jf/SfChQjmbA RiaQ== 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=kJxsFTWNDdM0T90Q1tf/lK0t9GNdy+DuspP6d+yZYxk=; b=qDP4HkYetcpFFeJnXjKc6TJF25wa47r6BhOQ3o/DUJhIvnoKrKLKyvOC//dojsW6v4 6zif4c1Im/uNAKAO1YQc3zfMyjvbIavjePVtJC+r4ChUhacMTo5H6wDcvFO5m6Fj/F4S Bb5EfvyYrcg4kakERjxtG6H13s/Yza55TtUSEP7mie9ZBimo1jHLmfCm3PF5Nef3Nj6m 4xCANfalmEHC+x9JVUIPDviDPvhHj0Yiy2nlec/niHPuqVNYlihxtdrCtB5upA5euCaQ BPgtNxwm/Nsfg1EOgnnb1lsITQMZM3mkXRwn+lIjY5fJNNX7HZC8nZ6a4sxl97H9FJVw yYHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bb75ta38; 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 u13-v6si8632492plq.161.2018.05.06.00.46.04; Sun, 06 May 2018 00:46:18 -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=bb75ta38; 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 S1751209AbeEFHpo (ORCPT + 99 others); Sun, 6 May 2018 03:45:44 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:27459 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750824AbeEFHpl (ORCPT ); Sun, 6 May 2018 03:45:41 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w467jVZx032032; Sun, 6 May 2018 02:45:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1525592731; bh=kJxsFTWNDdM0T90Q1tf/lK0t9GNdy+DuspP6d+yZYxk=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=bb75ta38gTPRXo6ZT5fJi12LZr2IX11tppvQHg8ElS4TauLBZxN4OqAzWx7M9mlDZ JQSkcSSAIPuo6xuMMLccPr8uCnA45IfXthXI3E21ThgxAfr5EV4ygMxCs+QPjROIvt nvMFuWJBeZA+3SABA4ABihFVDTWmmPJYA5s6m0tI= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w467jVuc021322; Sun, 6 May 2018 02:45:31 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Sun, 6 May 2018 02:45:31 -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; Sun, 6 May 2018 02:45:31 -0500 From: "Reizer, Eyal" To: Tony Lindgren CC: Eyal Reizer , "bcousson@baylibre.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-omap@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [EXTERNAL] Re: [PATCH] arm: dts: am437x-sk-evm: add wilink8 support Thread-Topic: [EXTERNAL] Re: [PATCH] arm: dts: am437x-sk-evm: add wilink8 support Thread-Index: AQHT4umNrIAS1VNvUkK07yas+IZ4paQiVQFA Date: Sun, 6 May 2018 07:45:31 +0000 Message-ID: References: <1525159453-32489-1-git-send-email-eyalr@ti.com> <20180502145100.GK98604@atomide.com> <5cc906da15da45ab96e06957f878b65b@ti.com> <20180503141759.GP98604@atomide.com> In-Reply-To: <20180503141759.GP98604@atomide.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 >=20 > * Reizer, Eyal [180503 06:43]: > > > > > > * Eyal Reizer [180501 00:26]: > > > > enable mmc3 used for wlan and uart1 used for bluetooth > > > > configure the gpios used for wlan and bluetooth controls > > > > add fixed voltage regulator used for wlan power control > > > ... > > > > / { > > > > model =3D "TI AM437x SK EVM"; > > > > @@ -158,6 +159,22 @@ > > > > }; > > > > }; > > > > }; > > > > + > > > > + vmmcwl_fixed: fixedregulator-mmcwl { > > > > + /* > > > > + * WL_EN is not SDIO standard compliant. It is an out of band > > > > + * signal and hard to be dealt with in a standard way by the > > > > + * SDIO core driver. > > > > + * So modelling the WL_EN line as a regulator was a natural > > > > + * choice as the MMC core already deals with MMC supplies. > > > > + */ > > > > + compatible =3D "regulator-fixed"; > > > > + regulator-name =3D "vmmcwl_fixed"; > > > > + regulator-min-microvolt =3D <1800000>; > > > > + regulator-max-microvolt =3D <1800000>; > > > > + gpio =3D <&gpio4 8 GPIO_ACTIVE_HIGH>; > > > > + enable-active-high; > > > > + }; > > > > }; > > > > > > Interesting that it needs much longer delay here compared to the > > > earlier? > > > > Where do you see a delay in here? > > There is no startup-delay-us value used in this patch. >=20 > Oops sorry, I misread the voltage above as the startup-delay-us > value :) >=20 No issue :) > > > BTW, I do have a patch in work to add pwrseq support for wlcore that > > > allows leaving out the regulator here. It still needs a bit more > > > work though. > > > > > > And I also have a series in work to make wlcore use runtime PM that > > > needs even more work, just FYI to avoid any duplicate work. > > > > > > Hmm you don't happen to have a patch series somewhere making > > > wlcore use the SDIO dat lien interrupt? > > wilink has always used out of band interrupt (using wlan_irq gpio). > > in-band interrupts was not supported. > > See section 10.5.2 in this the wl18xx hardware integration guide: > > http://www.ti.com/lit/ug/swru437/swru437.pdf >=20 > Hmm yeah I've been wondering about that. Why not follow the SDIO > standard here though? Do you have links to documentation explaining > that? >=20 I will try to see what I can find out and why it has always been used only With out-of band interrupts and whether there is a real hardware Limitation behind it .=20 In the past also the omap-hsmmc driver was not really supporting in-band sdio interrupt out of the box. Not sure what is the state of it tofday. > > > I think we should use that when idle rather than the (edge) gpio > > > interrupt as the SDIO dat interrupt is level sensitive and wired > > > to the always on gpio bank for most SDIO controller instances. > > > On runtime PM wakeup, there's no status anywhere to been with the > > > GPIO edge interrupt. > > > > > I agree that it would have been better, especially for cases such as wa= ke > > On wlan, but again, in-band interrupt was something that was talked > > about way back but it was never implemented. >=20 > I think we can have both if performance is the reason for the > out of band interrupt. We could still use SDIO dat line interrupt > during idle for wake-up events. Correct, assuming we can make in-band interrupt work with wilink8. Best Regards, Eyal