From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E8A6FC83F09 for ; Wed, 9 Jul 2025 08:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=L5aVq/3R+TO39VZnaYyNfuw2TEpvJHPkg6OoIlFOqNQ=; b=tXtWACNN1pd7of8Dk7U20dfyuG OllwY1/R6KawCay616NNWaYWFmOXWr2TFTImj9UskMKVNJZJ9ysfZKZdxU3NZ1fajMb3Fxl8EXdVB KUjJ02mnpYMaq/ImwHzr3FKk+Ph+F0cNGJQ1ZpBep21nYMi8iPOfu0rNz/ppsLzmBadnmHUXYgWCa PBw/jHIFWc9D1AdG8BPBD+Aq5SypUfpeOsa32ylszmONNGkr7i1D4S2lG6D//XGXY6KsYzDSEkQT4 08ydzbzhavMS4oOAl08Ablhx7z3iWiRNA67S2+9eUriQLxMsIyKDzcbynTJ2gO4pEqag2ypjtwM6A Cgx1K1Iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uZPvB-00000007vAM-00Yj; Wed, 09 Jul 2025 08:12:53 +0000 Received: from mail.aspeedtech.com ([211.20.114.72] helo=TWMBX01.aspeed.com) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uZOul-00000007loi-3YLT for linux-arm-kernel@lists.infradead.org; Wed, 09 Jul 2025 07:08:28 +0000 Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Wed, 9 Jul 2025 15:08:09 +0800 Received: from mail.aspeedtech.com (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Wed, 9 Jul 2025 15:08:09 +0800 From: Jacky Chou To: , , , , , , , , , , , , , , , , , , , , , , CC: Subject: [net-next v4 0/4] net: ftgmac100: Add SoC reset support for RMII mode Date: Wed, 9 Jul 2025 15:08:05 +0800 Message-ID: <20250709070809.2560688-1-jacky_chou@aspeedtech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250709_000823_882207_BA4792DA X-CRM114-Status: GOOD ( 11.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds support for an optional reset line to the ftgmac100 ethernet controller, as used on Aspeed SoCs. On these SoCs, the internal MAC reset is not sufficient to reset the RMII interface. By providing a SoC-level reset via the device tree "resets" property, the driver can properly reset both the MAC and RMII logic, ensuring correct operation in RMII mode. The series includes: - Device tree binding update to document the new "resets" property. - Addition of MAC1/2/3/4 reset definitions for AST2600. - Device tree changes for AST2600 to use the new reset properties. - Driver changes to assert/deassert the reset line as needed. This improves reliability and initialization of the MAC in RMII mode on Aspeed platforms. Jacky Chou (4): dt-bindings: net: ftgmac100: Add resets property dt-bindings: clock: ast2600: Add reset definitions for MAC1 and MAC2 ARM: dts: aspeed-g6: Add resets property for MAC controllers net: ftgmac100: Add optional reset control for RMII mode on Aspeed SoCs .../bindings/net/faraday,ftgmac100.yaml | 21 ++++++++++++--- arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 4 +++ drivers/net/ethernet/faraday/ftgmac100.c | 26 +++++++++++++++++++ include/dt-bindings/clock/ast2600-clock.h | 2 ++ 4 files changed, 50 insertions(+), 3 deletions(-) --- v4: - Added more useful commit messages to faraday,ftgmac100.yaml. v3: - Fixed allOf in faraday,ftgmac100.yaml. v2: - Added restriction on resets property in faraday,ftgmac100.yaml. --- -- 2.34.1