thesofproject / linux

Linux kernel source tree
Other
91 stars 133 forks source link

ASoC: SOF: imx: drop usage of the imx8_*_clocks API #4877

Closed LaurentiuM1234 closed 8 months ago

LaurentiuM1234 commented 8 months ago

Currently, the driver has to keep track of all the clocks it uses via an array of "struct clk_bulkdata", which doesn't scale well and is unnecessary. As such, replace the usage of the imx8*_clocks with "devm_clk_bulk_get_all()" and friends.

dbaluta commented 8 months ago

Looks good to me @LaurentiuM1234. We can now remove the implementation of imx8_parse_clocks from imx-common.c also.

LaurentiuM1234 commented 8 months ago

V2 changes

  1. Added patch that removes the imx8_*_clocks API.
dbaluta commented 8 months ago

@lgirdwood this is good to merge.