mfd: da9062: Support SMBus and I2C mode
authorAndrej Picej <andrej.picej@norik.com>
Wed, 24 Nov 2021 06:51:19 +0000 (07:51 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 29 Nov 2021 13:17:00 +0000 (13:17 +0000)
commit5c6f0f456351f5ca7d3b1a82060821eac4a7dc5c
treee8b8bff7c856f84b359303f3e0b1da63ce71c093
parent9651cf2cb14726c785240e9dc01b274a68e9959e
mfd: da9062: Support SMBus and I2C mode

Enable the I2C bus mode if I2C_FUNC_I2C is set. Based on da6093 commit:
"586478bfc9f7 mfd: da9063: Support SMBus and I2C mode"

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211124065119.2514872-1-andrej.picej@norik.com
drivers/mfd/da9062-core.c