From patchwork Wed Feb 15 23:50:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Hsu X-Patchwork-Id: 9575827 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 10C366045F for ; Wed, 15 Feb 2017 23:52:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01272205A4 for ; Wed, 15 Feb 2017 23:52:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5DFD2768C; Wed, 15 Feb 2017 23:52:04 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, 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 7CB85205A4 for ; Wed, 15 Feb 2017 23:52:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754138AbdBOXwC (ORCPT ); Wed, 15 Feb 2017 18:52:02 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:52366 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752505AbdBOXwA (ORCPT ); Wed, 15 Feb 2017 18:52:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1487202719; x=1518738719; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=jO2ZP8tXGLOOpKFUDx8T8156dMhutl86g2MMBAw2Nnw=; b=kWzY9FAcw3KU3mM0R+wsQ4A0kQfNv+6nu+smUI27vannzRhKM3vKYk5T ZTZPG2bxmheCra2IqAA5lHU8T3XDN1Qm1HqGqZ0Yx9dTdpXrr6E7jTUmo F0PHa/CW1C6f8LtoRaqoAgjsqvuw+4H7kBcoNezlvZEtVssvMq7ueOy18 Q=; X-IronPort-AV: E=Sophos;i="5.35,167,1484035200"; d="scan'208";a="358618303" Received: from ironmsg03-lv.qualcomm.com ([10.47.202.181]) by wolverine02.qualcomm.com with ESMTP; 15 Feb 2017 15:51:46 -0800 X-IronPort-AV: E=McAfee;i="5800,7501,8440"; a="28818227" Received: from nalasexr01g.na.qualcomm.com ([10.49.56.53]) by ironmsg03-lv.qualcomm.com with ESMTP/TLS/RC4-SHA; 15 Feb 2017 15:51:46 -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 15:51:45 -0800 From: To: , CC: , Subject: [PATCH 2/2] ath10k: improve the firmware download time for QCA9377 Date: Wed, 15 Feb 2017 15:50:38 -0800 Message-ID: <1487202638-13244-2-git-send-email-ryanhsu@qca.qualcomm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1487202638-13244-1-git-send-email-ryanhsu@qca.qualcomm.com> References: <1487202638-13244-1-git-send-email-ryanhsu@qca.qualcomm.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01C.na.qualcomm.com (10.85.0.83) To NALASEXR01G.na.qualcomm.com (10.49.56.53) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.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, }, {