aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorAustin Christ <[email protected]>2018-05-10 16:13:56 +0000
committerWolfram Sang <[email protected]>2018-05-29 17:53:03 +0000
commit71fbafcc45fed7c647987495900b8f6ff29fc5aa (patch)
treeff2e9e70e5065888adeb6a99ba595c53b19b7e64 /drivers/i2c/algos/i2c-algo-bit.c
parenti2c: qup: Add support for Fast Mode Plus (diff)
downloadkernel-71fbafcc45fed7c647987495900b8f6ff29fc5aa.tar.gz
kernel-71fbafcc45fed7c647987495900b8f6ff29fc5aa.zip
i2c: qup: Correct duty cycle for FM and FM+
The I2C spec UM10204 Rev. 6 specifies the following timings. Standard Fast Mode Fast Mode Plus SCL low 4.7us 1.3us 0.5us SCL high 4.0us 0.6us 0.26us This results in a 33%/66% duty cycle as opposed to the 50%/50% duty cycle used for Standard-mode. Add High Time Divider settings to correct duty cycle for FM(400kHz) and FM+(1MHz). Signed-off-by: Austin Christ <[email protected]> Reviewed-by: Sricharan R <[email protected]> Reviewed-by: Andy Gross <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions