Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1900074pxb; Fri, 24 Sep 2021 14:48:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK3LhXussyKnBpqS2iRZnGMqCiLc+KJo2UiQLHdimiEvW6UsaofCyuV+xh+k+2FU4O2j+4 X-Received: by 2002:aa7:c5d5:: with SMTP id h21mr7633114eds.233.1632520124215; Fri, 24 Sep 2021 14:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632520124; cv=none; d=google.com; s=arc-20160816; b=KlhR8GbIn0gljnzIFRmrM9FWRUwq4LGKNd1meAA0XH2eTrXu37IJkBXi+eDGC9u5ff e4nNgcBIQ2a3QWb7WZo1o4GExmP+RXUrLuYd59myIFMS49Thk6fp5+coKEwd0dg5zuKa dX418cVH1j3XyQj8o4Op/pMSRRRi1OKGwO5JB6NbSEo9gFNj2PkDfbCnXFhZgcRtSI8Q ORWhRg8luzqVpHdykkv19w16jx5eUgh6AkjCx23pr2k4t4BxliIiYpdsQY4k+RvYDexM U3+aBiBsQTUTdog06yOpEVBMZD2719nvn0HWUoYBeCKrnVbwoyRau3f3aWtkFh1Wldng n0Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=5ruyZhY+uNqQtF8QASCLFU3+MFMaR3UtIQqWOeM4Yos=; b=o6bOIkxMN+ngh1/CbUoE0bOM6UhmvPaNYanrAFYK/oqQ2FGPuioriKfYA4qAefZN0r 7pElz/a11vgEYbTFPWH7bdvZxPLvV9BJ2cXR0m0HydGFU1sKyxqGHwtUT232d6gp6vCV AzEcOVJJY//ZvJKWT9Bj7vCko5rT13keT6nG2dR1spAHkf2Y3CWHU4Bii4Zp0IJNLRc0 bQ2mBioxO32AjeG6m0qR//ntIUAmTNScl4jZMskimmBxMHyBWZyhr5pzMdm2GJTNabLU J3zOBcc7nZz9GfhHMI/ZIX8tiuKZ7PocGwEoU1TTHbB4mALWEY3jO/0+afgZuw7eUeDB koHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=t9Zdmp3x; 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 6si1432359edv.293.2021.09.24.14.48.23; Fri, 24 Sep 2021 14:48:44 -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=fail header.i=@nbd.name header.s=20160729 header.b=t9Zdmp3x; 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 S1344050AbhIXRQ3 (ORCPT + 78 others); Fri, 24 Sep 2021 13:16:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244773AbhIXRQ2 (ORCPT ); Fri, 24 Sep 2021 13:16:28 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BEF1C061571; Fri, 24 Sep 2021 10:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5ruyZhY+uNqQtF8QASCLFU3+MFMaR3UtIQqWOeM4Yos=; b=t9Zdmp3xAYoNU5cHTE5ni3/dG6 YsCG07Nce54lV3wKGf/NRHBz43tJsIYm+0d61quRVfSU+Gaaw7QL0/g+rNW4zcd6DY0nAdSiurP6d 9lMTtmfN4V3PEdPu5zZ3ykspxqFdUgMt4rtsqKTkoVFRAVvozOXATlMTikFlp2fmbnM4=; Received: from p57a6fa93.dip0.t-ipconnect.de ([87.166.250.147] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1mTomd-0003r9-Sa; Fri, 24 Sep 2021 19:14:47 +0200 Subject: Re: [PATCH 2/2] dt: bindings: net: mt76: add eeprom-data property To: Daniel Golle , linux-mediatek@lists.infradead.org, linux-wireless@vger.kernel.org, devicetree@vger.kernel.org Cc: Ryder Lee , Lorenzo Bianconi , Matthias Brugger References: From: Felix Fietkau Message-ID: Date: Fri, 24 Sep 2021 19:14:47 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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? - Felix