[PATCH] rtc: add ht1380 driver

Tom Rini trini at konsulko.com
Mon Nov 21 15:54:20 CET 2022


On Mon, Nov 21, 2022 at 05:47:16PM +0300, Sergei Antonov wrote:
> On Wed, 26 Oct 2022 at 14:34, Sergei Antonov <saproj at gmail.com> wrote:
> >
> > On Wed, 26 Oct 2022 at 02:35, Simon Glass <sjg at chromium.org> wrote:
> >
> > > > +static void ht1380_half_period_delay(void)
> > > > +{
> > > > +       /* Delay for half a period. 1 us complies with the 500 KHz maximum
> > > > +          input serial clock limit given by the datasheet. */
> > >
> > > /*
> > >  * Delay for half...
> > >  * second line
> > >  */
> > >
> > > Please fix globally.
> >
> > OK. I was confused by doc/develop/codingstyle.rst:
> > * The exception for net files to the `multi-line comment
> > <https://www.kernel.org/doc/html/latest/process/coding-style.html#commenting>`_
> > applies only to Linux, not to U-Boot.
> > What is the U-Boot style of multi-line comments remains a mystery to me.
> 
> Tom,
> could you please clarify what is U-Boot style for multi-line comments?
> I can not draw it from doc/develop/codingstyle.rst

I'll make an attempt at re-wording the line there, but, per:
https://www.kernel.org/doc/html/latest/process/coding-style.html#commenting
/*
 * It should be
 * like this.
 */

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221121/f3f30404/attachment.sig>


More information about the U-Boot mailing list