From 1e71a79ba1bad8664dd1253de231e6bcdc5dab59 Mon Sep 17 00:00:00 2001 From: Lin Yu-Cheng Date: Mon, 28 Apr 2025 14:10:53 +0800 Subject: [PATCH] soc : realtek: ec: rts5912: add soc rts5915 config Add the config for user to chose rts5915 Signed-off-by: Lin Yu-Cheng --- soc/realtek/ec/rts5912/Kconfig.soc | 15 +++++++++++++++ soc/realtek/ec/soc.yml | 1 + 2 files changed, 16 insertions(+) diff --git a/soc/realtek/ec/rts5912/Kconfig.soc b/soc/realtek/ec/rts5912/Kconfig.soc index cf86fe3bcb7..8aff941af3b 100644 --- a/soc/realtek/ec/rts5912/Kconfig.soc +++ b/soc/realtek/ec/rts5912/Kconfig.soc @@ -16,5 +16,20 @@ config SOC_RTS5912 bool select SOC_SERIES_RTS5912 +config SOC_SERIES_RTS5915 + bool + help + The Token for the RTS5915. There are no driver or software changes needed. + +config SOC_RTS5915 + bool + select SOC_SERIES_RTS5915 + select SOC_SERIES_RTS5912 + select SOC_RTS5912 + help + The RTS5915 is a repackage of the RTS5912. There are no driver or software + changes needed. + config SOC default "rts5912" if SOC_RTS5912 + default "rts5915" if SOC_RTS5915 diff --git a/soc/realtek/ec/soc.yml b/soc/realtek/ec/soc.yml index 928ceedb635..5dc65e53824 100644 --- a/soc/realtek/ec/soc.yml +++ b/soc/realtek/ec/soc.yml @@ -1,2 +1,3 @@ socs: - name: rts5912 +- name: rts5915