Weilong Chen 3256412fc5 i2c: hisi: Add support to get clock frequency from clock
The clk_rate attribute is not generic device tree bindings for I2C
busses described in Documentation/devicetree/bindings/i2c/i2c.txt.
It can be managed by clock binding.

Support the driver to obtain clock information by clk_rate or
clock property. Find clock first, if not, fall back to clk_rate.

Signed-off-by: Weilong Chen <chenweilong@huawei.com>
Acked-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2022-12-07 21:03:26 +01:00
..
2020-09-27 15:14:16 +02:00
2022-10-02 00:56:15 +02:00
2021-08-19 19:18:17 +02:00
2022-11-01 13:41:28 +01:00
2022-09-16 20:27:30 +01:00
2022-07-22 18:46:41 +02:00
2021-04-17 22:00:58 +02:00
2022-01-14 18:50:52 -05:00
2021-11-23 10:00:12 +01:00