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: 10710133 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 1DC5A16B1 for ; Mon, 3 Dec 2018 17:35:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B4A82B061 for ; Mon, 3 Dec 2018 17:35:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3E5C2B078; Mon, 3 Dec 2018 17:35:16 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 A5F8B2B061 for ; Mon, 3 Dec 2018 17:35:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726526AbeLCRfW (ORCPT ); Mon, 3 Dec 2018 12:35:22 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:34424 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725897AbeLCRfW (ORCPT ); Mon, 3 Dec 2018 12:35:22 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B39056086B; 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 Cc: linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, Bhagavathi Perumal S 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 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 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(-)