From patchwork Fri Dec 8 10:37:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 10102249 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 DCCA460360 for ; Fri, 8 Dec 2017 10:38:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0611F28A9B for ; Fri, 8 Dec 2017 10:38:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEE9A28A9E; Fri, 8 Dec 2017 10:38:07 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 80FCB28A9B for ; Fri, 8 Dec 2017 10:38:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753019AbdLHKiF (ORCPT ); Fri, 8 Dec 2017 05:38:05 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:40794 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753260AbdLHKiB (ORCPT ); Fri, 8 Dec 2017 05:38:01 -0500 Received: by mail-qt0-f194.google.com with SMTP id u42so24863610qte.7 for ; Fri, 08 Dec 2017 02:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openmesh-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eUlkxLMFyhygyNlQQI/xku03o7KGk7cTTkVrDEK9Cqo=; b=JQC7RcOQFKdDj1cBw+oT5B8ryPpDufxhK9H94Sq0QfF0Wgqeprmfux/H9bq+OknFCE KvqBDWElAN9vuASRkHenF1gOei7kcJ5dO9AqF5mc7rpfowGs9OuLXqG35up1OlTWKsCb g8/+0vUiAcEpIRibojy3FuXgRQQC2Xl/E6XQhA0JjXgymWowgzv5m5FGbeDrlD+CkbAX S8T27WmKopR8beejh0y8mUj6hEWw7rYTj2dyBM8JX2YGOs9fxKY1D2Cw7OqStTLSbQ06 NNEuaaWIwfgSmHREPTHRJBmnos2WS6djgHzNYTc1mV30ocqlcsHg/G6YRVGSHPt5zQWu 5PAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eUlkxLMFyhygyNlQQI/xku03o7KGk7cTTkVrDEK9Cqo=; b=qBMnkem90D5LksPNv6AuKyIT4VFLZOUfzTFog93eRhUCW/j0c0Nd8W+uwMd6Wj9rku M0mfzTIPFJb8oWIZU+h5y8RqJDGjOh0jSIjRuzjUPtO0A/4lDBsFiAAPPCfkb73JzIUA mkWBBVAE7DrXE2mInuVS7SBT1muIKjm9pSw98Eg+4dXmIO2omkeqWuyl4A3sLL/FO5qi /zx+eVLS13KvhzgXtjbSb0VJ7d9ApeZgiyOtSJkv5T36Gw7ilWF+Rt7I9dFPVzpwxbz3 aD/gHolul6Q5fKVczunP8UbltRL9lFoh+MEsOqrqmr8PKZPH6uyp/JOGjZnAE2EOB2hx bM0w== X-Gm-Message-State: AKGB3mLBw4TrbqiC2tSxRaG8p2cnNS2bUlyjoTnXK1S7Jzv2Kq1To9Lz l1wMBQ3qLarPOhAqkllHFpLZbw== X-Google-Smtp-Source: AGs4zMYEVS4yOMc41S2tW6CrLUxhR7PQZuGYLPE51kMo9ZzmZllArMUVhw6YKKiANiNXaZWAfVdhrw== X-Received: by 10.55.78.136 with SMTP id c130mr35639626qkb.156.1512729480461; Fri, 08 Dec 2017 02:38:00 -0800 (PST) Received: from sven-desktop.home.narfation.org (p2003007C6F5155EE36632B7A6E5F73C2.dip0.t-ipconnect.de. [2003:7c:6f51:55ee:3663:2b7a:6e5f:73c2]) by smtp.gmail.com with ESMTPSA id l9sm5926264qkh.2.2017.12.08.02.37.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Dec 2017 02:37:59 -0800 (PST) From: Sven Eckelmann To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, ext.waldemar.rymarkiewicz@tieto.com, kvalo@codeaurora.org, Sven Eckelmann Subject: [PATCH v2 1/2] dt: bindings: add new dt entry for ath10k calibration variant Date: Fri, 8 Dec 2017 11:37:41 +0100 Message-Id: <20171208103742.3181-2-sven.eckelmann@openmesh.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171208103742.3181-1-sven.eckelmann@openmesh.com> References: <20171208103742.3181-1-sven.eckelmann@openmesh.com> 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 The bus + bmi-chip-id + bmi-board-id is not enough to identify the correct board data file on QCA4019 based devices. Multiple different boards share the same values. Only the original reference designs can currently be identified and loaded from the board-2.bin. But these will not result in the correct calibration data when combined with the pre-calibration data from the device. An additional "variant" information has to be provided (via SMBIOS or DT) to select the correct board data for a design which was modified by an ODM. Signed-off-by: Sven Eckelmann Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index 74d7f0af209c..3d2a031217da 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -41,6 +41,9 @@ Optional properties: - qcom,msi_addr: MSI interrupt address. - qcom,msi_base: Base value to add before writing MSI data into MSI address register. +- qcom,ath10k-calibration-variant: string to search for in the board-2.bin + variant list with the same bus and device + specific ids - qcom,ath10k-calibration-data : calibration data + board specific data as an array, the length can vary between hw versions.