From patchwork Mon Dec 10 18:31:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhagavathi Perumal S X-Patchwork-Id: 10722177 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 0A3D0159A for ; Mon, 10 Dec 2018 18:34:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF4D92A588 for ; Mon, 10 Dec 2018 18:34:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E343F2A59F; Mon, 10 Dec 2018 18:34:05 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 9307B2A588 for ; Mon, 10 Dec 2018 18:34:05 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=+t23Ik9RVhVuapPbP+dn1cJj/QKo0I/DP/C+JqO2o7A=; b=TEY E1aYEbHcCjzGKjvmFuS5bJRZW8uq5vUhO/+lJI7pJNNPjgyg6LrQHOjtinlT5kXKivS9aqDhTYLlT FgidsotSgCE6LZhh2vTZK9cWf9b1Vmq4/PmDUUyg6j+hpi/dMRundmFIcR1Am/6V9rSWOeBDgK0HV GzYY3EQB+RHkcn5sbk/rTllXYo926J8MrwuAp67fuk7p7sPVyByp4qPbBjgG/KYqwR8ArcziSwL/q taXT0UgdGCmBKBQdDIQEPp4hERNP2b51//kiyvsixD8Abr/AWeeyEsiKF7+wxyMhx/9cTMV+SoazL zDoXpwoKgq1LmXP83j2YbJXpCHMSHyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWQNV-0007wJ-CZ; Mon, 10 Dec 2018 18:34:01 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWQN4-0007Ta-Vu for ath10k@lists.infradead.org; Mon, 10 Dec 2018 18:33:57 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 813616145B; Mon, 10 Dec 2018 18:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544466803; bh=rp85zFrM9h04F/NBT49kJMDBMx25iwdC30egTeXwNwQ=; h=From:To:Cc:Subject:Date:From; b=R+K3C9Q9XE46CplGNa0rRpW8tK/SLG7S2BDptS63LTxXXyGDm6hUB0c2v6WwfIbfO qh+DMFntT9dDmlCS0A6c7gwBIkur9EyPIM5GDLCZLcPiO1eA0GuddDftKqJ6rzB66w NHhSWwPePOsDn7RbL/26+qv3AT9t5w90FogXvM2k= Received: from localhost (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: bperumal@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 799CE6147D; Mon, 10 Dec 2018 18:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544466802; bh=rp85zFrM9h04F/NBT49kJMDBMx25iwdC30egTeXwNwQ=; h=From:To:Cc:Subject:Date:From; b=NlExte1hXGxOuhcb0tOj7CkStSt+F/PeSB/brHgyQhCDaqgnB23Kf7MTCZEAXn61C UHmWXd5tuuEN4qKia8o7tK3J8o4gDEcC3H+9U/1/q0DZReWqo3pQ4gXJSFec38z0kX hTSk2JcRnpp36dMZY0Ybawrf4hngrI8ygMKUl4hw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 799CE6147D 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=bperumal@codeaurora.org From: Bhagavathi Perumal S To: ath10k@lists.infradead.org Subject: [PATCH v3 0/3] ath10k: Add support to configure BB timing for external FEM Date: Tue, 11 Dec 2018 00:01:28 +0530 Message-Id: <1544466691-11821-1-git-send-email-bperumal@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_103335_630918_F96BEDF5 X-CRM114-Status: UNSURE ( 7.72 ) 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: devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, Bhagavathi Perumal S MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds support to choose correct Base Band(BB) timing values based on the input Front End Module(FEM) hardware name from Device Tree entry and configure it in hardware through WMI interface. Since the BB timing values can vary between FEM hardwares and not same as default value used in reference hardware. Bhagavathi Perumal S (3): dt-bindings: net: ath10k: fix node name and device type in qcom ath10k example dt-bindings: net: ath10k: add new dt entry to identify external FEM ath10k: Add support to configure BB timing over wmi v2: Addressed review comments in dt: * Fixed node name and device type with new dt patch "dt-bindings: net: ath10k: fix node name and device type in qcom ath10k example". * Changed the dt patch subject to "dt-bindings: net: ath10k: add new dt entry to identify external FEM". * Added new property in existing example. * Enumarated some valid FEM names. v3: Addressed review comments in valid fem names. .../bindings/net/wireless/qcom,ath10k.txt | 12 ++++-- drivers/net/wireless/ath/ath10k/mac.c | 47 ++++++++++++++++++++++ drivers/net/wireless/ath/ath10k/wmi-ops.h | 20 +++++++++ drivers/net/wireless/ath/ath10k/wmi.c | 23 +++++++++++ drivers/net/wireless/ath/ath10k/wmi.h | 26 ++++++++++++ 5 files changed, 125 insertions(+), 3 deletions(-)