Page MenuHomeFreeBSD

rockchip: add audio-related clocks to the CRU driver
ClosedPublic

Authored by gonzo on Dec 30 2020, 12:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 13, 9:08 PM
Unknown Object (File)
Thu, May 23, 9:24 PM
Unknown Object (File)
Sat, May 18, 3:22 PM
Unknown Object (File)
May 13 2024, 5:14 AM
Unknown Object (File)
May 9 2024, 9:44 AM
Unknown Object (File)
Apr 29 2024, 3:33 AM
Unknown Object (File)
Apr 29 2024, 3:33 AM
Unknown Object (File)
Mar 31 2024, 2:31 PM

Details

Summary
  • Add I2S and CODEC clocks to CRU driver
  • Add support for gate selection to frac clock
  • Add setfreq support to mux clock

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35773
Build 32662: arc lint + arc unit

Event Timeline

sys/arm64/rockchip/clk/rk_clk_mux.c
166

We should honor the CLK_SET_ROUND* here.

sys/arm64/rockchip/clk/rk_clk_mux.c
166

Isn't it handled by line 151? We just pick any parent that can deliver a requested frequency with specified flags.
If we want the best suitable parent according to flags, additional modifications required to clknode_set_freq to get an actual freq achievable by the clock.

  • Add Allwinner codecs and I2S driver as an example for the framework usage
  • simple-amplifier: make gpio-enable optional

Revert back to the correct diff

manu added inline comments.
sys/arm64/rockchip/clk/rk_clk_mux.c
166

Yes you're right, I've miss read this part.

This revision is now accepted and ready to land.Dec 31 2020, 10:34 AM