diff options
author | Weilong Chen <chenweilong@huawei.com> | 2022-11-08 09:58:11 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-12-07 21:03:26 +0100 |
commit | 3256412fc57b6cabbc1cf1317d020e42f6d7aeab (patch) | |
tree | 003cb34e079bdd60293766d43e8cbf72dc30d23f /certs/blacklist.h | |
parent | d78a167332e1ca8113268ed922c1212fd71b73ad (diff) | |
download | linux-stable-3256412fc57b6cabbc1cf1317d020e42f6d7aeab.tar.gz linux-stable-3256412fc57b6cabbc1cf1317d020e42f6d7aeab.tar.bz2 linux-stable-3256412fc57b6cabbc1cf1317d020e42f6d7aeab.zip |
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>
Diffstat (limited to 'certs/blacklist.h')
0 files changed, 0 insertions, 0 deletions