Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5652224rwr; Tue, 9 May 2023 04:44:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6b4YXymEpZlf7Pj7a5rWpWG9lxBbcdno1dFCfyOoRLAHYJviyYM7B7FIqKvQboll+WbZ1O X-Received: by 2002:a05:6a20:8e1d:b0:101:47d8:ff86 with SMTP id y29-20020a056a208e1d00b0010147d8ff86mr2382443pzj.34.1683632663942; Tue, 09 May 2023 04:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683632663; cv=none; d=google.com; s=arc-20160816; b=u0zhng3lWPJoDdhSpgP0PeeoqO1MeSC+2S6eCK5HK0T2yEff8xxTGKEJaRZgrnDabV UZqPGyNgKGBJ6VLU6kIEscp2rt3hVrCvt1hLgFJ0mowT2WDIGjBNvKXyAmswKWdoHUli ZWTJbdM4gk+NraKJQBETd8wLKt1YX+HbF/xhPkBS9pyrJTFu5U5pIpnLlAC5Vi8BfxTk WQbkveyb5+dixAKtmGKTXoAz54g19eXauRT2DIPmiXnL7EBJoZDgPGC+R/T6kTS5PXIz rAbsEFIoWNa2U6O2jwvvXRLTbfnG0ZaG/peTl/mW+MBsQvuek+NDnJux2ReOwBSW+aGj JyfQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aQ9PB/UjgQdEomLsQFjCrSpNBCkBCgqrAFyhnpB0P5Q=; b=HX5tfmYIRIgguryjyjBu4W7pYr3Nan8H+49baypeoZ2/fp5dhZ51nvRoK6yI6CW2DB UVqzk6hPXfy/x7LMPjYZcttuAX+jOOEl9dhg/MUS6sc6YK+m3xGV9WOA+NUidiHW8n7x dsMunrQY5hYL+hT7pO7XM2rdF7SJi3E/3v6VcWNLZ54iWzGtBSsXgHEpr381nuEo71XZ zSW78OSnbV5JzNTYq+5wEGFBHG6MVIFtduFLcf6KU4L8uw/jbjAY5t58mnDyLZAeXEGw O8wfmFeqcJP8zGW1poHEyjlX/2YP4XMxj4KJlV43KCPRGWUgelfIdHCG+zPo/ccRsh1p JQEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=AGmJEnX5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bu17-20020a632951000000b005303d78c47asi1114983pgb.726.2023.05.09.04.44.11; Tue, 09 May 2023 04:44:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=AGmJEnX5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235529AbjEILfc (ORCPT + 99 others); Tue, 9 May 2023 07:35:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234299AbjEILfY (ORCPT ); Tue, 9 May 2023 07:35:24 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 110A12D58; Tue, 9 May 2023 04:35:22 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4efe8b3f3f7so6555112e87.2; Tue, 09 May 2023 04:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683632120; x=1686224120; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aQ9PB/UjgQdEomLsQFjCrSpNBCkBCgqrAFyhnpB0P5Q=; b=AGmJEnX5lM99SSQkFuTItq4ndHX2KRpXyqZvV0gG2r8ACzzjDEUaMa9gGMcROf1TdF FwUqjU7T0m6o6qMrqVrDjrvmtotNEkJRFsTKldLFyJHw8y20SkkoNZNmttmBkkeVC534 MYFi15xzLOwd/yuV0Moral/BgTbCAWCKRqFsWSzog/WqeGJzorm4TX1WtfL5sij1fdT8 bp+mpdyipj2Kdm75szKLNI80mOz8zdf3qcOphWXTlTXLlIUNBzFe7U2g5LVkvYWf3bhO uph4mNsQYNl+bylVL0YS+1l+23S7iCUqBHO/dHGLoTnhtzGFm8Kn9CmyakMjHwGo3Pr2 7q0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683632120; x=1686224120; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aQ9PB/UjgQdEomLsQFjCrSpNBCkBCgqrAFyhnpB0P5Q=; b=FyVTtPi7rpHlEA2E3SvIS2ALUb9zPIEkxmp9SemYdGAxWrAVQqWlQxaUkxs4edXutB wE8wSNOXVuu7s4cEFqS+yQqVHGU9pUTexyWQCT1onXSadgWeW09s/36LB5K6X6ZwgS+u QWwqnHvgGylfahvaH2WnN7Sx6w/n51OrSU47GAzbarDLTVTg4bxMUJavd/RlVTaeGnXC XXNWpqcvMPACaO5n9PuBmE0Kfxs6El8MzcmTRlz7XC2OChfrX+N2VHtN9lnuzrLjWyCM 8gHD1D3GEI7qOtybdMpPQNk74vKHpet5/iXq/XndkULK9qotmToOEkqRSf1On8vk3946 Vdng== X-Gm-Message-State: AC+VfDxLtHTKiGFKKYOTxQWGETDKHSr/hsO2XI3bktYXJMq0SZFbLHeU qQu2ewGIo6/0fH5CBIGIitc= X-Received: by 2002:ac2:5638:0:b0:4f1:26f5:7814 with SMTP id b24-20020ac25638000000b004f126f57814mr649736lff.20.1683632120413; Tue, 09 May 2023 04:35:20 -0700 (PDT) Received: from localhost.localdomain (93-80-66-133.broadband.corbina.ru. [93.80.66.133]) by smtp.googlemail.com with ESMTPSA id k16-20020ac24570000000b004f25ccac240sm108940lfm.74.2023.05.09.04.35.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 May 2023 04:35:20 -0700 (PDT) From: Ivan Mikhaylov To: Samuel Mendoza-Jonas , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Ivan Mikhaylov , Paul Fertser Subject: [PATCH v2 3/5] dt-bindings: net: add mac-address-increment option Date: Tue, 9 May 2023 14:35:02 +0000 Message-Id: <20230509143504.30382-4-fr0st61te@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230509143504.30382-1-fr0st61te@gmail.com> References: <20230509143504.30382-1-fr0st61te@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the mac-address-increment option for specify MAC address taken by any other sources. Signed-off-by: Paul Fertser Signed-off-by: Ivan Mikhaylov --- .../devicetree/bindings/net/ethernet-controller.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index 00be387984ac..6900098c5105 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml @@ -34,6 +34,14 @@ properties: minItems: 6 maxItems: 6 + mac-address-increment: + $ref: /schemas/types.yaml#/definitions/int32 + description: + Specifies the MAC address increment to be added to the MAC address. + Should be used in cases when there is a need to use MAC address + different from one obtained by any other level, like u-boot or the + NC-SI stack. + max-frame-size: $ref: /schemas/types.yaml#/definitions/uint32 description: -- 2.40.1