mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bastien Curutchet <bastien.curutchet@bootlin.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	Miquel Raynal <miquel.raynal@bootlin.com>,
	Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>
Cc: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Herve Codina <herve.codina@bootlin.com>,
	Christopher Cordahi <christophercordahi@nanometrics.ca>
Subject: Re: [PATCH v5 5/9] memory: ti-aemif: Create aemif_set_cs_timings()
Date: Tue, 10 Dec 2024 08:23:13 +0100	[thread overview]
Message-ID: <3405febf-63ce-4ce8-80b9-1d0da7436333@bootlin.com> (raw)
In-Reply-To: <82276301-970e-427b-9fb2-8866881fb487@kernel.org>

Hi Krzysztof,

On 12/9/24 8:41 PM, Krzysztof Kozlowski wrote:
> On 04/12/2024 10:43, Bastien Curutchet wrote:
>> Create an aemif_set_cs_timings() function to isolate the setting of a
>> chip select timing configuration and ease its exportation.
>>
>> Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
>> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
>> ---
>>   drivers/memory/ti-aemif.c | 65 +++++++++++++++++++++++++++++----------
>>   1 file changed, 49 insertions(+), 16 deletions(-)
> 
> ...
> 
>>   
>>   /**
>>    * struct aemif_cs_timings: structure to hold CS timings
>> @@ -165,6 +165,44 @@ static int aemif_check_cs_timings(struct aemif_cs_timings *timings)
>>   	return 0;
>>   }
>>   
>> +/**
>> + * aemif_set_cs_timings() - Set the timing configuration of a given chip select.
>> + * @aemif: aemif device to configure
>> + * @cs: index of the chip select to configure
>> + * @timings: timings configuration to set
>> + *
>> + * @return: 0 on success, else negative errno.
>> + */
>> +static int aemif_set_cs_timings(struct aemif_device *aemif, u8 cs, struct aemif_cs_timings *timings)
> 
> In the future, please stick to 80-char wrapping unless exceeding makes
> code more readable (see Coding style). I fixed it up while applying.
> 

Ok, thank you.


Best regards,
Bastien

  reply	other threads:[~2024-12-10  7:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-04  9:43 [PATCH v5 0/9] Implement setup_interface() in the DaVinci NAND controller Bastien Curutchet
2024-12-04  9:43 ` [PATCH v5 1/9] memory: ti-aemif: Store timings parameter in number of cycles - 1 Bastien Curutchet
2024-12-04  9:43 ` [PATCH v5 2/9] memory: ti-aemif: Remove unnecessary local variables Bastien Curutchet
2024-12-04  9:43 ` [PATCH v5 3/9] memory: ti-aemif: Wrap CS timings into a struct Bastien Curutchet
2024-12-04  9:43 ` [PATCH v5 4/9] memory: ti-aemif: Create aemif_check_cs_timings() Bastien Curutchet
2024-12-04  9:43 ` [PATCH v5 5/9] memory: ti-aemif: Create aemif_set_cs_timings() Bastien Curutchet
2024-12-09 19:41   ` Krzysztof Kozlowski
2024-12-10  7:23     ` Bastien Curutchet [this message]
2024-12-04  9:43 ` [PATCH v5 6/9] memory: ti-aemif: Export aemif_*_cs_timings() Bastien Curutchet
2024-12-04  9:43 ` [PATCH v5 7/9] mtd: rawnand: davinci: Always depends on TI_AEMIF Bastien Curutchet
2024-12-04  9:43 ` [PATCH v5 8/9] mtd: rawnand: davinci: Add clock resource Bastien Curutchet
2024-12-04  9:43 ` [PATCH v5 9/9] mtd: rawnand: davinci: Implement setup_interface() operation Bastien Curutchet
2024-12-09 19:40 ` (subset) [PATCH v5 0/9] Implement setup_interface() in the DaVinci NAND controller Krzysztof Kozlowski
2024-12-09 20:53   ` Miquel Raynal

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=3405febf-63ce-4ce8-80b9-1d0da7436333@bootlin.com \
    --to=bastien.curutchet@bootlin.com \
    --cc=christophercordahi@nanometrics.ca \
    --cc=herve.codina@bootlin.com \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    --cc=ssantosh@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vigneshr@ti.com \
    /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

all inboxes | Powered by JetHome®