]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe1cc58899ea3881de0c27f0a077231bc7f319d1
treee8b8bff7c856f84b359303f3e0b1da63ce71c093
parent0709c835259e4f2fd76dcd8b88e7af6268842e15
mfd: da9062: Support SMBus and I2C mode

Enable the I2C bus mode if I2C_FUNC_I2C is set. Based on da6093 commit:
"3aa9c2115c41 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