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: 1981892 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X0bTX74gqz1y1D for ; Fri, 6 Sep 2024 22:42:08 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4X0bTT4HvHz3cGM for ; Fri, 6 Sep 2024 22:42:05 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725536938; cv=none; b=UDG1TEkS2Sr6tUKmK1dQNhPiutLxQX6BiGV3fJMcwXkyYLrpUlNrGrM5GohItonXgtpJTjC8DJ2ArLQIE21IRIsuWdVjOVJtH76e3P2KG6LdAdTBjLll070Rvu3VSa8W2VLavzt+jJDsScWfOeHA7s2ZpHP+KWw3eZIjQSPjMnJbdiLZz6ZH+eFdT4/L1ncu1CTSlmiCuBzumfr9+94VilUInrYQIae4KvCcrI9ozq8ute0wTvk1MdumhGDGd/sjVpJMi5flkFg+n8YQEeBM0nU9X9q+pYXP1ikBSRmK+iL5k8C0RergmRBAwzyrGNgF6bj/2HCGFSNyDOR8D4xvtw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725536938; c=relaxed/relaxed; bh=l2IprJX3TWwyWaHuDSpOfJW57PDunnmDGYNsbn8zPBs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QGbCe/KXSEhhihWkQkakhsfaTaHL4jENuFIagnRoE552ayez4dL6rjv0gT8dXX7q306hCLrOcuwTjlwO6SAOpNpqlfeEZRCdY0Z2JbMIoKqhu1jwrctZ6/q6pEZi0a7yMe2ROFTMzhpBz4sleI3jaPmhyJqpjRWihWT4m/aKturY67dsa+FAt+RJiG1MDMdq7NmDRx+Fm8qUEW5uFqZornsk0/8ZtWFNNM5f9wR2Uf+q2YdfaOwRN4BEkRSF8l3dc+DuhcHJVn4KGltQpcuk/HCZsE2+1RdUaNVL9zicEi+xLOGn9olSXD7et5s8SAiVzV9iwt1XAfTnsiC0H5Bubw== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass (client-ip=211.20.114.72; helo=twmbx01.aspeed.com; envelope-from=jacky_chou@aspeedtech.com; receiver=lists.ozlabs.org) smtp.mailfrom=aspeedtech.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=aspeedtech.com (client-ip=211.20.114.72; helo=twmbx01.aspeed.com; envelope-from=jacky_chou@aspeedtech.com; receiver=lists.ozlabs.org) Received: from TWMBX01.aspeed.com (mail.aspeedtech.com [211.20.114.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WzyLJ6GJBz2ytV for ; Thu, 5 Sep 2024 21:48:35 +1000 (AEST) 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: , , , , , , , , , , , , , , , , 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-Mailman-Approved-At: Fri, 06 Sep 2024 22:42:03 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jacky_chou@aspeedtech.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" 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: 1981893 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X0bTY4VY7z1y1D for ; Fri, 6 Sep 2024 22:42:09 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4X0bTT5yqjz3cKT for ; Fri, 6 Sep 2024 22:42:05 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725536942; cv=none; b=TAXG0nxBFT1loxxyFqEcrb2PId6+R5Ce5dSARUOOFsRH7YOUoHNDPK559UKAYzN7xnua410pGK3Q/csRKnDDjiHZ/D5UUV+Fg5LgCrz3F4EtqC4smz+xp86It1wwNy8eEcqt7EjjslztaKflCqbyVpmmbytF/swvO4lsdAgNiVMOmVKBEDBemFk5Kj47W5JEAU9M0A0Kvx6g7ipJWmrmKMJHl0iRBavJGyhYijbWWbBLFAuJmaNpx/HfiYS3Y57PETvYKKq2GJqx9fiQDulDURdd+T+6IRfCMiMGzfZqgDj4oFVGli8VPrnQVJYWwtMKcI/tnZYC88Ps0DMsD0q72w== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1725536942; c=relaxed/relaxed; bh=hDfl7UI4/IQKHyKQ6quNOw8kPk0KUnUdrxhBABpP8E8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VSvQ1kv3UZd0X6qIoM2Is1aaq8IWBxRTnJxOIcCOCclfuzM5a/6PZw2EMR7iKO2twurDo96A+Rka5ZEGv7W5tUrJPnGbcXepDRxXvIE9+xNpckwbQlG3cS/f1JTVwoVjfcRG16QkpQ8h4tOz+3rvuVSzk4YHPpOobWOgT2dERVZlmDW5dUNmxcuhIJALKq23POihYbnArDDainhtQVXCGpmZAeBeZabBcx1qYVWt7r151qVIaiarG94mH7eJ6rLzBHsDt0833ergS6pFZFTsihYqvv+6j87UIN2SezqgIMJQGrDOG0976+XREvC+HRkZyGQobSN4+IeXpiOkEDJ8Vg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass (client-ip=211.20.114.72; helo=twmbx01.aspeed.com; envelope-from=jacky_chou@aspeedtech.com; receiver=lists.ozlabs.org) smtp.mailfrom=aspeedtech.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=aspeedtech.com (client-ip=211.20.114.72; helo=twmbx01.aspeed.com; envelope-from=jacky_chou@aspeedtech.com; receiver=lists.ozlabs.org) Received: from TWMBX01.aspeed.com (mail.aspeedtech.com [211.20.114.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WzyLj4KHrz2ysh for ; Thu, 5 Sep 2024 21:49:01 +1000 (AEST) 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: , , , , , , , , , , , , , , , , 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-Mailman-Approved-At: Fri, 06 Sep 2024 22:42:03 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jacky_chou@aspeedtech.com Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" 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);