Skip to content

Commit

Permalink
i2c: mlxcpld: Add support for I2C bus frequency setting
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
vadimp-nvidia authored and wsakernel committed Jan 6, 2021
1 parent 45c6c87 commit 66b0c28
Showing 1 changed file with 62 additions and 1 deletion.
63 changes: 62 additions & 1 deletion drivers/i2c/busses/i2c-mlxcpld.c

0 comments on commit 66b0c28

Please sign in to comment.