From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail25.static.mailgun.info ([104.130.122.25]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ihwBV-0004FQ-IW for ath11k@lists.infradead.org; Thu, 19 Dec 2019 13:49:47 +0000 From: Kalle Valo Subject: Re: [PATCH 1/2] dt: bindings: net: ath11k: add qcom, board_id definition References: <20191217164329.4151-1-john@phrozen.org> Date: Thu, 19 Dec 2019 15:49:39 +0200 In-Reply-To: <20191217164329.4151-1-john@phrozen.org> (John Crispin's message of "Tue, 17 Dec 2019 17:43:28 +0100") Message-ID: <871rt077d8.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: John Crispin Cc: devicetree@vger.kernel.org, Rob Herring , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org 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. -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k