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: 9575831 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 9B9F16045F for ; Wed, 15 Feb 2017 23:52:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D27728590 for ; Wed, 15 Feb 2017 23:52:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80F2A2859B; Wed, 15 Feb 2017 23:52:28 +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 2399728590 for ; Wed, 15 Feb 2017 23:52:28 +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=FUX/JCUKBMzg4v JLIcaDLQFlDPI/ABfYYkopTMT73xDWJ4T2nWt8XeXErdnh+pDsfUjj/Myt8fvMyfTogNC7OsQDTU9 4gG6I4JPO3+Dhms0UHiD4Cs/PHAD8xcGUS4s8MhY06+lyY82rvuxx7SY062vXYZG5YZ1v8DVvbaIZ AwmbTk47UEdkmo0gEEBqWKt5CM5youLbDgFwiN+VWzERhW70sTK/iD+TGC5pNSuRrq61YEtSDw6lT gen5S4kM8maWjzuUAwBU+Tks0j/Hj5IzDaOsJeC+GCJ2abhlueWVTlvJWlaUyAJT7fUrq1nApfwnR sVxtScLq3WATVsk7GpwQ==; 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 1ce9Mw-0003Ew-RC; Wed, 15 Feb 2017 23:52:18 +0000 Received: from wolverine02.qualcomm.com ([199.106.114.251]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ce9Mt-0003DY-Bl for ath10k@lists.infradead.org; Wed, 15 Feb 2017 23:52:17 +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=1487202735; x=1518738735; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=jO2ZP8tXGLOOpKFUDx8T8156dMhutl86g2MMBAw2Nnw=; b=y9sYuMinelkLEIv50O1PhAVj/y88qE/bt7quBbW8c8Lfvdv01zglIfjB kZuNDbbCMlzvIAwUH4QNn5WGdHRt6+6YzOg+P4i2arsgN8gfekwWvjQ4H oUm4qXGaanFxMDF69KzyjJnh9rwoJy/sZzv1AQdOuynYt8xuiiL6xMzos I=; X-IronPort-AV: E=Sophos;i="5.35,167,1484035200"; d="scan'208";a="358618304" 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: , 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) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170215_155215_556144_486154CC X-CRM114-Status: UNSURE ( 6.93 ) 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, }, {