Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2146745lqt; Mon, 22 Apr 2024 02:50:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXneq0UVh0x0/qI02AcRnoLcRNkkp8PyXoyoCixtT/81AGEOffnapzEZH6pFrHIM77Gvc37Qp2/WYbrgO75tUJMw45GCVb+clU0rjJ3lQ== X-Google-Smtp-Source: AGHT+IFCZWNpFocKx6knMlmv57ZUZPUBRMWU1JD8JSPY0oNnpztWLcn/zlQNXWA90K3qaOFvtQyl X-Received: by 2002:a17:906:6983:b0:a51:9197:a2cf with SMTP id i3-20020a170906698300b00a519197a2cfmr5276675ejr.44.1713779445883; Mon, 22 Apr 2024 02:50:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713779445; cv=pass; d=google.com; s=arc-20160816; b=BpuLsVHITU8/nJ36nSwQkkkvnbeVKYAkz3tD81eHgY9lIyc1IGitSNpdldiiIai72B twwLoSNQmdWCLTEByu8tastBuRHRHZF/W1/amWFAIYNwc5FPNSRfHEEvtkFheJcf8/aI 2Qlbnyxdv7xoZKANCHMb/L0vrbGiF7Qg2F6foQUumlffuo3NIq/Z6HoUMzxFxFRO92xn cAqqdQMs6GyR7RQOXOcGiNrR+Tn6xjatZhie5J5wtW2cywiAcYYYYO4aMO0+se64BGCV rwwqUI1Ezy4+PLF/uq7ICPiMdHS5EwTJbWRe0/8kD8P1DLSPExrwDbIoQuMFP7wN8dpa u9lQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=3U8VZZMDiH61mfGxpX3bk5dpON1K+qFAq56zjw3bdKk=; fh=D82s0mc4NvhZYepdtzjat/TfYkoVzXro9huIJZVyS3A=; b=cC10/hNV8but7amnrjwR39HK9AMm2rUx+S/FmNpxxI6rAYy65ziFAxzYE1jBA/0UK4 /e6n7QiJszinI2AuCM46fYgZ9apqAdjMx62JwLLSHSQy+TBGj1YWJGaRNvX+ToOUoKW6 MTNdUPg7lUAuNEDnf2Yf8/XVy+HFxtcvjJBCP1IEovzB9Gk4zxip1/Ph1WKSjLq1r5Xr eBF81tIr2OpoLTPylDRj3toBiXkAKNXOqRDDodMVKJhzIarYPIJlG+t1oiQ5vMqO3TI4 89ksBSVlVb4a+OlSLdngsA8CXLRLQibP3PZlhK4Dn2jQGvyDtraBvx2UG/zpPggHpWfO hqHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=armadeus.com); spf=pass (google.com: domain of linux-kernel+bounces-153125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153125-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 jg38-20020a170907972600b00a55911bf09asi3822413ejc.891.2024.04.22.02.50.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 02:50:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153125-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=armadeus.com); spf=pass (google.com: domain of linux-kernel+bounces-153125-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153125-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 717A11F213C8 for ; Mon, 22 Apr 2024 09:50:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF48B1420DF; Mon, 22 Apr 2024 09:47:59 +0000 (UTC) Received: from 3.mo575.mail-out.ovh.net (3.mo575.mail-out.ovh.net [46.105.58.60]) (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 9E788143C58 for ; Mon, 22 Apr 2024 09:47:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.105.58.60 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713779279; cv=none; b=rfFuBJoQki2D1vf50+HyX2ZutX5TH7Kv10DLOT7eJOg2bnW9B9rden6HvvWCbBlw3U1n3rlfdHCA1PiQjC8ibRWxYxB70JQvULi3K3zEZTBlYu9ca+J7vB4lljKnVAOBBGJXaNjGzQ/R+ZNEPFnfOZiFAKvq5xg75Ddrf6cL/E0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713779279; c=relaxed/simple; bh=xDSmU42HwR7p82VHSVrC1r6JVxcHqDX7Wo5kVPyv4Ds=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hJK3lNlvIYO5U5jlTyAE7xJ9VgA2SJklEQrQBA5XajRfNuipI4+5pVwrcf1szRctl8xN8NiLld0vz1XM1abfCm3T0IBi6iXUCxKvLwgCr9gWLXaD5fNGNXsT5N2jT4S1AKyeypDVIJMVPVl4fUyuQ7ZwEsV/tdH6epx9GE7pMV8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=armadeus.com; spf=pass smtp.mailfrom=armadeus.com; arc=none smtp.client-ip=46.105.58.60 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=armadeus.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=armadeus.com Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.148.29]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4VNKg04Dwhz1D7T for ; Mon, 22 Apr 2024 09:28:12 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-rl684 (unknown [10.110.113.68]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 920A11FE65; Mon, 22 Apr 2024 09:28:09 +0000 (UTC) Received: from armadeus.com ([37.59.142.101]) by ghost-submission-6684bf9d7b-rl684 with ESMTPSA id qQDTHKktJmYMfgAAjN946g (envelope-from ); Mon, 22 Apr 2024 09:28:09 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-101G004c9d7feca-c54e-499e-ad96-007dd4ebdda3, A64A67AECC9DB63596043E25B5FC1CC6B28F39B0) smtp.auth=sebastien.szymanski@armadeus.com X-OVh-ClientIp:92.148.253.243 Message-ID: Date: Mon, 22 Apr 2024 11:28:08 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] arm64: mx93: etherrnet: set TX_CLK in RMII mode To: Steffen Trumtrar , "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 Cc: 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 References: <20240422-v6-9-topic-imx93-eqos-rmii-v1-0-30151fca43d2@pengutronix.de> Content-Language: en-US From: =?UTF-8?Q?S=C3=A9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WeyJB1zCSdEvLyKASERt+nxkOA+IzJ4y1qLtvnWr+SL1AXgTMw+Tkyw KIDCRWHTIYas11ldGj82gOIpYeXnapeNLHfT4EQwg0NeWYHynJxAQWiX5aPlw0uSpAQSsBXQ FIe3fpoveMSnXK+PG2BBOzexYv7r4S70a6sF9sgTTPpfKqUaqqC+u1+bUX6alTAKhGKJywaF 6ViqLlgY8PfwohSyAlqlTRMAEQEAAcLAdgQYAQgAIAIbDBYhBJwGygpYm/1C/GCmwbCaKeiB MmTiBQJdhIHSAAoJELCaKeiBMmTitU8IAK7NQM3fEwaF5XaKtepYWsVka44CD8A9e4r7NVK9 ugirKvXirIxBSDmN/Db862NmVpITsZ6ERNSNZLm/7k55N+TexKYiFZeU7G92TEfAM6qPElvx DLEcrkNMq9r08YZeUloacsq31AL5fK4LW+xdvXudkdiKRMJsdTpmff3x5kIziGOHjwFP9wve ZgEH52gpbRsP8Whx/Z2lNX/BBRmFM8OnEXFsjjqDzYThdxTq85wGPpkgvvUGyPNRD7TpbB1C pajOUUkPxgj5LKt77HD1afeZNudWhgcdkbtT5PMQTT0WY6wvMEj9S1+bGPeXRGWLYB7gHQ+L JNoSD7Kz6Y9qnKo= In-Reply-To: <20240422-v6-9-topic-imx93-eqos-rmii-v1-0-30151fca43d2@pengutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 3291005431560006571 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudekledgudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefurogsrghsthhivghnucfuiiihmhgrnhhskhhiuceoshgvsggrshhtihgvnhdrshiihihmrghnshhkihesrghrmhgruggvuhhsrdgtohhmqeenucggtffrrghtthgvrhhnpeeujeffheehvddtuefhjeevveffkeetfffgtedvjeekleelvdfhjeelfeeludduieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdelvddrudegkedrvdehfedrvdegfedpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepshgvsggrshhtihgvnhdrshiihihmrghnshhkihesrghrmhgruggvuhhsrdgtohhmpdhnsggprhgtphhtthhopedupdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth Hello, On 4/22/24 10:46, Steffen Trumtrar wrote: > This series adds support for setting the TX_CLK direction in the eQOS > ethernet core on the i.MX93 when RMII mode is used. > > According to AN14149, when the i.MX93 ethernet controller is used in > RMII mode, the TX_CLK *must* be set to output mode. Must ? I don't think that is true. Downstream NXP kernel has an option to set TX_CLK as an input: https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/Documentation/devicetree/bindings/net/nxp%2Cdwmac-imx.yaml#L69 https://github.com/nxp-imx/linux-imx/commit/fbc17f6f7919d03c275fc48b0400c212475b60ec Regards, > > Add a devicetree property with the register to set this bit and parse it > in the dwmac-imx driver. > > Signed-off-by: Steffen Trumtrar > --- > Steffen Trumtrar (3): > dt-bindings: net: mx93: add enet_clk_sel binding > arm64: dts: imx93: add enet_clk_sel > net: stmicro: imx: set TX_CLK direction in RMII mode > > .../devicetree/bindings/net/nxp,dwmac-imx.yaml | 10 ++++++++ > arch/arm64/boot/dts/freescale/imx93.dtsi | 1 + > drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c | 27 ++++++++++++++++++++++ > 3 files changed, 38 insertions(+) > --- > base-commit: 4cece764965020c22cff7665b18a012006359095 > change-id: 20240422-v6-9-topic-imx93-eqos-rmii-3a2cb421c81d > > Best regards, -- Sébastien Szymanski, Armadeus Systems Software engineer