lib: utils: Split the FDT MPXY RPMI mailbox client into two parts

Instead of having one common FDT MPXY RPMI mailbox client drivers
for various RPMI service groups, split this driver into two parts:
1) Common MPXY RPMI mailbox client library
2) MPXY driver for RPMI clock service group

The above split enables having a separate MPXY driver for each
RPMI clock service group and #1 (above) will allow code sharing
between various MPXY RPMI drivers.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
This commit is contained in:
Anup Patel
2025-01-11 14:38:34 +05:30
committed by Anup Patel
parent 5ce121b7a1
commit d14340cb31
6 changed files with 191 additions and 154 deletions

View File

@@ -7,11 +7,15 @@ config FDT_MPXY
depends on FDT
default n
if FDT_MPXY
config FDT_MPXY_RPMI_MBOX
bool "FDT MPXY mailbox client driver"
depends on FDT_MAILBOX
bool "MPXY drivers as RPMI mailbox client"
depends on FDT_MAILBOX && FDT_MPXY
default n
if FDT_MPXY_RPMI_MBOX
config FDT_MPXY_RPMI_CLOCK
bool "MPXY driver for RPMI clock service group"
default n
endif