mbox series

[v2,0/2] soundwire: set frame shape and divider based on actual clk

Message ID 20250114061621.110800-1-yung-chuan.liao@linux.intel.com (mailing list archive)
Headers show
Series soundwire: set frame shape and divider based on actual clk | expand

Message

Liao, Bard Jan. 14, 2025, 6:16 a.m. UTC
Set frame shape and clock divider based on actual clock frequency. And
with that change, we can support ckock change in Intel platforms.

v2:
 - Mave the check before writing the divider registers
 - Remove the 'freq' intermediate variable which is multiplied by two
   after divided by two.

Bard Liao (2):
  soundwire: cadence_master: set frame shape and divider based on actual
    clk freq
  Revert "soundwire: intel_auxdevice: start the bus at default
    frequency"

 drivers/soundwire/cadence_master.c  | 22 +++++++++++++++++++---
 drivers/soundwire/intel_auxdevice.c | 21 ---------------------
 2 files changed, 19 insertions(+), 24 deletions(-)