From patchwork Mon Dec 3 17:33:32 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: 10710139 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 6C0DE109C for ; Mon, 3 Dec 2018 17:35:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 573F82B068 for ; Mon, 3 Dec 2018 17:35:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B7552B0D9; Mon, 3 Dec 2018 17:35:32 +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 0149C2B068 for ; Mon, 3 Dec 2018 17:35:32 +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=0qpmNDN9Mpk07HJ9jYSvCh38/cWL6Le5zoSnhmb1upk=; b=b5I 4Gemu65rvS+Ghjw3L6wls+kHZecVXzDg7x38UoetdTqv1ySloKyX4JXOCC6ogU47J9JeDPX7oC79Y 1Y+CQRA7HByaW8nSxAT5ILb15i0LdjvQquokytNJdkQFn9/7mTwjug97bFq1FMvZ5WLlK46E+afmw z5d2To+3xP4yusZfIhOhZNHslihFA8QefpZkP0P6CVVdRumX8xuJs0R5MKqryfXUOgZMfNPAxZnHe aVj36LGqfbZJwZ/Ue4uX58RGXYPBZXpyJbL3VDK3ddpMMgghC5x0c6sORcX/U3iy2/zlTi5Mf3Kn3 iLnWK6RSwDMugawFip6ZzpnBCltcg1g==; 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 1gTs7z-0007YK-Sq; Mon, 03 Dec 2018 17:35:27 +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 1gTs7x-0007Xd-AE for ath10k@lists.infradead.org; Mon, 03 Dec 2018 17:35:26 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A005B60A33; Mon, 3 Dec 2018 17:35:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543858514; bh=mH73NYlasKnezC7wiMH61syseIA2bvMLWm1Z7eg47dc=; h=From:To:Cc:Subject:Date:From; b=E2lLbkr8WPrjx2nqTl7ierzbQ8hZLGKQXKo1wSrs/VLudt9g6sqi8i7gBReDntRJx 0Os0lRdXbYmgLoGCCSn1yilHYxdW4+i3kkaIRAmu8Muoit3PwswKrPCGbGW/WizOOC prqL+MKtQA96Q+18iAAFN71wwKcf2YBmTBkmSkm8= 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 B4D7860247; Mon, 3 Dec 2018 17:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543858514; bh=mH73NYlasKnezC7wiMH61syseIA2bvMLWm1Z7eg47dc=; h=From:To:Cc:Subject:Date:From; b=E2lLbkr8WPrjx2nqTl7ierzbQ8hZLGKQXKo1wSrs/VLudt9g6sqi8i7gBReDntRJx 0Os0lRdXbYmgLoGCCSn1yilHYxdW4+i3kkaIRAmu8Muoit3PwswKrPCGbGW/WizOOC prqL+MKtQA96Q+18iAAFN71wwKcf2YBmTBkmSkm8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B4D7860247 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 v2 0/3] ath10k: Add support to configure BB timing for external FEM Date: Mon, 3 Dec 2018 23:03:32 +0530 Message-Id: <1543858415-23953-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-20181203_093525_374507_C4822BA0 X-CRM114-Status: UNSURE ( 7.57 ) 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. .../bindings/net/wireless/qcom,ath10k.txt | 11 +++-- 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, 124 insertions(+), 3 deletions(-)