summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-fsl-sai.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clk: fsl-sai: use devm_clk_hw_register_composite_pdata()Michael Walle2020-12-071-19/+7
| | | | | | | | Simplify the driver by using that helper and drop the remove() function. Signed-off-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20201105192746.19564-4-michael@walle.cc Signed-off-by: Stephen Boyd <sboyd@kernel.org>
* clk: fsl-sai: fix memory leakMichael Walle2020-12-071-0/+12
| | | | | | | | | | If the device is removed we don't unregister the composite clock. Fix that. Fixes: 9cd10205227c ("clk: fsl-sai: new driver") Signed-off-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20201105192746.19564-2-michael@walle.cc Signed-off-by: Stephen Boyd <sboyd@kernel.org>
* clk: fsl-sai: new driverMichael Walle2020-01-281-0/+92
With this driver it is possible to use the BCLK pin of the SAI module as a generic clock output. This is esp. useful if you want to drive a clock to an audio codec. Because the output only allows integer divider values the audio codec needs an integrated PLL. Signed-off-by: Michael Walle <michael@walle.cc> Link: https://lkml.kernel.org/r/20200102231101.11834-3-michael@walle.cc Signed-off-by: Stephen Boyd <sboyd@kernel.org>