2023-12-14 17:12:43

by Lakshmi Yadlapati

[permalink] [raw]
Subject: [PATCH v1] fsi: run clock at 100MHz

Adjust FSI speed to 100MHz for improved stability and optimized
data transmission.

Signed-off-by: Lakshmi Yadlapati <[email protected]>
---
drivers/fsi/fsi-master-aspeed.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/fsi/fsi-master-aspeed.c b/drivers/fsi/fsi-master-aspeed.c
index f0a19cd451a0..b065e1bb9054 100644
--- a/drivers/fsi/fsi-master-aspeed.c
+++ b/drivers/fsi/fsi-master-aspeed.c
@@ -87,7 +87,7 @@ static const u32 fsi_base = 0xa0000000;
#define FSI_LINK_ENABLE_SETUP_TIME 10 /* in mS */

/* Run the bus at maximum speed by default */
-#define FSI_DIVISOR_DEFAULT 1
+#define FSI_DIVISOR_DEFAULT 2
#define FSI_DIVISOR_CABLED 2
static u16 aspeed_fsi_divisor = FSI_DIVISOR_DEFAULT;
module_param_named(bus_div,aspeed_fsi_divisor, ushort, 0);
--
2.39.2


2024-01-08 16:40:05

by Eddie James

[permalink] [raw]
Subject: Re: [PATCH v1] fsi: run clock at 100MHz


On 12/14/23 11:10, Lakshmi Yadlapati wrote:
> Adjust FSI speed to 100MHz for improved stability and optimized
> data transmission.


Reviewed-by: Eddie James <[email protected]>


>
> Signed-off-by: Lakshmi Yadlapati <[email protected]>
> ---
> drivers/fsi/fsi-master-aspeed.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/fsi/fsi-master-aspeed.c b/drivers/fsi/fsi-master-aspeed.c
> index f0a19cd451a0..b065e1bb9054 100644
> --- a/drivers/fsi/fsi-master-aspeed.c
> +++ b/drivers/fsi/fsi-master-aspeed.c
> @@ -87,7 +87,7 @@ static const u32 fsi_base = 0xa0000000;
> #define FSI_LINK_ENABLE_SETUP_TIME 10 /* in mS */
>
> /* Run the bus at maximum speed by default */
> -#define FSI_DIVISOR_DEFAULT 1
> +#define FSI_DIVISOR_DEFAULT 2
> #define FSI_DIVISOR_CABLED 2
> static u16 aspeed_fsi_divisor = FSI_DIVISOR_DEFAULT;
> module_param_named(bus_div,aspeed_fsi_divisor, ushort, 0);