driver: clock control: Microchip XEC fix missing domain parameter

The clock control driver requires three pieces of information:
PCR register index, bit position, and clock domain. Clock domain
was missing from DT information and MCHP macros.

Signed-off-by: Manimaran A <manimaran.a@microchip.com>
This commit is contained in:
Manimaran A 2023-03-07 16:37:04 +05:30 committed by Anas Nashif
commit c42a155988
5 changed files with 10 additions and 8 deletions

View file

@ -47,7 +47,8 @@
#define ECIA_XEC_PCR_INFO \
MCHP_XEC_PCR_SCR_ENCODE(DT_INST_CLOCKS_CELL(0, regidx), \
DT_INST_CLOCKS_CELL(0, bitpos))
DT_INST_CLOCKS_CELL(0, bitpos), \
DT_INST_CLOCKS_CELL(0, domain))
struct xec_girq_config {
uintptr_t base;