From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946680AbcBROiM (ORCPT ); Thu, 18 Feb 2016 09:38:12 -0500 Received: from mail.kernel.org ([198.145.29.136]:53822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946655AbcBROiC (ORCPT ); Thu, 18 Feb 2016 09:38:02 -0500 Date: Thu, 18 Feb 2016 08:37:57 -0600 From: Rob Herring To: Amitkumar Karwar Cc: linux-bluetooth@vger.kernel.org, Nishant Sarmukadam , wnhuang@chromium.com, devicetree@vger.kernel.org, Cathy Luo , linux-kernel@vger.kernel.org, Xinming Hu Subject: Re: [PATCH v4 2/3] mwifiex: parse chip specific gpio from device tree Message-ID: <20160218143757.GW9654@rob-hp-laptop> References: <1455614079-4263-1-git-send-email-akarwar@marvell.com> <1455614079-4263-2-git-send-email-akarwar@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455614079-4263-2-git-send-email-akarwar@marvell.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 16, 2016 at 01:14:38AM -0800, Amitkumar Karwar wrote: > From: Xinming Hu > > This patch parse chip specific gpio parameter from device > tree. Corresponding binding file is also updated. > > Signed-off-by: Xinming Hu > Signed-off-by: Amitkumar Karwar > --- > v4: Renamed "mwifiex,chip-gpio" to "marvell,wakeup-gpios"(Rob Herring/ > Arnd Bergmann) > --- > .../devicetree/bindings/net/wireless/marvell-sd8xxx.txt | 6 ++++-- Combine this with the DT change in the next patch. > drivers/net/wireless/marvell/mwifiex/sta_cmd.c | 9 +++++++++ > 2 files changed, 13 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/wireless/marvell-sd8xxx.txt b/Documentation/devicetree/bindings/net/wireless/marvell-sd8xxx.txt > index f7671ae..c337fab 100644 > --- a/Documentation/devicetree/bindings/net/wireless/marvell-sd8xxx.txt > +++ b/Documentation/devicetree/bindings/net/wireless/marvell-sd8xxx.txt > @@ -11,7 +11,9 @@ Optional properties: > - marvell,caldata* : A series of properties with marvell,caldata prefix, > represent Calibration data downloaded to the device during > initialization. This is an array of unsigned values. > - > + - marvell,wakeup-gpios : Chip's wakeup gpio pin number. This needs to be downloaded > + to to firmware. Chip notifies wifi wakeup signal to SOC > + through this pin. This is still confusing that it is not a GPIO from the host. I'd suggest "marvell,wakeup-pin"