[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4bff3f3e-9e32-45b1-91b1-6c9faf36d416@kernel.org>
Date: Thu, 21 Nov 2024 11:25:00 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Bastien Curutchet <bastien.curutchet@...tlin.com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>
Cc: linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Herve Codina <herve.codina@...tlin.com>,
Christopher Cordahi <christophercordahi@...ometrics.ca>
Subject: Re: [PATCH v4 03/10] memory: ti-aemif: Wrap CS timings into a struct
On 15/11/2024 14:26, Bastien Curutchet wrote:
> CS timings are store in the struct aemif_cs_data along with other CS
> parameters. It isn't convenient for exposing CS timings to other drivers
> without also exposing the other parameters.
>
> Wrap the CS timings in a new the struct aemif_cs_timings to simplify
> their export in upcoming patches.
>
> Signed-off-by: Bastien Curutchet <bastien.curutchet@...tlin.com>
> ---
> drivers/memory/ti-aemif.c | 58 ++++++++++++++++++++++-----------------
> 1 file changed, 33 insertions(+), 25 deletions(-)
>
> diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c
> index 6a751a23d41a..aec6d6464efa 100644
> --- a/drivers/memory/ti-aemif.c
> +++ b/drivers/memory/ti-aemif.c
> @@ -78,10 +78,8 @@
> WSETUP(WSETUP_MAX) | \
> EW(EW_MAX) | SSTROBE(SSTROBE_MAX) | \
> ASIZE_MAX)
> -
This does not look related change.
> /**
> - * struct aemif_cs_data: structure to hold CS parameters
> - * @cs: chip-select number
> + * struct aemif_cs_timings: structure to hold CS timings
> * @wstrobe: write strobe width, number of cycles - 1
> * @rstrobe: read strobe width, number of cycles - 1
> * @wsetup: write setup width, number of cycles - 1
> @@ -89,12 +87,8 @@
> * @rsetup: read setup width, number of cycles - 1
> * @rhold: read hold width, number of cycles - 1
> * @ta: minimum turn around time, number of cycles - 1
> - * @enable_ss: enable/disable select strobe mode
> - * @enable_ew: enable/disable extended wait mode
> - * @asize: width of the asynchronous device's data
Best regards,
Krzysztof
Powered by blists - more mailing lists