From 7ed7b2b90232bc847c08e5433b0e3fe6167c1d7d Mon Sep 17 00:00:00 2001 From: Ivaylo Ivanov Date: Tue, 15 Aug 2023 14:15:02 +0300 Subject: [PATCH] soc: apple: Add basic support for Apple T8010 (aka A10) Signed-off-by: Ivaylo Ivanov --- include/soc/t8010.h | 9 +++++++++ soc/Kconfig | 7 +++++++ soc/Makefile | 3 ++- soc/apple/t8010.c | 10 ++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 include/soc/t8010.h create mode 100644 soc/apple/t8010.c diff --git a/include/soc/t8010.h b/include/soc/t8010.h new file mode 100644 index 0000000..db7a046 --- /dev/null +++ b/include/soc/t8010.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2023, Ivaylo Ivanov + */ + +#ifndef T8010_H_ /* Include guard */ +#define T8010_H_ + +#endif // T8010_H_ diff --git a/soc/Kconfig b/soc/Kconfig index 24ddf63..11d2da7 100644 --- a/soc/Kconfig +++ b/soc/Kconfig @@ -20,6 +20,13 @@ config QUALCOMM help Say Y if your device uses Apple T7000 SoC + config APPLE_T8010 + bool "Support for Apple T8010" + default n + select APPLE_SILICON + help + Say Y if your device uses Apple T8010 SoC + config EXYNOS_7420 bool "Support for Exynos 7420" default n diff --git a/soc/Makefile b/soc/Makefile index 2adfe82..1f3b650 100644 --- a/soc/Makefile +++ b/soc/Makefile @@ -1,8 +1,9 @@ lib-$(CONFIG_APPLE_T7000) += apple/t7000.o +lib-$(CONFIG_APPLE_T8010) += apple/t8010.o lib-$(CONFIG_EXYNOS_7420) += exynos/exynos7420.o lib-$(CONFIG_EXYNOS_7570) += exynos/exynos7570.o lib-$(CONFIG_EXYNOS_7885) += exynos/exynos7885.o lib-$(CONFIG_EXYNOS_8895) += exynos/exynos8895.o lib-$(CONFIG_EXYNOS_9810) += exynos/exynos9810.o lib-$(CONFIG_EXYNOS_990) += exynos/exynos990.o -lib-$(CONFIG_QC32_8916) += qualcomm/msm8916.o \ No newline at end of file +lib-$(CONFIG_QC32_8916) += qualcomm/msm8916.o diff --git a/soc/apple/t8010.c b/soc/apple/t8010.c new file mode 100644 index 0000000..9d03562 --- /dev/null +++ b/soc/apple/t8010.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2023, Ivaylo Ivanov + */ + +#include + +void soc_init(void) { + +}