Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp733130imm; Wed, 25 Jul 2018 05:23:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfJuppQotk2EJXeTuANzDIaK6jRkbl5VBbFyH/PJO9965k23SgNsVsT9EVfdAiBFCtrosmC X-Received: by 2002:a63:e206:: with SMTP id q6-v6mr10048952pgh.223.1532521421738; Wed, 25 Jul 2018 05:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532521421; cv=none; d=google.com; s=arc-20160816; b=Xj95I0OsaJNaDqQ8Kgky92GdNmzyhp39b8Lc394J+ytUkqh6gD3NC7lzscvzfvxl8M MOlfJPlQOARnJyniMIl0CrV5S6holjkO2chvO/KZGnQ0GMfjxE4JD6EtxrZvAIe7Rgif 9RWhBOJWxD+JbE6jTPSrQAABEQGR03PsoBWHXK+ku9ycrG5nKtFU7qToqW+k5nc7JKmi RgGgCpsTk0PqqRO5kfKKrMef+vab5aBltAITKwyGYhPZntOqZJRUdv2fWOlf57NcKFvJ zPNpT3QzPbKLNx0gIxblVk6UonVj8GBsN9ctuBTisccuvXo/kdRAPgCNUGI+6KrEjupT dU8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to:date :arc-authentication-results; bh=M35J5MYrVjLmxSgPN+N8+RMCZgoPRCjCyYQemJCQMfE=; b=lCFHLMpTu6DU1dcF6rPm9GCqAPpbdEajBehNmFy/hbfK/U96TFfnT0Q4Kib2cG+hrU OgbiU8blB67qmaRkGoO3yzpcbIu7i2x/JImfwK32w0BkpiSmEkKNQWodEo5AzEKz1Qxi bQnUOjR7EXAX/GzD3NPkrT1ACZz1lTyKPRCgh4//7w8t/6GBdXmvyBRNMVZwDrYkVRKC 0+duYfA47B1eownOpGRt4szsIUd29W4+UC2l0atS4bjOQsYA9TPyscB9G2dvsdQ9HnfF LQj2jQ8FI0nduOyoj2wx4EqIhlt7KB7eJoVLuDwNIz8NvS+3wQ3ZHGpLaDfYdnEdysxH EcrA== 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 t10-v6si12569075plh.306.2018.07.25.05.23.27; Wed, 25 Jul 2018 05:23:41 -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 S1728958AbeGYNd3 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 25 Jul 2018 09:33:29 -0400 Received: from hermes.aosc.io ([199.195.250.187]:59223 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728757AbeGYNd3 (ORCPT ); Wed, 25 Jul 2018 09:33:29 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id C3E589F6A7; Wed, 25 Jul 2018 12:21:48 +0000 (UTC) Date: Wed, 25 Jul 2018 20:20:36 +0800 In-Reply-To: <20180725121947.ox4zykod6jjadvfw@flea> References: <20180724011551.49603-1-icenowy@aosc.io> <20180724011551.49603-4-icenowy@aosc.io> <20180724144151.myyg7slocsfjjsfi@flea> <198DB486-4789-4777-9596-2BD6FAFFB741@aosc.io> <20180725121947.ox4zykod6jjadvfw@flea> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [linux-sunxi] Re: [PATCH 3/3] arm64: allwinner: dts: h6: add Wi-Fi support for Pine H64 model A/B To: maxime.ripard@bootlin.com, Maxime Ripard CC: Chen-Yu Tsai , linux-arm-kernel , devicetree , linux-kernel , linux-sunxi From: Icenowy Zheng Message-ID: <5562781F-ADDF-4289-9B74-1E445FDE04F0@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2018年7月25日 GMT+08:00 下午8:19:47, Maxime Ripard 写到: >On Tue, Jul 24, 2018 at 10:42:32PM +0800, Icenowy Zheng wrote: >> >> >> 于 2018年7月24日 GMT+08:00 下午10:41:51, Maxime Ripard > 写到: >> >On Tue, Jul 24, 2018 at 10:37:51AM +0800, Chen-Yu Tsai wrote: >> >> On Tue, Jul 24, 2018 at 10:28 AM, Icenowy Zheng >> >wrote: >> >> > >> >> > >> >> > 于 2018年7月24日 GMT+08:00 上午10:26:02, Chen-Yu Tsai >写到: >> >> >>On Tue, Jul 24, 2018 at 10:23 AM, Icenowy Zheng > >> >> >>wrote: >> >> >>> >> >> >>> >> >> >>> 于 2018年7月24日 GMT+08:00 上午10:21:59, Chen-Yu Tsai > >> >写到: >> >> >>>>On Tue, Jul 24, 2018 at 9:15 AM, Icenowy Zheng > >> >> >>wrote: >> >> >>>>> The Pine H64 model A has a Wi-Fi module connector and the >model >> >B >> >> >>has >> >> >>>>an >> >> >>>>> on-board RTL8723BS Wi-Fi module. >> >> >>>>> >> >> >>>>> Add support for them. For model A, as it's not defaultly >> >present, >> >> >>>>keep >> >> >>>>> it disabled now. >> >> >>>> >> >> >>>>Nope. Pine64 actually has two WiFi/BT modules. And they >require >> >> >>>>different >> >> >>>>device tree snippets for both the WiFi and BT side. This is >> >better >> >> >>>>resolved >> >> >>>>with device tree overlays. >> >> >>>> >> >> >>>>I have both, though I've yet found time to work on them. >> >> >>> >> >> >>> I have also both. >> >> >>> >> >> >>> The skeleton here can get the Wi-Fi of both to work. >> >> >> >> >> >>Cool. Then I can put away my RTL module for now. :) >> >> > >> >> > P.S. SDIO is auto detectable, and for BCM chips, the OOB >interrupt >> >> > is only a bonus function and it can fall back to standard >in-band >> >> > interrupt (which doesn't need special binding, and is currently >> >> > used by mainline r8723bs driver.) >> >> >> >> Correct. With BT you'll have serdev device nodes with different >> >> compatibles. Then you'll have to resort to overlays, and you'd >> >probably >> >> end up adding WiFi OOB interrupt bits as well. >> >> >> >> So the question remaining is: should we enable the MMC part, along >> >> with power sequencing and regulator supplies, by default? Thinking >> >> more about it, I'm actually OK with it. The board connectors are >> >> clearly marked as being for a WiFi+BT module. The whole space on >> >> the board is surrounded by a box in silkscreen. Sorry for the >> >> initial nack. >> >> >> >> Maxime, any thoughts? >> > >> >If there's a need for an overlay anyway, there's no real reason to >> >enable it by default, especially if not everything is there. >> >> Everything is there, for model B support. > >Except BT? Yes, not checked BT yet. > >Maxime