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: 10722163 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 05740112E for ; Mon, 10 Dec 2018 18:33:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC1442B085 for ; Mon, 10 Dec 2018 18:33:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA6C12B07E; Mon, 10 Dec 2018 18:33:25 +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 91EFB2AFB0 for ; Mon, 10 Dec 2018 18:33:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727635AbeLJSdY (ORCPT ); Mon, 10 Dec 2018 13:33:24 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40332 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbeLJSdY (ORCPT ); Mon, 10 Dec 2018 13:33:24 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 70B1E61493; 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 Cc: linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, Bhagavathi Perumal S 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 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. 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(-)