aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorWeilong Chen <[email protected]>2022-11-08 09:58:11 +0800
committerWolfram Sang <[email protected]>2022-12-07 21:03:26 +0100
commit3256412fc57b6cabbc1cf1317d020e42f6d7aeab (patch)
tree003cb34e079bdd60293766d43e8cbf72dc30d23f /lib/mpi/mpi-sub-ui.c
parentd78a167332e1ca8113268ed922c1212fd71b73ad (diff)
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 <[email protected]> Acked-by: Yicong Yang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions