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: 9576075 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 F0D2360493 for ; Thu, 16 Feb 2017 00:34:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E43942857B for ; Thu, 16 Feb 2017 00:34:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8E222857F; Thu, 16 Feb 2017 00:34:44 +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 843D52857B for ; Thu, 16 Feb 2017 00:34:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753794AbdBPAeh (ORCPT ); Wed, 15 Feb 2017 19:34:37 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:44045 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753249AbdBPAef (ORCPT ); Wed, 15 Feb 2017 19:34:35 -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=1487205275; x=1518741275; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=jO2ZP8tXGLOOpKFUDx8T8156dMhutl86g2MMBAw2Nnw=; b=fu3xrmp3a1GCyJwxpJQVxs1UHffPdNfkVDT6G9fo+SStGq1OMTAd72oD eaprihKs6L/yh2mJpOB26owN4wTuLEhnyAxJuhTyaJwbNzOqcwhQKZlky IvBFUZOG4e/xeG85aZRBtnUjS/ynd3lWcIS9jPZ424MWs044vYJht4WPG k=; X-IronPort-AV: E=Sophos;i="5.35,167,1484035200"; d="scan'208";a="358628497" 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: , CC: , 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) 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, }, {