Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3516607pxv; Mon, 28 Jun 2021 06:25:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyuCwfx/M4IZRaYXIbrJ48Yw2yzvEdbP5gaas09A8CS1ysS4IAkcNmVft5tLeMcttBIYgQ X-Received: by 2002:a92:660f:: with SMTP id a15mr19504552ilc.182.1624886742270; Mon, 28 Jun 2021 06:25:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624886742; cv=none; d=google.com; s=arc-20160816; b=hOFzNHXVmnqzcVm2MLVlaZlsWXtb1LF5mWT9Yavx/SoV83W45lbXiDTOGPeAzEQHxi s8WnafcehkaVg6n2kXbWBiKIaHiq8BODCDwFyuxOWlmLDZZRmKe4/mJo9JE9tNybJFzR nTckrZwQLiIMSyh0b8WO3LAlLMlIPCAV4JXljwctC/xK8r4KaYHVTGew5ivgg/QbbcEI osOqwgbN3N64+XVTnLdVQ82vVW1NBTnPfYzunv/0hUl+8ksvWlo0sz+DzQgfggoY0dXV JTP5OMheMHcUx3cnky9YlWZiig0ZTEtESnKdGmfW0mcJMCT3NIzM/w9i2VTs2SrY8ihK 2MYA== 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=bSkz8XGnJiW02FSnzZBKRHgloSBrP+z/kUoQN/yD/1c=; b=jacuOSwUm+Lfqe77L4STqlECwoiBQ71xzleG2+miEh9R5iWfsHy9DNotokENT/V8Z8 MzkCoCJuTM8dgtfsmUJNfEbrgIV1Fd5HS/zSFtLXpIlIAmEAs2A8mLZlzPSTTxRSl+hN d4gvXVZ6bsMBuA/k+JJxokfjo4W9bVuJvam3kjLFT5GC8kYfmDGnh2pxPd0oNFmcrk2p 8F5ru7U/4dIgjsgnHl19LjQy9wypPOOTpi5Eqyb4xEKj5F8V6kcgJ6YDo9+YHCGNAklH Nf6p0PdLitrIQXDOEOCgtix2o7x8pTWB/qsqKEV9Yur1nKk0ZUTccdI+0JK/Z7budarb /HeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=heB0EHmd; 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 e26si15074011ioc.29.2021.06.28.06.25.25; Mon, 28 Jun 2021 06:25:42 -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=heB0EHmd; 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 S233125AbhF1NZo (ORCPT + 99 others); Mon, 28 Jun 2021 09:25:44 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:60010 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232507AbhF1NZn (ORCPT ); Mon, 28 Jun 2021 09:25:43 -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=bSkz8XGnJiW02FSnzZBKRHgloSBrP+z/kUoQN/yD/1c=; b=heB0EHmd6jCJFYtVHHcYbvVs+G 00K7hRR8R5gOk384kxzFQSc6CwwpHYBWJ1sNsbe64HS0NulfZrZfXrvH+HsOPhasV9RtfZ8Ipeb3Z fd1xN/RaE4EMijA7ns1vLkGFkTku5s0NYjLWV6lUZ9QckqceYbfvneYTNZYdAj45tbng=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1lxrE6-00BQnQ-Jf; Mon, 28 Jun 2021 15:23:02 +0200 Date: Mon, 28 Jun 2021 15:23:02 +0200 From: Andrew Lunn To: Lukasz Majewski Cc: "David S . Miller" , Jakub Kicinski , Madalin Bucur , Nicolas Ferre , Joakim Zhang , Florian Fainelli , Vladimir Oltean , netdev@vger.kernel.org, Arnd Bergmann , Mark Einon , NXP Linux Team , linux-kernel@vger.kernel.org Subject: Re: [RFC 2/3] net: Provide switchdev driver for NXP's More Than IP L2 switch Message-ID: References: <20210623133704.334a84df@ktm> <20210624125304.36636a44@ktm> <20210624163542.5b6d87ee@ktm> <20210625115935.132922ff@ktm> <20210628140526.7417fbf2@ktm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210628140526.7417fbf2@ktm> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The best I could get would be: > > ð_switch { > compatible = "imx,mtip-l2switch"; > reg = <0x800f8000 0x400>, <0x800fC000 0x4000>; > > interrupts = <100>; > status = "okay"; > > ethernet-ports { > port1@1 { > reg = <1>; > label = "eth0"; > phys = <&mac0 0>; > }; > > port2@2 { > reg = <2>; > label = "eth1"; > phys = <&mac1 1>; > }; > }; > }; > > Which would abuse the "phys" properties usages - as 'mac[01]' are > referring to ethernet controllers. This is not how a dedicated driver would have its binding. We should not establish this as ABI. So, sorry, but no. Andrew