Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76A1AC67871 for ; Fri, 13 Jan 2023 16:47:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2D0BA8529D; Fri, 13 Jan 2023 17:47:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 330D085368; Fri, 13 Jan 2023 17:47:56 +0100 (CET) Received: from mail-oa1-f41.google.com (mail-oa1-f41.google.com [209.85.160.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CF16184B51 for ; Fri, 13 Jan 2023 17:47:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=robherring2@gmail.com Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-1322d768ba7so22855031fac.5 for ; Fri, 13 Jan 2023 08:47:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qcrFc4jdvlDwh9W9dFniLVotEshlIzTbEVTh7avnPjU=; b=OkHXzw2Fm3wd5Y7zPQihL+/fLavR/eoKgfOJVs02D7Ztt/BqdO4yb9WfrhhdjsCAaX 2q9vbr1Jh9wrJyNTydG976G1HlilJHbnMA2OcpkQUJAoSxa4HvFGZHubus+T9zBzf62+ nSQyUn2AWoMpR6bJsPSMQtmNQ7nabZD6FmxdWB4uo6I8VAdGWN4pgBYCrLt4+VoJRXOy SN+/KdjqUx4R3Gf3t/t7YKaY9heC6bMLnHl4W6qPQHGokOZyOF04EhaxFNeGEId6PETt CBLGu7yA//66T8yKN8J7NDPl42RSW+XX0ISqftA6Aum51VLZabBQOa35hsO5Xnegt9eb fkoA== X-Gm-Message-State: AFqh2kryfWKEEBzpk6bdojec9QtOO3HfZ2nsQbJi6jTfDvpoqGe5XI/H fGco5goaeBhd77KFb/D+qQ== X-Google-Smtp-Source: AMrXdXv+k98p64UgHJm4EP5V4/yJKF55uhIGbsy/sWBBjdpj1YQAUec/vQvkLdsRb85rPqzUQqOsWA== X-Received: by 2002:a05:6870:d79f:b0:158:450f:1cc1 with SMTP id bd31-20020a056870d79f00b00158450f1cc1mr11184186oab.45.1673628472454; Fri, 13 Jan 2023 08:47:52 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id er14-20020a056870c88e00b0013bc40b09dasm10676115oab.17.2023.01.13.08.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 08:47:52 -0800 (PST) Received: (nullmailer pid 2379179 invoked by uid 1000); Fri, 13 Jan 2023 16:47:51 -0000 Date: Fri, 13 Jan 2023 10:47:51 -0600 From: Rob Herring To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Michael Walle , NXP Linux Team , u-boot@lists.denx.de, Sascha Hauer , Pengutronix Kernel Team , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Fabio Estevam , Srinivas Kandagatla , Miquel Raynal Subject: Re: [PATCH V2 5/6] dt-bindings: nvmem: u-boot,env: add MAC's #nvmem-cell-cells Message-ID: <167362844818.2378726.12657196612848519101.robh@kernel.org> References: <20230111073102.8147-1-zajec5@gmail.com> <20230111073102.8147-5-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230111073102.8147-5-zajec5@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Wed, 11 Jan 2023 08:31:01 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > U-Boot's "ethaddr" environment variable is very often used to store > *base* MAC address. It's used as a base for calculating addresses for > multiple interfaces. It's done by adding proper values. Actual offsets > are picked by manufacturers and vary across devices. > > Signed-off-by: Rafał Miłecki > --- > .../devicetree/bindings/nvmem/layouts/u-boot,env.yaml | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring