From ad4723dac5232893d6ba9b4c9961d09a08e86cd2 Mon Sep 17 00:00:00 2001 From: Giulio Date: Wed, 9 Sep 2020 10:37:05 +0200 Subject: [PATCH] kernel-patches now working --- .../1002-imx8mm-Add-PCA9450-PMIC-support.patch | 7 ++++++- buildroot/configs/tiesse_tgr_defconfig | 14 +++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/buildroot/board/tiesse/tgr/kernel-patches/1002-imx8mm-Add-PCA9450-PMIC-support.patch b/buildroot/board/tiesse/tgr/kernel-patches/1002-imx8mm-Add-PCA9450-PMIC-support.patch index fab2ab5..083d78d 100644 --- a/buildroot/board/tiesse/tgr/kernel-patches/1002-imx8mm-Add-PCA9450-PMIC-support.patch +++ b/buildroot/board/tiesse/tgr/kernel-patches/1002-imx8mm-Add-PCA9450-PMIC-support.patch @@ -21,11 +21,14 @@ diff --git drivers/mfd/Makefile drivers/mfd/Makefile index c6755df735ba..962dcc88d99c 100644 --- linux-imx/drivers/mfd/Makefile +++ linux-imx/drivers/mfd/Makefile -@@ -241,3 +241,4 @@ +@@ -241,6 +241,7 @@ obj-$(CONFIG_MFD_STM32_LPTIMER) += stm32-lptimer.o obj-$(CONFIG_MFD_STM32_TIMERS) += stm32-timers.o obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o +obj-$(CONFIG_MFD_PCA9450) += pca9450.o + obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o + obj-$(CONFIG_RAVE_SP_CORE) += rave-sp.o + obj-$(CONFIG_MFD_ROHM_BD718XX) += rohm-bd718x7.o diff --git drivers/mfd/pca9450.c drivers/mfd/pca9450.c new file mode 100644 index 000000000000..85ce6e3eef68 @@ -362,6 +365,8 @@ index 1bddbefbc8e7..0072ad5666f8 100644 obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o +obj-$(CONFIG_REGULATOR_PCA9450) += pca9450-regulator.o + obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o + diff --git drivers/regulator/pca9450-regulator.c drivers/regulator/pca9450-regulator.c new file mode 100644 index 000000000000..6b9ce8f34e0e diff --git a/buildroot/configs/tiesse_tgr_defconfig b/buildroot/configs/tiesse_tgr_defconfig index 2d39523..f643405 100644 --- a/buildroot/configs/tiesse_tgr_defconfig +++ b/buildroot/configs/tiesse_tgr_defconfig @@ -20,12 +20,12 @@ BR2_PACKAGE_FIRMWARE_IMX=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -#BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -#BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -#BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/imx-atf" -#BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="rel_imx_4.19.35_1.1.0" -#BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" -#BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/imx-atf" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="rel_imx_4.19.35_1.1.0" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_GIT=y @@ -44,11 +44,11 @@ BR2_PACKAGE_HOST_MTOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS=y BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y +BR2_GLOBAL_PATCH_DIR="board/tiesse/tgr/packages-patches/" BR2_RELRO_FULL=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y BR2_TARGET_GENERIC_HOSTNAME="cros" BR2_TARGET_GENERIC_ISSUE="1337 Linux" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_TARGET_ENABLE_ROOT_LOGIN=y BR2_TARGET_GENERIC_ROOT_PASSWD="###ROOTPASSWORD###" BR2_SYSTEM_DHCP="eth0"