Skip to content
Commit 4bcfda09 authored by Tan, Raymond's avatar Tan, Raymond Committed by Wolfram Sang
Browse files

i2c: designware: add support of platform data to set I2C mode



Use the platform data to set the clk_freq when there is no DT configuration
available. The clk_freq in turn will determine the I2C speed mode.

In Quark, there is currently no other configuration mechanism other than
board files.

Signed-off-by: default avatarRaymond Tan <raymond.tan@intel.com>
Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: default avatarHock Leong Kweh <hock.leong.kweh@intel.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 8e5f6b2a
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