Skip to content
Commit 8e5f6b2a authored by Romain Baeriswyl's avatar Romain Baeriswyl Committed by Wolfram Sang
Browse files

i2c: designware: add support of I2C standard mode



Some legacy devices support ony I2C standard mode at 100kHz.
This patch allows to select the standard mode through the DTS
with the use of the existing clock-frequency parameter.

When clock-frequency parameter is not set, the fast mode is selected.
Only when the parameter is set at 100000, the standard mode is selected.

Signed-off-by: default avatarRomain Baeriswyl <romainba@abilis.com>
Reviewed-by: default avatarChristian Ruppert <christian.ruppert@abilis.com>
Acked-by: default avatarAlan Tull <atull@opensource.altera.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent fe82dcec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment