Received: by 10.192.165.148 with SMTP id m20csp1491997imm; Wed, 2 May 2018 23:41:58 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqtajdOH+XBx9BsWoJYtTQdggnOZUbEpAsUrA0+No3lJ8D0OdAmZramTlQoj6lheSBuzk9e X-Received: by 2002:a65:4c06:: with SMTP id u6-v6mr17977000pgq.388.1525329718605; Wed, 02 May 2018 23:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525329718; cv=none; d=google.com; s=arc-20160816; b=TlSfS/kOUenIdigAuZpP/VpfDRX9n+Y3XlKDKKJZArKQcnGNFKIR8svjZEIEk4VIqw 0fsQ4gJc16BMAmOhNsw58nj724k0h9RTtJpn9vg5LkE1p4Q9zvYkJQLbQ9nB6L8cBg86 ESMRIv159YTjelYF7+YAbanRasR1WauV76pm8b4gDCy3USiOvsWdLTAAjTqW1dR2lzXI KMN7ArScr2sTDajnvkDA7mo4EPRceOEwBwjcnOX0ga+ZRY/kL5O1T8qvhQ2qh+Q6u9bC 3eHF5++0o+WfPWxJspRVw5cuIC/5dMu7YetPenI1+oXmIDZHnHNdgVAFWdbKaAj/zLpV L/ow== 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=Rw0LQ6Z9dWKHOAr4l6eXAFv7hbmzgdKA3f0NoKXUhhg=; b=C2iVe0fCCM66o8zIB6WLloLtRqd1RrIbHokhDXovJJ699QQ2CPvx371yQ6GUcUOAr/ 4FmeoSZqOxqs7BNpzvB1C8nzaXz89jZF8V+sQiHz8ZXSYnrmDaBGSI0hEkDtZ5I46NCj N9FhmzqEglYr11VfSZv6szeLetYA788HT+BHCnEdV1zGzdFPB2YgRygDPrLGPHGTOb4L 0BJorVZhZQ5z/aT69Io5UrVqLR8iecExoYCIi/kedMZYrS/He2wVDk0xxr8qGxdOgkGd hyQ/SJPN7x/J9LSUjib7DwZyegulilOEWfPYS/mpQiaGbL99tZ+HhYcynWY/xF1OTWf6 H24Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AUB9jdOM; 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 g3-v6si11773398plp.594.2018.05.02.23.41.43; Wed, 02 May 2018 23:41: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=@ti.com header.s=ti-com-17Q1 header.b=AUB9jdOM; 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 S1752044AbeECGla (ORCPT + 99 others); Thu, 3 May 2018 02:41:30 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:49291 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895AbeECGl1 (ORCPT ); Thu, 3 May 2018 02:41:27 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w436fKdV009998; Thu, 3 May 2018 01:41:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1525329680; bh=Rw0LQ6Z9dWKHOAr4l6eXAFv7hbmzgdKA3f0NoKXUhhg=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=AUB9jdOMMNlEuDIKL4o9S5A83DkboMYq3hF0yT+nAU6IWwYBd91dkiu7Tfp90riXF cU4ep06L2oWbTVKwXSqzxt9/qgXOUsCy4wbwFijy2XszggFLrNSuqkEQtvP8zBUlUa GPtu42j788mCSx3umYq91L/c0KBfOC/vKk3IqFPw= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w436fK5i031148; Thu, 3 May 2018 01:41:20 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 3 May 2018 01:41:19 -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, 3 May 2018 01:41:19 -0500 From: "Reizer, Eyal" To: Tony Lindgren , Eyal Reizer CC: "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: AQHT4iT/7H0+EMEe30+rXGHYgl+MB6QdiDjA Date: Thu, 3 May 2018 06:41:19 +0000 Message-ID: <5cc906da15da45ab96e06957f878b65b@ti.com> References: <1525159453-32489-1-git-send-email-eyalr@ti.com> <20180502145100.GK98604@atomide.com> In-Reply-To: <20180502145100.GK98604@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 > * 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; > > + }; > > }; >=20 > 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 > 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. >=20 > 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. >=20 > 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 > 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. >=20 I agree that it would have been better, especially for cases such as wake=20 On wlan, but again, in-band interrupt was something that was talked=20 about way back but it was never implemented. Best Regards, Eyal