From patchwork Thu Feb 16 00:33:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Hsu X-Patchwork-Id: 9576079 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 01FD460493 for ; Thu, 16 Feb 2017 00:35:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E96E72857D for ; Thu, 16 Feb 2017 00:35:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDEF528580; Thu, 16 Feb 2017 00:35:06 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6AF052857F for ; Thu, 16 Feb 2017 00:35:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3ptuR0TUjr3Pg7zdqOcTUc83RUrzNnm+au1fKkz2fak=; b=Kdu9urOPjWr23p puif1/ts3GownwRvJl9wRyFdDxsk2FLpRrbZCz3SKF2HqmBwB/Bf5ulTSATx1/Ai7vEa+DnVTu3+v fPOFFGUTa0x8Lk1X4z0R04fnep+NCZyTi77shmQ3+npNA5VSG+HW27LGHjUI/lsfEvl3cAQPaErd9 gMedxioxt+1qpylYEigQ0esXzu9QjvAE9mlctk25tNWhSuXxo8WeYLShtMior7xqVo3XGob9yBmM2 c3Df7i5nJjBmu2y3jN1R9yUQSVUNtvswkSBraIy8mM1uALNw877qQzuKMbEij0vmtzu1gp0waanrE QHKGrWO6bn5ZvPqqxa1g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ceA2F-000430-7z; Thu, 16 Feb 2017 00:34:59 +0000 Received: from wolverine02.qualcomm.com ([199.106.114.251]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ceA2B-0003cb-CE for ath10k@lists.infradead.org; Thu, 16 Feb 2017 00:34:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1487205295; x=1518741295; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=jO2ZP8tXGLOOpKFUDx8T8156dMhutl86g2MMBAw2Nnw=; b=vCYqXLvkc+uRj3tSbCgZ6Q3AKMC5ltjzVALbJMza/9WkaXv3PclHC4BA VxcHW9H5L8l5iZc7zD8nUWKNlKzCTkeTXrdXVVT+3lqunOv4+8L7KKgZh OobtdTDQNjbctmDXZ1syAIZ2vD+iT/hAPbgLl4EEry0D3QOqVnA1lteWf o=; X-IronPort-AV: E=Sophos;i="5.35,167,1484035200"; d="scan'208";a="358628498" Received: from ironmsg03-lv.qualcomm.com ([10.47.202.181]) by wolverine02.qualcomm.com with ESMTP; 15 Feb 2017 16:34:28 -0800 X-IronPort-AV: E=McAfee;i="5800,7501,8440"; a="28818398" Received: from nalasexr01g.na.qualcomm.com ([10.49.56.53]) by ironmsg03-lv.qualcomm.com with ESMTP/TLS/RC4-SHA; 15 Feb 2017 16:34:27 -0800 Received: from ryanhsu-linux2.qualcomm.com (10.80.80.8) by NALASEXR01G.na.qualcomm.com (10.49.56.53) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 15 Feb 2017 16:34:27 -0800 From: To: , Subject: [PATCH v2 2/2] ath10k: improve the firmware download time for QCA9377 Date: Wed, 15 Feb 2017 16:33:30 -0800 Message-ID: <1487205210-17112-2-git-send-email-ryanhsu@qca.qualcomm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1487205210-17112-1-git-send-email-ryanhsu@qca.qualcomm.com> References: <1487205210-17112-1-git-send-email-ryanhsu@qca.qualcomm.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01B.na.qualcomm.com (10.85.0.82) To NALASEXR01G.na.qualcomm.com (10.49.56.53) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170215_163455_534155_5A31EA87 X-CRM114-Status: UNSURE ( 6.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ryanhsu@qca.qualcomm.com, lenb@kernel.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ryan Hsu QCA9377 is the family of QCA61x4 which shared the same procedure to enable the hardware clock that could improve the firmware download time. Signed-off-by: Ryan Hsu --- drivers/net/wireless/ath/ath10k/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index c6de267..91e2731 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -282,7 +282,9 @@ .board_size = QCA9377_BOARD_DATA_SZ, .board_ext_size = QCA9377_BOARD_EXT_DATA_SZ, }, - .hw_ops = &qca988x_ops, + .hw_ops = &qca6174_ops, + .hw_clk = qca6174_clk, + .target_cpu_freq = 176000000, .decap_align_bytes = 4, }, {