Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4754966pxb; Tue, 5 Oct 2021 09:38:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3ISSx3LYxDtVxJbrB1o7liORMJCMTObhsZwl0X+vOhLxLImWGZj1f3YteMMsHxx6VvIXU X-Received: by 2002:a17:906:5282:: with SMTP id c2mr26683638ejm.162.1633451885587; Tue, 05 Oct 2021 09:38:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633451885; cv=none; d=google.com; s=arc-20160816; b=nEzUXNCEyU2FQIm1gzo6GW9tYAh9Ud1uJcrVNGuK13Nrr7RP369xtmNJM5/lmClUsk do2rykiBNhPbaY9+Mj/UlymZEdaKoUtvuL+3YVUIlT6OMbxnhkXpPg1tSKeFKF1m6wkf Qs8nlVo+1QZ767JxuliWXupjs/qa/IOji3CpvXxna3p/cz0Dj+DOfT9tsQW+EZxHfHVj CiSofNpS6+REkztcZZXEV0YpsoLkhPmNY053j8izk74jj5A5gah7he19IKMnQcA6GNMs sm8oyMYC+Ic9XEaDMoPZSqGFkhI4ZdJ9OrTuh91CNtRd5s3NdYnbHMJXTDAdsPfUWEX9 AXRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=y0SsIWYqbzopFsHa7tZL/jok0edrLRhla6gdmv7fCSQ=; b=F1y6pWnemKVRzRJN1zbvrQJdZXMVw0O4CbF1M2BeO2jIhnNNGqe6bQAwBaDBS+AO6J 1DV5EMBm7sS2IVBBiBWo93pd0vqxslBiOH7e96hGPLB+UqMserIcDiSjcbLS5+kolGUV D8fJa69bMamlKIYt1BGtIguADClaq0Y93X5gxq+UKRaEMhKDBR7HuUsGLVyce7iptR3g z8wAr6EYw6IctmLgNO1/cxKRtj6I7cDIgQU+kyO+6IfxlfhlkXRkOBBJQYxAgPl84XTf BnhXFdUWPYLvQ9g8pr9Y106OusgrlZdwTgk5V59FEVr0LYGv5yRu0E5CD7g8r6hiwfyv cqXg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z20si10067057edi.541.2021.10.05.09.37.42; Tue, 05 Oct 2021 09:38:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236550AbhJEQi1 (ORCPT + 75 others); Tue, 5 Oct 2021 12:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236537AbhJEQi0 (ORCPT ); Tue, 5 Oct 2021 12:38:26 -0400 X-Greylist: delayed 1686 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 05 Oct 2021 09:36:35 PDT Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D3E5C061749; Tue, 5 Oct 2021 09:36:35 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.94.2) (envelope-from ) id 1mXmzM-0004zU-Ko; Tue, 05 Oct 2021 18:08:21 +0200 Date: Tue, 5 Oct 2021 17:08:05 +0100 From: Daniel Golle To: Felix Fietkau Cc: linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, Ryder Lee , Lorenzo Bianconi , Matthias Brugger Subject: Re: [PATCH 2/2] dt: bindings: net: mt76: add eeprom-data property Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, Sep 24, 2021 at 07:14:47PM +0200, Felix Fietkau wrote: > > On 2021-08-25 03:33, Daniel Golle wrote: > > EEPROM data for mt76 can be embedded into device-tree as an array. > > > > Signed-off-by: Daniel Golle > > --- > > .../devicetree/bindings/net/wireless/mediatek,mt76.yaml | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > > index 3e2c2e43175e5..1489d3c1cd6ec 100644 > > --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > > +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > > @@ -47,6 +47,11 @@ properties: > > > > ieee80211-freq-limit: true > > > > + mediatek,eeprom-data: > > + $ref: /schemas/types.yaml#/definitions/uint32-array > Given that the driver patch simply uses memcpy on the data, shouldn't we > use an uint8-array here? When using the /incbin/('file.bin'); syntax the result is included as what appears to be a uint32-array when decompiling again with dtc.