diff options
author | Jun Chen <jun.chen@vatics.com> | 2020-03-02 11:58:57 +0300 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2020-03-16 10:04:29 +0300 |
commit | 27d483bfa34c1695c2be230efc50c52d5a3d04e2 (patch) | |
tree | 27231bf8b1963510c58bb7466231db6c5f745fa6 /drivers/i2c/designware_i2c.h | |
parent | be26342314a6aacc1bb1e53ad00dfb4b836f0134 (diff) | |
download | u-boot-27d483bfa34c1695c2be230efc50c52d5a3d04e2.tar.xz |
i2c: designware_i2c: add 'hs_hcnt' and 'hs_lcnt' for high speed
Add support for high speed if scl_sda_cfg exist.
Signed-off-by: Jun Chen <ptchentw@gmail.com>
Signed-off-by: Jun Chen <jun.chen@vatics.com>
Diffstat (limited to 'drivers/i2c/designware_i2c.h')
-rw-r--r-- | drivers/i2c/designware_i2c.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/i2c/designware_i2c.h b/drivers/i2c/designware_i2c.h index 5a04ce50e2..7ee236193d 100644 --- a/drivers/i2c/designware_i2c.h +++ b/drivers/i2c/designware_i2c.h @@ -146,15 +146,19 @@ struct i2c_regs { * * @ss_hcnt: Standard speed high time in ns * @fs_hcnt: Fast speed high time in ns + * @hs_hcnt: High speed high time in ns * @ss_lcnt: Standard speed low time in ns * @fs_lcnt: Fast speed low time in ns + * @hs_lcnt: High speed low time in ns * @sda_hold: SDA hold time */ struct dw_scl_sda_cfg { u32 ss_hcnt; u32 fs_hcnt; + u32 hs_hcnt; u32 ss_lcnt; u32 fs_lcnt; + u32 hs_lcnt; u32 sda_hold; }; |