Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5151756rwr; Mon, 8 May 2023 19:25:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6VNYswJfuOjJVPUsRMwMGg+1GyCChi7AAiKAGusshpKqxKmrD5DRDN20BhK8HvYKlLyn2y X-Received: by 2002:a17:902:ce82:b0:1a9:9a18:345c with SMTP id f2-20020a170902ce8200b001a99a18345cmr15449980plg.44.1683599117602; Mon, 08 May 2023 19:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683599117; cv=none; d=google.com; s=arc-20160816; b=DalXQzrdX56oVP9gLgilLCwDSNFufHgFUMz3Rju8ppqtz7YXc5QHO82ZnMB+/u04bD OxaIRUBh3SlMTw89yvDoTk9NhZsTALUsSa7TjZ4vl52c52YhYnya8vyOdraDhrKpiuvA N/U0Kh7DT/kEnf4y3dO6hcbQFT6HDWEj1cYsgnh/haRt3JA1fE8MOD/7WKuqxc2zVH0K Vi12JNykofWb5vfnl5o+Odm+OU0al9qKnzo0gKPExUda7K++KUH+kyGfuYoglQzG5SJw sX5Ufn58JXYkqWJc5W8tDOrAcQvztXvvbpihr0sLM4gBMsrX4go4FvuxhGzqg1VUR4BV /wDg== 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=g+O5x00tplesv+G8v13jy0sAUVQJ7tkYtzclxRqNG7Q=; b=VIKaK5fCT4whHg43IHvYFkU5iV1giK5Jusi3vrXDRbgaKaZUE2LdBiFxZaQmgj7dp2 V/UJidDuSjqTzjBFjsH3cZ2Hxc+HlBILgXBI4Bi/D8SqbSHb5XJZlAHJi5yNNTLjhN/4 n5pNGC040awyzPEcj5mK4EWZMVtfQVcm/PXsdD1Vdw40iGqebJwCmmI/DfE5ehVuVRvW d4Hz6CecHmuUyTiGe4asX9G+D2cieK+tSYanQE11PW/JiysHvTBWw0iH0L9PJxQh9bwM vfVascO2IlPVdeEJxZ1LmqzcsOojg4HweiNcGpT7VxCs3Ka70ldzy7uLbd957JwuyNF4 brcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=vVQNgELP; 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 g128-20020a636b86000000b00528d90d40d9si371124pgc.763.2023.05.08.19.25.02; Mon, 08 May 2023 19:25:17 -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=vVQNgELP; 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 S231468AbjEICVh (ORCPT + 99 others); Mon, 8 May 2023 22:21:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229995AbjEICVg (ORCPT ); Mon, 8 May 2023 22:21:36 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B91D3E60; Mon, 8 May 2023 19:21:34 -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-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=g+O5x00tplesv+G8v13jy0sAUVQJ7tkYtzclxRqNG7Q=; b=vVQNgELPGEDx3HjUySODw/JSTt vbbTCTA3o1NY6bU0L7MKCRKQ1ikzURZcuqLd1gC/EE3yynw7+EH5VN7WJRm6AW3mdEVrk9TnoKVWe xSFIWEn7hHdqI1ZpChb5iVQx508vefsKvS1REY9DqnPghSgA0NiZtm4U/O5V+xSTrqhA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pwCya-00CFuP-M7; Tue, 09 May 2023 04:21:16 +0200 Date: Tue, 9 May 2023 04:21:16 +0200 From: Andrew Lunn To: Siddharth Vadapalli Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, srk@ti.com Subject: Re: [PATCH net-next] net: phy: dp83869: support mii mode when rgmii strap cfg is used Message-ID: <2550fd50-3caf-4155-b6fd-bbdd6c9c1b72@lunn.ch> References: <20230508070359.357474-1-s-vadapalli@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230508070359.357474-1-s-vadapalli@ti.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 08, 2023 at 12:33:59PM +0530, Siddharth Vadapalli wrote: > From: Grygorii Strashko > > The DP83869 PHY on TI's k3-am642-evm supports both MII and RGMII > interfaces and is configured by default to use RGMII interface (strap). > However, the board design allows switching dynamically to MII interface > for testing purposes by applying different set of pinmuxes. > > To support switching to MII interface, update the DP83869 PHY driver to > configure OP_MODE_DECODE.RGMII_MII_SEL(bit 5) properly when MII PHY > interface mode is requested. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Siddharth Vadapalli Reviewed-by: Andrew Lunn Andrew