Return-Path: Date: Mon, 19 Dec 2016 16:04:28 -0600 From: Rob Herring To: Rajat Jain Cc: Mark Rutland , Marcel Holtmann , Gustavo Padovan , Johan Hedberg , Amitkumar Karwar , Wei-Ning Huang , Xinming Hu , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, Brian Norris , rajatxjain@gmail.com Subject: Re: [PATCH 3/3] Bluetooth: btusb: Configure Marvel to use one of the pins for oob wakeup Message-ID: <20161219220428.sn7pspjlss2w2rqb@rob-hp-laptop> References: <1481742779-15105-1-git-send-email-rajatja@google.com> <1481742779-15105-3-git-send-email-rajatja@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1481742779-15105-3-git-send-email-rajatja@google.com> List-ID: On Wed, Dec 14, 2016 at 11:12:59AM -0800, Rajat Jain wrote: > The Marvell devices may have many gpio pins, and hence for wakeup > on these out-of-band pins, the chip needs to be told which pin is > to be used for wakeup, using an hci command. > > Thus, we read the pin number etc from the device tree node and send > a command to the chip. > > Signed-off-by: Rajat Jain > --- > Note that while I would have liked to name the compatible string as more > like "marvell, usb8997-bt", the devicetrees/bindings/usb/usb-device.txt > requires the compatible property to be of the form "usbVID,PID". > > .../{marvell-bt-sd8xxx.txt => marvell-bt-8xxx.txt} | 25 ++++++++- Acked-by: Rob Herring > drivers/bluetooth/btusb.c | 59 ++++++++++++++++++++++ > 2 files changed, 82 insertions(+), 2 deletions(-) > rename Documentation/devicetree/bindings/net/{marvell-bt-sd8xxx.txt => marvell-bt-8xxx.txt} (76%)