i2c: thunderx: ACPI support for clock settings
authorJan Glauber <jglauber@cavium.com>
Thu, 2 Mar 2017 10:34:07 +0000 (11:34 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 23 Mar 2017 20:49:27 +0000 (21:49 +0100)
commit346e400cfcebeb2a3dc3ede80cbd8b6fb95165ce
tree4678ca8437ec5069a7d4079d4a5f6f3657dd8c9d
parent4165bd4b91b9328fda07da8b2d1f49707f54abe1
i2c: thunderx: ACPI support for clock settings

Add support for reading the system clock and the TWSI clock
frequency from ACPI DSDT.

TWSI clock was already covered by using device_property_read().

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-thunderx-pcidrv.c