diff options
author | Jayachandran C <[email protected]> | 2017-10-10 11:57:55 +0530 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2017-10-17 23:53:16 +0200 |
commit | c347b8fc22b21899154cc153a4951aaf226b4e1a (patch) | |
tree | 2dd182ae80e703a6b3b53889099c0beab3969e70 /lib/test_overflow.c | |
parent | 1977dbefe92c0baefefb62927df6e3908af8c453 (diff) |
i2c: xlp9xx: Get clock frequency with clk API
Get the input clock frequency to the controller from the linux clk
API, if it is available. This allows us to pass in the block input
frequency either from ACPI (using APD) or from device tree.
The old hardcoded frequency is used as default for backwards compatibility.
Signed-off-by: Jayachandran C <[email protected]>
Signed-off-by: Kamlakant Patel <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions