Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp828076pxb; Fri, 13 Aug 2021 07:14:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFRpKHKFMgY6ZkPFj01QU2+IagD02GsAXuKJ97hfYAhhOVmlkwo++1m/WUFvwtz6/La5B2 X-Received: by 2002:a02:866b:: with SMTP id e98mr2562041jai.48.1628864074165; Fri, 13 Aug 2021 07:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628864074; cv=none; d=google.com; s=arc-20160816; b=NQpYv5CJbgc5IsgCyMa4/CK9wRIEjycJv6miYCNymbBziE0k3H2V2DtW1ILKWYCsS9 u2UzozXZPoriz24tt6Bu/+6cukGjueGXdYTTtYRqdGjSTvY2oCoMC8MVQn9UE+GgzPhG zTE086Fa2zRbaiXgq5qzei4T1KDN1wYksvVmxBTnsPTwAaSKjdKBOC6Fcx5Qm0rND6Ud 6J75T7/pqmQC0GLWPcdVBB9eNWnn39IHmNuiHklhgdoyRh4ZPKdct4l60YAFZ9eSRj2/ Vjn/Rsl3NSYLPdtornA8Gpi60uPyuE8+9qfjVmM9TG9EgS3zVUCBPQCvq8g3nYv5ypod N/1w== 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:dkim-signature; bh=1MSq2rQag7F3xmCmN6ikUcDNWFi9NhmjIJ0Jw9gtSAE=; b=tPJ2zR8o0PPExS42m0LBHzmXKLzIUUOqhDFz4Z3g2Kjvgi0zl/MVo9shx6OWVxB+GB Y2AqwJv3jR5JUz0wNJP/5XMCRyOJancq81WTzL3ar7xxBp10DSX1iH93Exvv1sm8NzKG DEiSVPlF48d8ol5MT03BG5AgkYRSD+prxGSaAK/dlUGnC0YAkDSxV3hcVPhZKytQWJe4 bgb5HCL+42oyoXO8oLPi2R1cp643JlqGbEeuIhRGUfQysjUgSIHIXdwno7kuKW2ZIWGI D4MpjXVvk/PCyn/G+xMNEMcAfxhMacDueDR+tY8WCWHTsMjZokgV3j7m++OoE1aUAcXe 4dkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=5skMoLKW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 m16si1817631jat.17.2021.08.13.07.14.22; Fri, 13 Aug 2021 07:14:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=5skMoLKW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240121AbhHMNKl (ORCPT + 99 others); Fri, 13 Aug 2021 09:10:41 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:48548 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239062AbhHMNKl (ORCPT ); Fri, 13 Aug 2021 09:10:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=1MSq2rQag7F3xmCmN6ikUcDNWFi9NhmjIJ0Jw9gtSAE=; b=5skMoLKWDaeRTcHfip7Lr85djs Co5nHQJapgTa55QkQn/CwkMV6sX0om90O1e+1C2XMiu4+KvoJ8Vhlo+ZZZP7Eqe5gyMkyaDW2Lo/G woknjEH98xX7BTwnDH7yiV/HunJiYJA927m0FiS+P21LnmmZR5ogwMJK9ipOLKamNzHM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mEWwc-00HUwL-8f; Fri, 13 Aug 2021 15:09:54 +0200 Date: Fri, 13 Aug 2021 15:09:54 +0200 From: Andrew Lunn To: hongbo.wang@nxp.com Cc: hongjun.chen@nxp.com, po.liu@nxp.com, shawnguo@kernel.org, leoyang.li@nxp.com, vladimir.oltean@nxp.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, f.fainelli@gmail.com, vivien.didelot@gmail.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] arm64: dts: fsl: ls1028a-rdb: Add dts file to choose swp5 as dsa master Message-ID: References: <20210813030155.23097-1-hongbo.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210813030155.23097-1-hongbo.wang@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 13, 2021 at 11:01:55AM +0800, hongbo.wang@nxp.com wrote: > From: hongbo wang > > some use cases want to use swp4-eno2 link as ordinary data path, > so we can enable swp5 as dsa master, the data from kernel can > be transmitted to eno3, then send to swp5 via internal link, switch will > forward it to swp0-3. > > the data to kernel will come from swp0-3, and received by kernel > via swp5-eno3 link. > new file mode 100644 > index 000000000000..a88396c137a1 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb-dsa-swp5-eno3.dts > @@ -0,0 +1,27 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Device Tree file for NXP LS1028A RDB with dsa master swp5-eno3. > + * > + * Copyright 2018-2021 NXP > + * > + * Hongbo Wang > + * > + */ > + > +/dts-v1/; > +#include "fsl-ls1028a-rdb.dts" You will end up with two DT blobs with the same top level compatible. This is going to cause confusion. I suggest you add an additional top level compatible to make it clear this differs from the compatible = "fsl,ls1028a-rdb", "fsl,ls1028a" blob. Andrew