Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp382017pxu; Thu, 15 Oct 2020 06:27:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0LcWRE9dMRi/8H+leHXD6M2D7hzbCu/SFEsSKtKEEGz68/FUgyJLPFmfPKzEgUbIcM/gD X-Received: by 2002:a17:906:ce21:: with SMTP id sd1mr4562355ejb.4.1602768427346; Thu, 15 Oct 2020 06:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602768427; cv=none; d=google.com; s=arc-20160816; b=Zs0ZIM/yO/Etp7YmhMVvSbmwqNszd6D+kxg/+RfKcSDxZ0mVxCPokjfYcHFgldIgYj rV+3O8fZ+8rWIkTZwKxJE6XZU+2oj2mtY+9jtLAHE57gfBoCe2EHZOrEVnltVqhLGilr ZUNjulUaP7Y4JTCqezL65WskGebhZxtujeKby4fOsdtoGJ2jCNAMQipFbjixpdt9Uf3L PbZSXyjD8Gx6bHSqsZBXJgo7ZKReKV/iCuc0cDYGcFUZ5QPSWN37xF8Co8HzRTudgeS5 g5dxTx8hcRyLweHEYpwLDsDs/1BV23puSMoDnLLPRxKd9dfpBtvczfjcWVh/d9of2s79 wsPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=OtGm/dfhR5/P3i7g9bPbe0G2sAeMsBvVGJxEpCJumWI=; b=kf8uWg8BKJGk0Hs8Nfw2XmzI7qv84dgKx2qSMI2noJgT6LYGUeLVUrdWoV2dmGahCi qC7YmMrnyJPiMxAXZ6j/UTeXom1GXA98LnRvqwKnNSUgyc3VfzzPGNUjXPpNtz7gsUUh B8sv3syhpPEHc3O6KQ49CpBY9konYrDkEj3iuXUhGx1zdmwfWIJwFKBQ+Dd1SsJpCfjd eJ3d2XFrPhv91gxSax9emIvmwDsnx8q0ck5F8C1TvO/pwqVzro/O7mJFIIG9GxdkS9YG TKXPgS10a0H1Efxjkx5THAriNrGyg9zr/pRR2it2dSwcjkqaqxMUIG9xeQfqFTUEvtlH eeMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b=i5HXmdWP; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t24si2138928ejd.39.2020.10.15.06.26.25; Thu, 15 Oct 2020 06:27:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b=i5HXmdWP; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729138AbgJONYf (ORCPT + 99 others); Thu, 15 Oct 2020 09:24:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728639AbgJONYf (ORCPT ); Thu, 15 Oct 2020 09:24:35 -0400 X-Greylist: delayed 546 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 15 Oct 2020 06:24:35 PDT Received: from dvalin.narfation.org (dvalin.narfation.org [IPv6:2a00:17d8:100::8b1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EFC8C061755; Thu, 15 Oct 2020 06:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1602767724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OtGm/dfhR5/P3i7g9bPbe0G2sAeMsBvVGJxEpCJumWI=; b=i5HXmdWP+XlalAt5YZiibjn6udv7Iws/fYElEkwacu9NI37tUdvpcRARcM2RxnEakZKA61 Mds3VWUq/c7kHxaubFcsLdAGdcPD4WETdFW30u9T7KIY9E2VDcKq6ZOqAi+TdZ5EJojVW0 reFOPhne7wK4+mJp970TpEj7z2qVI0Q= From: Sven Eckelmann To: linux-wireless@vger.kernel.org Cc: ath11k@lists.infradead.org, Rob Herring , Kalle Valo , devicetree@vger.kernel.org, Sven Eckelmann Subject: [PATCH 1/2] dt: bindings: add new dt entry for ath11k calibration variant Date: Thu, 15 Oct 2020 15:15:00 +0200 Message-Id: <20201015131501.1939685-1-sven@narfation.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org The bus + qmi-chip-id + qmi-board-id is not enough to identify the correct board data file on IPQ6018 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 to select the correct board data for a design which was modified by an ODM. This follows the same approach as ath10k. Signed-off-by: Sven Eckelmann --- .../devicetree/bindings/net/wireless/qcom,ath11k.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml index 4b365c9d9378..6af999191559 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml @@ -144,6 +144,12 @@ properties: * reg * reg-names + qcom,ath11k-calibration-variant: + $ref: /schemas/types.yaml#/definitions/string + description: + string to uniquely identify variant of the calibration data in the + board-2.bin for designs with colliding bus and device specific ids + required: - compatible - reg -- 2.28.0