Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1040732ybl; Wed, 11 Dec 2019 11:29:05 -0800 (PST) X-Google-Smtp-Source: APXvYqxLizFkVwlZkROYJB7+Dgov/Cwgi9VLjIzuG6XKcAGQ0e+/chVf7jLPPlMyc8IkrB1fIDPe X-Received: by 2002:a05:6830:591:: with SMTP id c17mr3371895oth.226.1576092545771; Wed, 11 Dec 2019 11:29:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576092545; cv=none; d=google.com; s=arc-20160816; b=kJIi8UHvkE9c/3p5nwDA1uBwpHrHC2Dbn9m64ftJyXisCBEdfwJrfHuHRkgMVWXBwf 1DILJ8EXdokqaY9TBX4cRLC6E3H1iyv5MUfMJjanE7AUMbDAdH2ytv0Zm5juE9r8ZiaW GMTRBQHv3xh2pzXOUDjNhM2bcdEniKXQf9pkQdGpLdPHyotC5OJSfqMO2itw1wZ4rAvU 1jfJThr2vLq7uMHYUDsVnfgQsUg2q7xU4kPUSWtK5T7dKL5w7FLSx3TaUX2UhvUJNWDj TRPib7QULLb+CkbSwfvlyBrcdNGv43WPPAfXcza52ngB8AlRN5nggGa4ouqfB8foLhWA S7wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fhhzlnh0YMGIMRykWTm4rFFLUMRsYVi5NX6Vsu+Wz9k=; b=KhAU3gg4Qcy6pwsJJRyZYZibDKFqspnA4Y7uuY3XDcjrNqZht6UV2nm3v4sITSwzDR Yi771e0w5rJ+covDB2yGWDsG12Eh8JtNb5/ZlmfKtEK0gCyjKAjgYh2kvJqUQ+y4LNHN u8cAipCLEXSXsmg7Mk2pEbEUwA384vLIMohzOV/PHkM1hSR+9Dej4sP4u+2LHMyG/hBh bz6DgNgkCHQq8N69vy40d5XQMc7gzJxggPUlAOufqswnOMtbBqCIG9EnnMchzAhJvbIf muN5lWIJXyMekBDJay53OK5bR/RdtU62R404pfPdwmmU/gtziFNSqHFqkTQ8rep9zsYi EgYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b="0/wx5BRx"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i124si1697392oif.214.2019.12.11.11.28.54; Wed, 11 Dec 2019 11:29:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b="0/wx5BRx"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728863AbfLKT1P (ORCPT + 99 others); Wed, 11 Dec 2019 14:27:15 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:48686 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726487AbfLKT1O (ORCPT ); Wed, 11 Dec 2019 14:27:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fhhzlnh0YMGIMRykWTm4rFFLUMRsYVi5NX6Vsu+Wz9k=; b=0/wx5BRx38jwBupSBL9HPDq+Op 4XueCGjMApYHbc+xiDtJoqQ9UauFW2OCaMQQGSjhWNbdSGh6A4tqk4HR+ycvlZpZSvkY4VN929aDZ lsooxXG98r2sDAlaF2LQAar50cl7CsEAieCTcLjrUlq7BEeM+cJDRDyJM75MDOFUa3QA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1if7dX-0006xS-2G; Wed, 11 Dec 2019 20:27:03 +0100 Date: Wed, 11 Dec 2019 20:27:03 +0100 From: Andrew Lunn To: Landen Chao Cc: "f.fainelli@gmail.com" , "vivien.didelot@savoirfairelinux.com" , "matthias.bgg@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "davem@davemloft.net" , Sean Wang , "opensource@vdorst.com" , "frank-w@public-files.de" Subject: Re: [PATCH net-next 4/6] net: dsa: mt7530: Add the support of MT7531 switch Message-ID: <20191211192703.GC30053@lunn.ch> References: <6d608dd024edc90b09ba4fe35417b693847f973c.1575914275.git.landen.chao@mediatek.com> <20191210164438.GD27714@lunn.ch> <1576088280.23763.73.camel@mtksdccf07> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1576088280.23763.73.camel@mtksdccf07> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Do you also hint at using the same number of parameters for > mt7531_ind_c22_phy_read() and mt7531_ind_c45_phy_read()? That is up to you. It just seems like your MDIO bus can do both C22 and C45. And somebody might connect an external C45 PHY, so you might as well support it. Andrew