The first four Google Tensor SoCs were offshoots of Samsung Exynos
SoCs. Starting with the Google Tensor G5 SoC in Pixel 10 phones,
Google Tensor SoCs are of Google's own design. Add ARCH_GOOGLE and
the mach-google directory to support this SoC family.

Signed-off-by: Kuan-Wei Chiu <[email protected]>
---
 MAINTAINERS                  |  6 ++++++
 arch/arm/Kconfig             | 21 +++++++++++++++++++++
 arch/arm/mach-google/Kconfig |  7 +++++++
 3 files changed, 34 insertions(+)
 create mode 100644 arch/arm/mach-google/Kconfig

diff --git a/MAINTAINERS b/MAINTAINERS
index 28d090d3c36..36b4c7f0246 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -356,6 +356,12 @@ F: arch/arm/cpu/arm1136/mx*/
 F:     arch/arm/cpu/arm926ejs/mx*/
 F:     arch/arm/include/asm/arch-mx*/
 
+ARM GOOGLE TENSOR SOC SUPPORT
+M:     Kuan-Wei Chiu <[email protected]>
+S:     Maintained
+F:     arch/arm/mach-google/
+K:     [gG]oogle.?[tT]ensor
+
 ARM HISILICON
 M:     Peter Griffin <[email protected]>
 M:     Manivannan Sadhasivam <[email protected]>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3e9f3b51031..e49438fde41 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2252,6 +2252,25 @@ config ARCH_GXP
        select OF_CONTROL
        imply CMD_DM
 
+config ARCH_GOOGLE
+       bool "Google-Designed SoC family"
+       select ARM64
+       select DM
+       select DM_SERIAL
+       select OF_CONTROL
+       select OF_UPSTREAM
+       select POSITION_INDEPENDENT
+       select SYSRESET
+       select SYSRESET_PSCI
+       select SYS_NS16550
+       select SYS_NS16550_MEM32
+       imply CMD_DM
+       help
+         This enables support for Google Tensor SoCs starting at the
+         Google Tensor G5 (Laguna) found in Pixel 10 and later phones.
+         Tensor G1 to G4 are offshoots of the Exynos family and are
+         enabled via ARCH_EXYNOS.
+
 endchoice
 
 config SUPPORT_PASSING_ATAGS
@@ -2356,6 +2375,8 @@ source "arch/arm/mach-davinci/Kconfig"
 
 source "arch/arm/mach-exynos/Kconfig"
 
+source "arch/arm/mach-google/Kconfig"
+
 source "arch/arm/mach-hpe/gxp/Kconfig"
 
 source "arch/arm/mach-highbank/Kconfig"
diff --git a/arch/arm/mach-google/Kconfig b/arch/arm/mach-google/Kconfig
new file mode 100644
index 00000000000..a9e605ebb82
--- /dev/null
+++ b/arch/arm/mach-google/Kconfig
@@ -0,0 +1,7 @@
+
+if ARCH_GOOGLE
+
+config SYS_VENDOR
+       default "google"
+
+endif
-- 
2.56.0.212.g129ede20d9-goog

Reply via email to