From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753155AbdESHWd (ORCPT ); Fri, 19 May 2017 03:22:33 -0400 Received: from hermes.aosc.io ([199.195.250.187]:53246 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810AbdESHWb (ORCPT ); Fri, 19 May 2017 03:22:31 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 19 May 2017 15:22:28 +0800 From: icenowy@aosc.io To: Maxime Ripard Cc: devicetree , Jason Cooper , Marc Zyngier , Mark Brown , linux-sunxi , Liam Girdwood , linux-kernel , Chen-Yu Tsai , Rob Herring , Thomas Gleixner , Lee Jones , linux-arm-kernel Subject: Re: [linux-sunxi] [PATCH v6 9/9] arm64: allwinner: a64: enable Wi-Fi for Pine64 In-Reply-To: <20170519071922.awmib4qphl6ac6mj@flea.home> References: <20170518071653.36561-1-icenowy@aosc.io> <20170518071653.36561-10-icenowy@aosc.io> <79B00D42-3F95-4D5E-9A23-8E893CCF2462@aosc.io> <20170519071922.awmib4qphl6ac6mj@flea.home> Message-ID: <16dee602b96510170ee1117cfaae0025@aosc.io> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2017-05-19 15:19,Maxime Ripard 写道: > On Fri, May 19, 2017 at 11:03:33AM +0800, Icenowy Zheng wrote: >> >The patch looks OK, but given the module is removable, I think it >> >should be >> >an overlay. The overlay would enable WiFi + Bluetooth, and all the >> >peripherals needed to connect them. >> > >> >That way, if the module is not installed, we avoid confusing the user >> >with >> >unused peripherals, and avoid having live voltage on an unoccupied >> >header. >> >> But as this header have specific usage, we will also confuse user >> if it's not enabled as its target usage. > > Yet you would enable unused resources. > > This was already pointed out here: > https://patchwork.kernel.org/patch/9670235/ I think, before we have an official repository of device tree overlays (either directly in torvalds/linux or maintained by linux-sunxi), we shouldn't rely on device tree overlay functionality. > > Maxime > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel