intel_adsp: restructure dmic headers and move regs to soc

The ifdefs in in dmic headers is getting out of control and makes
maintainence very ddifficult, especially when having to maintain out of
tree SoCs sharing the same data and information.

Keep header clean and per SoC and share some common registers in one
place instead avoiding confusion and making it easier to read and
maintain.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-06-23 12:37:53 +00:00
commit 7584c17374
6 changed files with 423 additions and 72 deletions

View file

@ -15,7 +15,7 @@ LOG_MODULE_REGISTER(LOG_DOMAIN);
#include <zephyr/drivers/dai.h>
#include <adsp_clk.h>
#include "dmic.h"
#include "dmic_regs.h"
#include <dmic_regs.h>
extern struct dai_dmic_global_shared dai_dmic_global;