From patchwork Thu Aug 23 11:29:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balakrishna Godavarthi X-Patchwork-Id: 10573725 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6C15014BD for ; Thu, 23 Aug 2018 11:29:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D1FF2B5F8 for ; Thu, 23 Aug 2018 11:29:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5112C2B601; Thu, 23 Aug 2018 11:29:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6CE42B5F8 for ; Thu, 23 Aug 2018 11:29:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727285AbeHWO7L (ORCPT ); Thu, 23 Aug 2018 10:59:11 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45658 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726246AbeHWO7L (ORCPT ); Thu, 23 Aug 2018 10:59:11 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9306960116; Thu, 23 Aug 2018 11:29:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535023794; bh=KOfShrouAh0o3MPquD80QsV3JNp3+ysEbChYR76+9Vg=; h=From:To:Cc:Subject:Date:From; b=kcM7fqDLBu6SRn1O+Y1mL9OZBA63dpeJRAxhzbfYLDKHT3FxFw9LymYF9CbVjkSIo SROCj3Wsx8vyaPYRsSnCMGAK/zX5MYdFtVDjIlFFoLQxtThR61Z7+I6V1feWSih1Zo g7eYWoVUqieWjNND2SPHF32QL7+0ANYSpP3RoWVA= Received: from bgodavar-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bgodavar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6D0D160227; Thu, 23 Aug 2018 11:29:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535023794; bh=KOfShrouAh0o3MPquD80QsV3JNp3+ysEbChYR76+9Vg=; h=From:To:Cc:Subject:Date:From; b=kcM7fqDLBu6SRn1O+Y1mL9OZBA63dpeJRAxhzbfYLDKHT3FxFw9LymYF9CbVjkSIo SROCj3Wsx8vyaPYRsSnCMGAK/zX5MYdFtVDjIlFFoLQxtThR61Z7+I6V1feWSih1Zo g7eYWoVUqieWjNND2SPHF32QL7+0ANYSpP3RoWVA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6D0D160227 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=bgodavar@codeaurora.org From: Balakrishna Godavarthi To: marcel@holtmann.org, johan.hedberg@gmail.com Cc: mka@chromium.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, Balakrishna Godavarthi Subject: [PATCH v1 0/1] Cold on & off support for Qualcomm BT chip wcn3990. Date: Thu, 23 Aug 2018 16:59:34 +0530 Message-Id: <20180823112935.17342-1-bgodavar@codeaurora.org> X-Mailer: git-send-email 2.17.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch will power off regulators while hci0 down and turn on them back on hci0 up. Every time we power off we call proto specific close function, so that we will free the memory of Qualcomm BT specific buffers. Will call proto open to assign the memory and turn on the regulators, before calling qualcomm setup. Balakrishna Godavarthi (1): Bluetooth: hci_qca: Add poweroff support during hci down for wcn3990 drivers/bluetooth/hci_qca.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)