AMD SoundWire SOF generic driver changes for ACP 6.3 platform
This patch series is revised version of https://github.com/thesofproject/linux/pull/4817.
Compared to previous patch series, Below are the major changes.
- Define common Soundwire machine driver soc ops
- Move common Soundwire helper functions
- Move Soundwire codec helper functions
Not able to move all codec helper functions(like jack) as they are dependent on machine driver private data structures which will be different for Intel & AMD platforms. If partly codec helper functions made common, i think it's not good a choice to make few of codec helper functions as generic and few codec helper functions as platform specific.
In next series, will work on DAI parsing logic.
I do have still doubts on copyrights usage as I have moved codec helper files from intel/boards -> sdw_utils folder. Please help to provide suggestion on correct copyright usage.
@vijendarmukunda the preference from Intel would be to add a comment
/* This file incorporates work covered by the following copyright notice: Copyright (c) 2020 Intel Corporation */
below the new AMD copyright notice. (the year may vary depending on files)
@vijendarmukunda the preference from Intel would be to add a comment
/* This file incorporates work covered by the following copyright notice: Copyright (c) 2020 Intel Corporation */below the new AMD copyright notice. (the year may vary depending on files)
will update the copyright
@vijendarmukunda the preference from Intel would be to add a comment
/* This file incorporates work covered by the following copyright notice: Copyright (c) 2020 Intel Corporation */below the new AMD copyright notice. (the year may vary depending on files)
will update the copyright.
Changes Since V1:
- Moved all SoundWire codec helper functions to sdw_utils folder.
- Updated copyright statement
- Moved codec_info_list structure and its corresponding helper functions.
- Moved common Soundwire codec helper functions.
- Moved Machine driver dai link helper functions.
- Refactored late probe() function
- Add pci revision id field in mach_params structure and used it in amd sof driver stack.
- Renamed all common functions with _sdw tag.
- Rename structure names and macros to make it generic.
observing merge conflicts will rebase and log the changes in new pr.