Browse Source

feat(mt8188): add LPM driver support

Add LPM drivers and create rules.mk for makefile.

Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Change-Id: I0bfb99a4a763e7ca93260f62d1ced184259acb39
pull/1988/head
Bo-Chen Chen 2 years ago
parent
commit
f604e4ef6e
  1. 14
      plat/mediatek/drivers/lpm/rules.mk
  2. 1
      plat/mediatek/mt8188/platform.mk

14
plat/mediatek/drivers/lpm/rules.mk

@ -0,0 +1,14 @@
#
# Copyright (c) 2022, MediaTek Inc. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
LOCAL_DIR := $(call GET_LOCAL_DIR)
MODULE := lpm
LOCAL_SRCS-y := $(LOCAL_DIR)/mt_lp_rm.c
PLAT_INCLUDES += -I${LOCAL_DIR}
$(eval $(call MAKE_MODULE,$(MODULE),$(LOCAL_SRCS-y),$(MTK_BL)))

1
plat/mediatek/mt8188/platform.mk

@ -27,6 +27,7 @@ MODULES-y += $(MTK_PLAT)/drivers/dp
MODULES-y += $(MTK_PLAT)/drivers/gic600
MODULES-y += $(MTK_PLAT)/drivers/gpio
MODULES-y += $(MTK_PLAT)/drivers/iommu
MODULES-y += $(MTK_PLAT)/drivers/lpm
MODULES-y += $(MTK_PLAT)/drivers/pmic
MODULES-y += $(MTK_PLAT)/drivers/pmic_wrap
MODULES-y += $(MTK_PLAT)/drivers/rtc

Loading…
Cancel
Save