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: 13792202 X-Patchwork-Delegate: kuba@kernel.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 smtp.subspace.kernel.org (Postfix) with ESMTPS id 14A44199EA8; Thu, 5 Sep 2024 11:48:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725536887; cv=none; b=Zs80Lc42Q0S3dioTzq9+uQj/pyDFkip6mx1yN/+Arjy2HdYfWRz+wBdzvMwjZSHkBxUi0FPfn4UWx10wUxK57qkBJPK59yF2Dhmi1SFqISLLocmUloVsmrTqD0nCpdw55xruNl+GAfui3c5pJVP7C7O+A7OgE1uI0pbOZIel3K4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725536887; c=relaxed/simple; bh=/OMIFkkJlOlaJ445F5TAwaUZayMaiWQuRjMGsorIwLI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GJMNS7SuXVqHGZxqCZqMB335Gvx0vIH5uCHz4xv950JNepihPuy5LB6cpzMbdGu2asRVT+QODeU2UOFKwQDvC8ZkXhTrcoMnkyE4ykTLnDxEfbyOafM5PDMh/bFr3xBTWlRWmyQSg0UY2eY7cBEL0WZsvzb+cJnOrJjM37sZw60= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com 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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.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: 13792203 X-Patchwork-Delegate: kuba@kernel.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 smtp.subspace.kernel.org (Postfix) with ESMTPS id A24A119AA56; Thu, 5 Sep 2024 11:48:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725536889; cv=none; b=J4dnQY9BR0Pc3Lzl7AoPdz5Gr37E0CBYxMXBYMnh8GQBxQFreP0r1QdacNk+akLAO59QWxowwMf+TH/kI1Kl1GW5iH/ZjhNTmltmYctAa7KY4dZOwdI17+O5E5zG8/CecblD7Tj8jmyWZJ3uC8lG0yHVkw0XHAz7tBTPWruczXU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725536889; c=relaxed/simple; bh=VSKh0DB0FtnolT0pPLp/6Rwyb1fPRHcQ0FNv98PEPfM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=S+HL0D77tuYYOXEVwJZFvJtMSeGF/ET4b6WmZuqMd2pXVaP3FQiiRMmFKPUGEg1PefNpm865LbvDGI04QYURo+szrl84bciLwp+t7r1tKQgVM6/FC6ELm6lFqe+UL2h7SIUa100U5HfLmL3S/P7fnIg+oKDcPqzmS4L+QV3PpXA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com 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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.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);