From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
To: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>,
andriy.shevchenko@linux.intel.com,
mika.westerberg@linux.intel.com
Cc: linux-i2c@vger.kernel.org
Subject: Re: [PATCH 2/2] i2c: designware: Calculate SCL timing parameter for High Speed Mode
Date: Wed, 8 Apr 2020 10:09:02 +0300 [thread overview]
Message-ID: <cf000dbc-c89c-2fb3-8564-0b4c899f3018@linux.intel.com> (raw)
In-Reply-To: <20200407133439.23422-3-wan.ahmad.zainie.wan.mohamad@intel.com>
On 4/7/20 4:34 PM, Wan Ahmad Zainie wrote:
> Custom parameters for HCNT/LCNT are not available for OF based system.
> Thus, we will use existing SCL timing parameter calculation functions
> for High Speed Mode too.
>
> The value for the parameters tSYMBOL and tLOW is taken from DesignWare
> DW_apb_i2c Databook v2.01a, section 3.15.4.6. The calculation should
> assume higher bus load since it gives slower timing parameter.
>
> Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/i2c/busses/i2c-designware-master.c | 18 +++++++++++++++---
> 1 file changed, 15 insertions(+), 3 deletions(-)
>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
next prev parent reply other threads:[~2020-04-08 7:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 13:34 [PATCH 0/2] i2c: designware: Calculate *CNT for Fast Mode Plus Wan Ahmad Zainie
2020-04-07 13:34 ` [PATCH 1/2] i2c: designware: Calculate SCL timing parameter " Wan Ahmad Zainie
2020-04-08 7:08 ` Jarkko Nikula
2020-04-15 11:14 ` Wolfram Sang
2020-04-07 13:34 ` [PATCH 2/2] i2c: designware: Calculate SCL timing parameter for High Speed Mode Wan Ahmad Zainie
2020-04-08 7:09 ` Jarkko Nikula [this message]
2020-04-15 11:14 ` Wolfram Sang
2020-04-07 14:56 ` [PATCH 0/2] i2c: designware: Calculate *CNT for Fast Mode Plus Andy Shevchenko
2020-04-15 11:15 ` Wolfram Sang
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=cf000dbc-c89c-2fb3-8564-0b4c899f3018@linux.intel.com \
--to=jarkko.nikula@linux.intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=linux-i2c@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=wan.ahmad.zainie.wan.mohamad@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.