From: Dylan Hung <dylan_hung@aspeedtech.com>
To: <chiawei_wang@aspeedtech.com>, <lukma@denx.de>,
<seanga2@gmail.com>, <ryan_chen@aspeedtech.com>,
<joe.hershberger@ni.com>, <rfried.dev@gmail.com>,
<u-boot@lists.denx.de>
Cc: <BMC-SW@aspeedtech.com>
Subject: [next 5/5] clk: ast2600: Revise MII interface delay
Date: Thu, 9 Dec 2021 10:12:28 +0800 [thread overview]
Message-ID: <20211209021228.27597-6-dylan_hung@aspeedtech.com> (raw)
In-Reply-To: <20211209021228.27597-1-dylan_hung@aspeedtech.com>
The clock delay of the RMII/RGMII interface is controlled by SCU340~35C.
These values are obtained by measurement and experiments so we simply
use macro to define them.
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
---
drivers/clk/aspeed/clk_ast2600.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/aspeed/clk_ast2600.c b/drivers/clk/aspeed/clk_ast2600.c
index 3a92739f5cf5..6441fcbbbd4c 100644
--- a/drivers/clk/aspeed/clk_ast2600.c
+++ b/drivers/clk/aspeed/clk_ast2600.c
@@ -19,11 +19,11 @@ DECLARE_GLOBAL_DATA_PTR;
#define CLKIN_25M 25000000UL
/* MAC Clock Delay settings */
-#define MAC12_DEF_DELAY_1G 0x0041b75d
-#define MAC12_DEF_DELAY_100M 0x00417410
-#define MAC12_DEF_DELAY_10M 0x00417410
-#define MAC34_DEF_DELAY_1G 0x0010438a
-#define MAC34_DEF_DELAY_100M 0x00104208
+#define MAC12_DEF_DELAY_1G 0x0028a410
+#define MAC12_DEF_DELAY_100M 0x00410410
+#define MAC12_DEF_DELAY_10M 0x00410410
+#define MAC34_DEF_DELAY_1G 0x00104208
+#define MAC34_DEF_DELAY_100M 0x00104208
#define MAC34_DEF_DELAY_10M 0x00104208
/*
--
2.25.1
next prev parent reply other threads:[~2021-12-09 2:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-09 2:12 [next 0/5] Add support of Ethernet for Aspeed AST2600 SoC Dylan Hung
2021-12-09 2:12 ` [next 1/5] net: ftgmac100: Add DM_MDIO support Dylan Hung
2021-12-10 23:08 ` Ramon Fried
2022-01-18 21:09 ` Tom Rini
2021-12-09 2:12 ` [next 2/5] net: ftgmac100: Add Aspeed AST2600 support Dylan Hung
2021-12-10 23:09 ` Ramon Fried
2022-01-18 21:09 ` Tom Rini
2021-12-09 2:12 ` [next 3/5] ARM: dts: ast2600: Add MDIO devices Dylan Hung
2021-12-10 23:10 ` Ramon Fried
2022-01-18 21:09 ` Tom Rini
2021-12-09 2:12 ` [next 4/5] configs: ast2600: enable DM_MDIO and MDIO driver Dylan Hung
2021-12-10 23:10 ` Ramon Fried
2022-01-18 21:09 ` Tom Rini
2021-12-09 2:12 ` Dylan Hung [this message]
2021-12-10 23:10 ` [next 5/5] clk: ast2600: Revise MII interface delay Ramon Fried
2022-01-18 21:10 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211209021228.27597-6-dylan_hung@aspeedtech.com \
--to=dylan_hung@aspeedtech.com \
--cc=BMC-SW@aspeedtech.com \
--cc=chiawei_wang@aspeedtech.com \
--cc=joe.hershberger@ni.com \
--cc=lukma@denx.de \
--cc=rfried.dev@gmail.com \
--cc=ryan_chen@aspeedtech.com \
--cc=seanga2@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox