From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50E4FC43381 for ; Tue, 5 Mar 2019 08:58:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 20DA2206DD for ; Tue, 5 Mar 2019 08:58:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551776330; bh=Sp7JasX9Xsx401fXlO8sU9zilogdbW1AMH4TxTNDssY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=tbjHUnKAClCKvEulfn+5FkH9FIK5WrOE+Kgjlvn7kFZV3UKPp5lEjKX3iKRWGaovn PmKlrKrfY67QFretDLo9Y2qx8InZawRCnwhssBGw3h7AnbAOr4uH5YNRHEyQxtcZA2 qP+70M7lFau7oxz0XSJ6uoYu2GWUt42JMdIyJaq8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726657AbfCEI6p (ORCPT ); Tue, 5 Mar 2019 03:58:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:33548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbfCEI6p (ORCPT ); Tue, 5 Mar 2019 03:58:45 -0500 Received: from localhost (unknown [27.5.25.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1E830206DD; Tue, 5 Mar 2019 08:58:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551776324; bh=Sp7JasX9Xsx401fXlO8sU9zilogdbW1AMH4TxTNDssY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mVY3SbsMtqDiL0yx2bm1+Wg3Cm9UolDr/jaQBwRhch+tW3K6b+xc9lLKPuks2lqX3 +XvEeyi2RuxWkkoHDfyqN25jpwZkCXWV2a1F+Va9KO8cF6QHFpYUbSdDTnmABBPfnH hIgvj8dEniuxTz780xZeXOiFp4454KzqAiChrMkU= Date: Tue, 5 Mar 2019 14:28:35 +0530 From: Vinod Koul To: xiaofeis Cc: davem@davemloft.net, netdev@vger.kernel.org, andrew@lunn.ch, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, vivien.didelot@gmail.com, f.fainelli@gmail.com, niklas.cassel@linaro.org, xiazha@codeaurora.org Subject: Re: [PATCH] net: dsa: Add support for port mac address Message-ID: <20190305085835.GD2598@vkoul-mobl> References: <1551773813-34925-1-git-send-email-xiaofeis@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1551773813-34925-1-git-send-email-xiaofeis@codeaurora.org> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 05-03-19, 16:16, xiaofeis wrote: > Allow port network device's mac address to be retrieved from the > device tree. Reviewed-by: Vinod Koul > Signed-off-by: xiaofeis > --- > Documentation/devicetree/bindings/net/dsa/dsa.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt > index cfe8f64..8415f41 100644 > --- a/Documentation/devicetree/bindings/net/dsa/dsa.txt > +++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt > @@ -71,6 +71,10 @@ properties, described in binding documents: > Documentation/devicetree/bindings/net/fixed-link.txt > for details. > > +- local-mac-address : See > + Documentation/devicetree/bindings/net/ethernet.txt > + for details. > + > Example > > The following example shows three switches on three MDIO busses, > @@ -99,6 +103,7 @@ linked into one DSA cluster. > port@1 { > reg = <1>; > label = "lan1"; > + local-mac-address = [00 00 00 00 00 00]; > }; > > port@2 { > -- > 1.9.1 -- ~Vinod