From patchwork Thu Sep 5 11:47:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Chou X-Patchwork-Id: 13792205 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 4FAAECD5BAE for ; Thu, 5 Sep 2024 11:50:12 +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:References:In-Reply-To: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:List-Owner; bh=l2IprJX3TWwyWaHuDSpOfJW57PDunnmDGYNsbn8zPBs=; b=knKjYhL47swYWJW4f6Kp5sD4P+ 7Q0Z2e4p5SM7ZoI3dlsV0ZFoRRdxxugdpoomSF49nwDFcaSZkWrEboxz2THgSChQ5ChIk75uezzQM MIQaJrCNSM8HmuawgeV9F2rZd0ZXuzgUCkVPgkDdVGKlO9ZduBXvvGkT1U7aCCMcQ3XWDNHI2Zd1Z GGp206I7yy9aUjC7G8huU6ZftHQm426rB4WvvqRPzC/9xVr8mT940fkMwJthOH27VkU3fm70SpvHV QB8xtn53eZqwjxhClDVQ/LmlDcySSZEOhoki0tfJpxuYn7mUSQRq35ZzI5u3lBzBjhhqHQM1cGUht PfAbPbTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smAzy-00000008BCY-1Hyv; Thu, 05 Sep 2024 11:50:02 +0000 Received: from mail.aspeedtech.com ([211.20.114.72] helo=TWMBX01.aspeed.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smAy6-00000008Ami-11ht for linux-arm-kernel@lists.infradead.org; Thu, 05 Sep 2024 11:48:07 +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.1258.12; Thu, 5 Sep 2024 19:47:54 +0800 Received: from mail.aspeedtech.com (192.168.10.10) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Thu, 5 Sep 2024 19:47:54 +0800 From: Jacky Chou To: , , , , , , , , , , , , , , , , CC: Subject: [PATCH 1/2] dt-bindings: net: aspeed: Add binding for ASPEED AST2700 MDIO Date: Thu, 5 Sep 2024 19:47:53 +0800 Message-ID: <20240905114754.519609-2-jacky_chou@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240905114754.519609-1-jacky_chou@aspeedtech.com> References: <20240905114754.519609-1-jacky_chou@aspeedtech.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240905_044806_304442_3F3D0961 X-CRM114-Status: UNSURE ( 7.90 ) X-CRM114-Notice: Please train this message. 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 Add a new compatible for ASPEED AST2700 MDIO. Signed-off-by: Jacky Chou --- .../devicetree/bindings/net/aspeed,ast2600-mdio.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml index d6ef468495c5..6dadca099875 100644 --- a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml +++ b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml @@ -19,7 +19,9 @@ allOf: properties: compatible: - const: aspeed,ast2600-mdio + enum: + - aspeed,ast2600-mdio + - aspeed,ast2700-mdio reg: maxItems: 1 From patchwork Thu Sep 5 11:47:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Chou X-Patchwork-Id: 13792216 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 4B344CD5BAE for ; Thu, 5 Sep 2024 11:51:08 +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:References:In-Reply-To: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:List-Owner; bh=hDfl7UI4/IQKHyKQ6quNOw8kPk0KUnUdrxhBABpP8E8=; b=HyCSnzQbCbF3EJUF+RAS7Z0VWD rpzK85AvOWmreFYczA24Tthef55jji9gP14dlaE8UkmfHn9km0Q2IPXxF8IJIIXKBndIShEX0RyNO VfyJ79sjabab4qEvKmSnrsEWz4VHwT8ZuqiamgThWUpTUTcAMSaXssknsXEdzLuFjACSNLdz4e1g3 QaR++xuCg2epTnHBnwCAmSK1U2S0wRVMZJ3/Xth9dj5nynY7vdwjcdlMvKML9WVXvLyx3W5RGi2AE ToCfNmZJZgJ7UWnVPBad3x2DN2U3SCqoE+YpcBq6zpSfR5ds26HIO+zhNYkVY8mg/7JVGDmHbVuNT Okl3MVVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smB0t-00000008BTT-3PBu; Thu, 05 Sep 2024 11:50:59 +0000 Received: from mail.aspeedtech.com ([211.20.114.72] helo=TWMBX01.aspeed.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smAy7-00000008Ami-38Qw for linux-arm-kernel@lists.infradead.org; Thu, 05 Sep 2024 11:48:08 +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.1258.12; Thu, 5 Sep 2024 19:47:54 +0800 Received: from mail.aspeedtech.com (192.168.10.10) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Thu, 5 Sep 2024 19:47:54 +0800 From: Jacky Chou To: , , , , , , , , , , , , , , , , CC: Subject: [PATCH 2/2] net: mdio: aspeed: Add AST2700 support Date: Thu, 5 Sep 2024 19:47:54 +0800 Message-ID: <20240905114754.519609-3-jacky_chou@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240905114754.519609-1-jacky_chou@aspeedtech.com> References: <20240905114754.519609-1-jacky_chou@aspeedtech.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240905_044807_803115_07D1562E X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. 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 Add AST2700 compatible for Aspeed MDIO driver. Signed-off-by: Jacky Chou --- drivers/net/mdio/mdio-aspeed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mdio/mdio-aspeed.c b/drivers/net/mdio/mdio-aspeed.c index c2170650415c..607e5c56434f 100644 --- a/drivers/net/mdio/mdio-aspeed.c +++ b/drivers/net/mdio/mdio-aspeed.c @@ -188,6 +188,7 @@ static void aspeed_mdio_remove(struct platform_device *pdev) static const struct of_device_id aspeed_mdio_of_match[] = { { .compatible = "aspeed,ast2600-mdio", }, + { .compatible = "aspeed,ast2700-mdio", }, { }, }; MODULE_DEVICE_TABLE(of, aspeed_mdio_of_match);