[PATCH V6 0/2] soundwire: amd: clock related changes

From: Vijendar Mukunda

Date: Thu Feb 26 2026 - 01:57:54 EST


Refactor clock init sequence to support different bus clock frequencies
other than 12Mhz. Modify the bandwidth calculation logic to support 12Mhz,
6Mhz with different frame sizes.

Vijendar Mukunda (2):
soundwire: amd: add clock init control function
soundwire: amd: refactor bandwidth calculation logic

Changes since v5:
- change the 'divider' variable from signed to unsigned
- drop dev_dbg() logs in clock init control function
- change few variables(stream_slot_size, max_slots, next_offset)
from signed to unsigned in compute port parameters callback.

Changes since v4:
- update commit message

Changes since v3:
- drop unnecessary debug logs.

Changes since v2:
- Update commit message
- add comments in the code.

Changes since v1:
- Update Cover letter title.
- Fix typo error in commit message.
- drop unnecessary condition check in compute params callback.

drivers/soundwire/amd_manager.c | 100 ++++++++++++++++++++++++++----
drivers/soundwire/amd_manager.h | 4 --
include/linux/soundwire/sdw_amd.h | 4 ++
3 files changed, 93 insertions(+), 15 deletions(-)

--
2.45.2