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:
parent
754920a74f
commit
c42a155988
5 changed files with 10 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue