Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5048648rwd; Tue, 23 May 2023 17:27:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ItA67MjrPvFCKD3sCpozhnp112ugkMEQUcrYZB5YXuQNYokOye3wF8LYzRGXfnKwLH9s8 X-Received: by 2002:a05:6a20:7343:b0:10b:ebf3:839 with SMTP id v3-20020a056a20734300b0010bebf30839mr7843708pzc.34.1684888023756; Tue, 23 May 2023 17:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684888023; cv=none; d=google.com; s=arc-20160816; b=yFH/emqwYi2bB+9WUbTmbK6Rjlw5ps0HMdVKC3B8KEMrNFSKe48Tf1+mbI5novX+3n fDFJYYkfyBLN8mjCo559UGarytAWZprokQS+0j151ozCpzrNgu9T3ZWv/zWGYnhsCCzI g4HxMRn8QX8pLjckvEjDiQsa5B/HonQs8UHbt+HcUEHAxJPYdJOQNLNwMYDesyJGe6EI cq2mhQK6YxrlBkA/DdeJnqmT94xapgszZwXq8LBE39TPz4dPHF4ZDPe152hmFMYpFn1o U50SVqX893BLDNjLDp0YXWqGuQfod7QCLO6gvit7zEKMujMOZgv3FGcOrdIVkstfBo3P SujA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ynpVCF2yMB3/ugZP3Euzf3VvwYMaTJbrhhYWxcWzKj8=; b=mMvuJofqqMSdfZWe4LT6zSdTklp7EwBudI2QNtuEWBa5sePwvKcBXTQ0o+EumV14Es uE3+A5A7VkZUFo0NNeRxNjoEW44QJqKgtRN7X1s8a6XA8KMdEdWvE+EDlZK1OQxTnH/a 2mTwhukhRXDrH07N52eZJg0ELOLNeWXfWySRulG6MFHHa8SJSdrK4P/E3yBH4KwVCgWZ 3iTLNM3nPPw0MoDBQYLkTMjt4YYPIClJ0MpR/x9HF8d3bItHCBLnXKBNWZ3BhOqB/DHd ZmV/ax4bYTRqBxvjsoAfIaJkcW8vFpt1EI9q5XHi6Qvh5PjWXABQcHaEQokFoJbxOZ2N kfKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=UnEIg4HA; 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=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w2-20020a626202000000b0063b7acc199bsi117299pfb.65.2023.05.23.17.26.48; Tue, 23 May 2023 17:27:03 -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=@lunn.ch header.s=20171124 header.b=UnEIg4HA; 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=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238971AbjEXAHp (ORCPT + 99 others); Tue, 23 May 2023 20:07:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238963AbjEXAHm (ORCPT ); Tue, 23 May 2023 20:07:42 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FE74184; Tue, 23 May 2023 17:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding: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=ynpVCF2yMB3/ugZP3Euzf3VvwYMaTJbrhhYWxcWzKj8=; b=Un EIg4HAmqVDADXc4LriFbbRUJSRMbZkrxXOQ+nFUc3e+l077WinUQowdLjQaME+OwRYcw6NoDJfbQa 6mgQqjcmBnNYFDE6BnrRzenxmB7jTjDhPeOM2UGBY+4L6FtmZR68Hf/tlVxOzhKwZxp7AVJ7ptaXx HBee7gza0U+Dqg0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1q1bXS-00Djea-RC; Wed, 24 May 2023 01:35:34 +0200 Date: Wed, 24 May 2023 01:35:34 +0200 From: Andrew Lunn To: arinc9.unal@gmail.com Cc: Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 04/30] net: dsa: mt7530: improve comments regarding port 5 and 6 Message-ID: References: <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-5-arinc.unal@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230522121532.86610-5-arinc.unal@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Mon, May 22, 2023 at 03:15:06PM +0300, arinc9.unal@gmail.com wrote: > From: Arınç ÜNAL > > There's no logic to numerically order the CPU ports. State the port number > and its capability of being used as a CPU port instead. > > Remove the irrelevant PHY muxing information from > mt7530_mac_port_get_caps(). Explain the supported MII modes instead. > > Remove the out of place PHY muxing information from > mt753x_phylink_mac_config(). The function is for both the MT7530 and MT7531 > switches but there's no PHY muxing on MT7531. > > These comments were gradually introduced with the commits below. > ca366d6c889b ("net: dsa: mt7530: Convert to PHYLINK API") > 38f790a80560 ("net: dsa: mt7530: Add support for port 5") > 88bdef8be9f6 ("net: dsa: mt7530: Extend device data ready for adding a new > hardware") > c288575f7810 ("net: dsa: mt7530: Add the support of MT7531 switch") > > Signed-off-by: Arınç ÜNAL > Acked-by: Daniel Golle Reviewed-by: Andrew Lunn Andrew