[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZvPWEFWk_MG5SsCg@smile.fi.intel.com>
Date: Wed, 25 Sep 2024 12:21:20 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Michael Wu <michael.wu@...ron.us>
Cc: Jarkko Nikula <jarkko.nikula@...ux.intel.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Jan Dabros <jsd@...ihalf.com>, linux-i2c@...r.kernel.org,
Andi Shyti <andi.shyti@...nel.org>,
Morgan Chang <morgan.chang@...ron.us>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] i2c: designware: determine HS tHIGH and tLOW based
on HW paramters
On Wed, Sep 25, 2024 at 12:16:10PM +0300, Andy Shevchenko wrote:
> On Wed, Sep 25, 2024 at 04:04:30PM +0800, Michael Wu wrote:
...
> > + * @bus_loading: for high speed mode, the bus loading affects the high and low
> > + * pulse width of SCL
>
> This is bad naming, better is bus_capacitance.
Even more specific bus_capacitance_pf as we usually add physical units to the
variable names, so we immediately understand from the code the order of
numbers and their physical meanings.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists