Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2754363lqt; Mon, 22 Apr 2024 23:44:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOWebhDWekrfrGkVE2SuLgLvGy4pNL7TDu30mZAgk2WeO7NjPxHptpbGw++hWYVjTWAurbKtIMXWLmqTwiSUZKGgE4WEVcrxfaD5kVgQ== X-Google-Smtp-Source: AGHT+IFLpl2dap2WgTD7ZVTFMlMYHF1bbT4GdpAN82rNrfC5DtTbZ4iAoHRId/2pZhfdpwKNCfdf X-Received: by 2002:a2e:93c7:0:b0:2dd:9d77:bd60 with SMTP id p7-20020a2e93c7000000b002dd9d77bd60mr2579994ljh.52.1713854664289; Mon, 22 Apr 2024 23:44:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713854664; cv=pass; d=google.com; s=arc-20160816; b=X+SjAO2eAXN28yLK2KvQAQuj8CPnNmx2ZSplQgrulr2ShJgRdniajknWx//hYqd5Ls 0XrI8Qs0vF1J5TMyRvoRZC2jIeqNmPOFAga/TKTsPP1lBLekS11GkgZ8HUgnlUj0j4HM 4sDyxZVZwN1ahjGYJebk0DxrPmBOqco5PmQ1nVkBpP3zEfT32UJYjhEIGv3bfIBnVflH 5iXbq6ywe4l5hHXJyOgsBaQFoJiP6uqi2CX4Cnb9cRVkNh7vxFiUNa7zPPOqSz0BlU8o tn5daC3dj8he/KhDxS063USeWZniwh5IaME1rkMqpbk4sz4k4ZS/gUumOSqcFAMazBU8 EhpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from; bh=TO7C32C+EUA58mHvs/whPGMsKWuw+gB3n/BKKnmGz34=; fh=miOpjR1J7gVsdp91vNKhoOIeDtAQC7VtOfJv77FltFM=; b=NStsIBr6nGI1GaRfeGC5X89i9Fc2IPEyAgZZF5I4XnyiDfX2AgEcpHozIMKwNM69mW vdG1rLxdFelf0XQuwTnnhVD0pCv6gEOwMjx2qjDzTTuNnW0AIrsVoMl9wEEwRI1ABLFt 63iPCwLeJNI/FZfoaopj3oOrkjfYdljOi08ATyx80gduC3Wb+5BFf1UCcjpOtVnlhuSQ HzAvxoHKpXapLEHr59WEucSJyIxjFsAmYJqKffA1vJjGxYTHICHauDuTIi5dO2pwl+I+ G8wW5fOXw16xMjJQT2RBjXLlIfoxJxfPNpMgjh0Jn7+aSc74zxUKLYx89qBlSiWWykmh fOiA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-154557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154557-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c2-20020a509f82000000b005704239c662si7084794edf.636.2024.04.22.23.44.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 23:44:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-154557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154557-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 05D6E1F21FB7 for ; Tue, 23 Apr 2024 06:44:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5549423777; Tue, 23 Apr 2024 06:44:16 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB9D717BB7 for ; Tue, 23 Apr 2024 06:44:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713854655; cv=none; b=CCN5DAk+Eex/AeRCHcQzbDUU+mRrErqVI389IaD7DhPCC2BxEBOETjr5RiuP3tMhplWs3ZXzNGK8b30g5QSlcfMTd6Nl4cyTpge3ziGG0qiM861+pO/KgxzfsMEeboBXNQiN13TDZEIFgSjTxbZLa8EcupWAWz46z8WKJEs/NbE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713854655; c=relaxed/simple; bh=3yvG2JR0FVm384FMkHjhLQhJrk9XdHHltko3LnCBBic=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=j0n3jRkiQ9fIEQ4CVM08UjfCzUB2W43RWuWdt86uCK0Z1kiHN8GP/Pwmfs251UFhEnkS7gEXR3L1kjc0S2w/1hRyc/MpguLlYhLL/h9eQw9NX5wWWFBdNDFiFhZZhiMM8rCVp7HtO6RLhNvH5hjTA9l0iSH1CQKdOC31NOp2svY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=ratatoskr.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rz9sp-0007P6-Hm; Tue, 23 Apr 2024 08:44:03 +0200 From: Steffen Trumtrar To: =?utf-8?Q?S=C3=A9bastien?= Szymanski Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Clark Wang , Linux Team , Alexandre Torgue , Jose Abreu , Maxime Coquelin , netdev@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH 0/3] arm64: mx93: etherrnet: set TX_CLK in RMII mode In-Reply-To: (=?utf-8?Q?=22S=C3=A9bastien?= Szymanski"'s message of "Mon, 22 Apr 2024 11:28:08 +0200") References: <20240422-v6-9-topic-imx93-eqos-rmii-v1-0-30151fca43d2@pengutronix.de> User-Agent: mu4e 1.12.4; emacs 29.3 Date: Tue, 23 Apr 2024 08:43:58 +0200 Message-ID: <87mspkk28h.fsf@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: s.trumtrar@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Hi, On 2024-04-22 at 11:28 +02, S=C3=A9bastien Szymanski wrote:=20 =20 > Hello, On 4/22/24 10:46, Steffen Trumtrar wrote:=20 > > This series adds support for setting the TX_CLK direction in the eQOS e= thernet core on the i.MX93 when RMII mode is used. According to AN14149, w= hen the i.MX93 ethernet controller is used in RMII mode, the TX_CLK *must* = be set to output mode.=20 > Must ? I don't think that is true. Downstream NXP kernel has an option t= o set TX_CLK as an input:=20 > re-reading that passage again, it only says "other registers that must be c= onfigured" and that the ENET_QOS_CLK_TX_CLK_SEL bit "is 0b1" for RMII. So, = maybe you are right.=20 Thanks, Steffen > https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/Documentation/devicetr= ee/bindings/net/nxp%2Cdwmac-imx.yaml#L69 >=20 > https://github.com/nxp-imx/linux-imx/commit/fbc17f6f7919d03c275fc48b0400c= 212475b60ec >=20 --=20 Pengutronix e.K. | Dipl.-Inform. Steffen Trumtrar | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |