Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1963070ybl; Thu, 19 Dec 2019 05:58:49 -0800 (PST) X-Google-Smtp-Source: APXvYqwfGcHu9Pxx/9dcCGdakZBT4EDgwRhiRbXDb5t6JPoCGEI48/EXz1iBeViBLRsE2Sk5DUZt X-Received: by 2002:a9d:6181:: with SMTP id g1mr9210857otk.104.1576763929685; Thu, 19 Dec 2019 05:58:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576763929; cv=none; d=google.com; s=arc-20160816; b=MJ6xkijTNEBNPs88pV9GEQAXp7ItCttMLUUYRocYRda1QrZIyPPdypMQhvfCaYUZH3 j0nwaKqfptBKlxUK/D8Uej8WhmS/jmv87rIXWoZJP+VafxfRErasH3G8t8fn8mxj/sPC 6wx0TmcSGy+fBt5157YPWK6/dZC7VAGNIpZN/b/Evoy5rpjmV78IsreVWp+S9iQfF6QZ wso5AGovLpvz2YFaGDH/ymK93aI26lce3OsmUQTdkcCSdThGNtQ3/X3moMxjE0mAtPJc b7Ku1WXLfjSU+THNjDgXCCTgaTENUjMhjFCDSI/U73Aae3/7YXmPb/AgAkNqea4dCW9s sCXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=knQ8BbtZGWXKkMaffoS+3toaFwEpjPwu8os3erHK/KQ=; b=CiHVhNPnHBHXGmIFLDDsgJKPeKqZSdjcUNhTTKmJb4rxRm6l6PbHJy0mhxHBMSyzO8 zh+gvLGFshephcldrZ32MRAoLmGeUL4AufryfY6j1XAe5l7apgpKxmaBnDYH8UbeWjz3 g47dyAl5N7rep356KrVp4nO/qgyqi6Ug3AKl67bYmi8CtWrjN+xb+0D3rk4TYr2bkwF4 naXgIedGgkCozOXZQnkgW4/Jx6p4ECCgiGaWHLUSkmUOd8YAq1fN5jvE4p10gaRsSNlk N9N8umsbNjiqLeWiYAZOCXoegaaPzsWaKl8BEUKRU7QZwMCNRobAJqnqYxEKd3qJ4zcp lxvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12si800753otp.106.2019.12.19.05.58.38; Thu, 19 Dec 2019 05:58:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726759AbfLSN5j (ORCPT + 99 others); Thu, 19 Dec 2019 08:57:39 -0500 Received: from nbd.name ([46.4.11.11]:36214 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726712AbfLSN5i (ORCPT ); Thu, 19 Dec 2019 08:57:38 -0500 Received: from pd95fd34f.dip0.t-ipconnect.de ([217.95.211.79] helo=[192.168.45.104]) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1ihwJ7-0000kB-At; Thu, 19 Dec 2019 14:57:37 +0100 Subject: Re: [PATCH 1/2] dt: bindings: net: ath11k: add qcom,board_id definition To: Kalle Valo Cc: Rob Herring , devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, ath11k@lists.infradead.org References: <20191217164329.4151-1-john@phrozen.org> <871rt077d8.fsf@kamboji.qca.qualcomm.com> From: John Crispin Message-ID: <7052d9eb-412e-e802-52ed-2e1d63a65fe5@phrozen.org> Date: Thu, 19 Dec 2019 14:57:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <871rt077d8.fsf@kamboji.qca.qualcomm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 19/12/2019 14:49, Kalle Valo wrote: > John Crispin writes: > >> We need to be able to define what id the board has allowing us to load the >> correct definition data. This patch adds the description of the required >> property. >> >> Signed-off-by: John Crispin >> --- >> .../devicetree/bindings/net/wireless/qcom,ath11k.yaml | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml >> index a1717db36dba..c68daf6ad424 100644 >> --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml >> +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml >> @@ -142,6 +142,11 @@ properties: >> * reg >> * reg-names >> >> + qcom,board_id: >> + $ref: /schemas/types.yaml#/definitions/uint32 >> + description: >> + The board id defining what board definition should be loaded > > I think this needs more discussion. This is very tricky to get right, as > it needs to be extensible and what not. With ath10k we have learned that > a simple integer is not enough. > I was expecting this, there seems to be an option to add ranges and/or enums. I did however fail to find any docs on the schemeas. John