aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorVadim Pasternak <[email protected]>2021-01-05 23:33:47 +0000
committerWolfram Sang <[email protected]>2021-01-06 14:36:46 +0000
commit66b0c2846ba8de569026a067bb5a34ea5768408c (patch)
tree65f0a3ef11b3d623b68f4c4cafb499a5baec5095 /drivers/i2c/algos/i2c-algo-bit.c
parenti2c: busses: Use DEFINE_SPINLOCK() for spinlock (diff)
downloadkernel-66b0c2846ba8de569026a067bb5a34ea5768408c.tar.gz
kernel-66b0c2846ba8de569026a067bb5a34ea5768408c.zip
i2c: mlxcpld: Add support for I2C bus frequency setting
Add support for I2C bus frequency setting according to the specific system capability. This capability is obtained from CPLD frequency setting register, which could be provided through the platform data. If such register is provided, it specifies minimal I2C bus frequency to be used for the devices attached to the I2C bus. Supported freqeuncies are 100KHz, 400KHz, 1MHz, while 100KHz is the default. Signed-off-by: Vadim Pasternak <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions