Skip to content

Commit a3cab62

Browse files
committed
misc: amd-apml: Update Alert_L driver to use global device registry
Modify device tree-based device discovery in Alert_L driver with centralized device registry from apml_common module. This provides more reliable to sbrmi/sbtsi device access for processing alerts and eliminates DTS parsing. Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com> Signed-off-by: Akshay Gupta <akshay.gupta@amd.com> Signed-off-by: sathya priya kumar <SathyaPriya.K@amd.com>
1 parent 5edd96b commit a3cab62

File tree

4 files changed

+195
-266
lines changed

4 files changed

+195
-266
lines changed

drivers/misc/amd-apml/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ config APML_SBTSI
4040

4141
config APML_ALERTL
4242
tristate "Emulated apml alertl interface driver over i3c bus"
43-
depends on APML_SBRMI && APML_SBTSI
43+
depends on (APML_SBRMI || APML_SBTSI) && APML_COMMON
4444
default n
4545
help
4646
This driver provides support for AMD APML Alert_L interface,

drivers/misc/amd-apml/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
obj-$(CONFIG_APML_COMMON) += apml_common.o
88
obj-$(CONFIG_APML_SBRMI) += sbrmi.o sbrmi-common.o
99
obj-$(CONFIG_APML_SBTSI) += apml_sbtsi.o
10-
obj-$(CONFIG_APML_ALERTL) += apml_alertl.o
10+
obj-$(CONFIG_APML_ALERTL) += apml_alertl.o

0 commit comments

Comments
 (0)