summaryrefslogtreecommitdiff
path: root/sound/i2c
diff options
context:
space:
mode:
authorAlain Volmat <alain.volmat@st.com>2020-04-20 17:57:57 +0300
committerWolfram Sang <wsa@the-dreams.de>2020-04-26 10:53:06 +0300
commit09cc9a3bce914d363a0f481b6603f2943fde9227 (patch)
treee8ba93010e3acda4b242eeb9a60bea340ef70e05 /sound/i2c
parentdd16163ea24b986136e0d11b9ebd861cef9d308d (diff)
downloadlinux-09cc9a3bce914d363a0f481b6603f2943fde9227.tar.xz
i2c: stm32f7: allows for any bus frequency
Do not limitate to the 3 (100KHz, 400KHz, 1MHz) bus frequency but instead allows any frequency (if it matches timing requirements). Depending on the requested frequency, use the spec data from either Standard, Fast or Fast Plus mode. Hardcoding of min/max bus frequencies is removed and is instead computed. The driver do not use anymore speed identifier but instead handle directly the frequency and figure out the spec data (necessary for the computation of the timing register) based on the frequency. Signed-off-by: Alain Volmat <alain.volmat@st.com> Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions