mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / poppy / Kconfig
blob3bc24a58d578982eb1b144b0135fc47fabb37789
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_GOOGLE_BASEBOARD_POPPY
4         def_bool n
5         select BOARD_ROMSIZE_KB_16384
6         select DRIVERS_GENERIC_GPIO_KEYS
7         select DRIVERS_I2C_GENERIC
8         select DRIVERS_I2C_HID
9         select EC_GOOGLE_CHROMEEC
10         select EC_GOOGLE_CHROMEEC_BOARDID
11         select EC_GOOGLE_CHROMEEC_ESPI
12         select HAVE_ACPI_RESUME
13         select HAVE_ACPI_TABLES
14         select HAVE_SPD_IN_CBFS
15         select INTEL_LPSS_UART_FOR_CONSOLE
16         select MAINBOARD_HAS_CHROMEOS
17         select MAINBOARD_HAS_TPM2
18         select SOC_INTEL_KABYLAKE
19         select TPM_GOOGLE_CR50
21 config BOARD_GOOGLE_ATLAS
22         select BOARD_GOOGLE_BASEBOARD_POPPY
23         select CHROMEOS_WIFI_SAR if CHROMEOS
24         select DRIVERS_I2C_DA7219
25         select DRIVERS_I2C_MAX98373
26         select DRIVERS_SPI_ACPI
27         select DRIVERS_USB_ACPI
28         select EXCLUDE_NATIVE_SD_INTERFACE
29         select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
30         select INTEL_GMA_HAVE_VBT
31         select MAINBOARD_HAS_LIBGFXINIT
32         select SPI_TPM
33         select SYSTEM_TYPE_LAPTOP
34         select VARIANT_HAS_CAMERA_ACPI
36 config BOARD_GOOGLE_POPPY
37         select BOARD_GOOGLE_BASEBOARD_POPPY
38         select DRIVERS_I2C_MAX98927
39         select I2C_TPM
40         select NO_FADT_8042
41         select SYSTEM_TYPE_LAPTOP
42         select VARIANT_HAS_CAMERA_ACPI
44 config BOARD_GOOGLE_NAMI
45         select BOARD_GOOGLE_BASEBOARD_POPPY
46         select CHROMEOS_WIFI_SAR if CHROMEOS
47         select DRIVERS_GENERIC_MAX98357A
48         select DRIVERS_I2C_DA7219
49         select DRIVERS_SPI_ACPI
50         select EXCLUDE_NATIVE_SD_INTERFACE
51         select INTEL_GMA_HAVE_VBT
52         select MAINBOARD_HAS_LIBGFXINIT
53         select SPI_TPM
54         select SYSTEM_TYPE_LAPTOP
56 config BOARD_GOOGLE_NAUTILUS
57         select BOARD_GOOGLE_BASEBOARD_POPPY
58         select CHROMEOS_WIFI_SAR if CHROMEOS
59         select DRIVERS_GENERIC_MAX98357A
60         select DRIVERS_I2C_DA7219
61         select I2C_TPM
62         select INTEL_GMA_HAVE_VBT
63         select MAINBOARD_HAS_LIBGFXINIT
64         select SYSTEM_TYPE_CONVERTIBLE
65         select VARIANT_HAS_CAMERA_ACPI
67 config BOARD_GOOGLE_NOCTURNE
68         select BOARD_GOOGLE_BASEBOARD_POPPY
69         select CHROMEOS_WIFI_SAR if CHROMEOS
70         select DRIVERS_I2C_DA7219
71         select DRIVERS_I2C_MAX98373
72         select DRIVERS_I2C_SX9310
73         select DRIVERS_SPI_ACPI
74         select DRIVERS_USB_ACPI
75         select EXCLUDE_NATIVE_SD_INTERFACE
76         select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
77         select INTEL_GMA_HAVE_VBT
78         select NO_FADT_8042
79         select SPI_TPM
80         select SYSTEM_TYPE_DETACHABLE
81         select VARIANT_HAS_CAMERA_ACPI
83 config BOARD_GOOGLE_RAMMUS
84         select BOARD_GOOGLE_BASEBOARD_POPPY
85         select CHROMEOS_WIFI_SAR if CHROMEOS
86         select DRIVERS_I2C_DA7219
87         select DRIVERS_I2C_MAX98927
88         select DRIVERS_SPI_ACPI
89         select DRIVERS_USB_ACPI
90         select INTEL_GMA_HAVE_VBT
91         select MAINBOARD_HAS_LIBGFXINIT
92         select SPI_TPM
93         select SYSTEM_TYPE_LAPTOP
95 config BOARD_GOOGLE_SORAKA
96         select BOARD_GOOGLE_BASEBOARD_POPPY
97         select DRIVERS_I2C_MAX98927
98         select I2C_TPM
99         select INTEL_GMA_HAVE_VBT
100         select MAINBOARD_HAS_LIBGFXINIT
101         select NO_FADT_8042
102         select SYSTEM_TYPE_DETACHABLE
103         select VARIANT_HAS_CAMERA_ACPI
105 if BOARD_GOOGLE_BASEBOARD_POPPY
107 config DISABLE_HECI1_AT_PRE_BOOT
108         default y
110 config CHROMEOS_WIFI_SAR
111         bool
112         depends on CHROMEOS
113         select DSAR_ENABLE
114         select SAR_ENABLE
115         select USE_SAR
117 config DEVICETREE
118         default "variants/atlas/devicetree.cb" if BOARD_GOOGLE_ATLAS
119         default "variants/nami/devicetree.cb" if BOARD_GOOGLE_NAMI
120         default "variants/nautilus/devicetree.cb" if BOARD_GOOGLE_NAUTILUS
121         default "variants/nocturne/devicetree.cb" if BOARD_GOOGLE_NOCTURNE
122         default "variants/rammus/devicetree.cb" if BOARD_GOOGLE_RAMMUS
123         default "variants/soraka/devicetree.cb" if BOARD_GOOGLE_SORAKA
124         default "variants/baseboard/devicetree.cb"
126 config DRIVER_TPM_I2C_BUS
127         depends on I2C_TPM
128         default 0x1
130 config DRIVER_TPM_I2C_ADDR
131         depends on I2C_TPM
132         default 0x50
134 config DRIVER_TPM_SPI_BUS
135         depends on SPI_TPM
136         default 0x1
138 config INCLUDE_NHLT_BLOBS
139         bool "Include blobs for audio."
140         select NHLT_DMIC_2CH
141         select NHLT_DMIC_4CH
142         select NHLT_MAX98927
143         select NHLT_RT5663
145 config INCLUDE_NHLT_BLOBS_ATLAS
146         bool "Include blobs for atlas audio."
147         select NHLT_DA7219
148         select NHLT_DMIC_4CH
149         select NHLT_MAX98373
151 config INCLUDE_NHLT_BLOBS_NAUTILUS
152         bool "Include blobs for nautilus audio."
153         select NHLT_DA7219
154         select NHLT_DMIC_4CH
155         select NHLT_MAX98357
157 config INCLUDE_NHLT_BLOBS_NAMI
158         bool "Include blobs for nami audio."
159         select NHLT_DA7219
160         select NHLT_DMIC_4CH
161         select NHLT_MAX98357
163 config INCLUDE_NHLT_BLOBS_NOCTURNE
164         bool "Include blobs for nocturne audio."
165         select NHLT_DMIC_4CH
166         select NHLT_MAX98373
168 config INCLUDE_NHLT_BLOBS_RAMMUS
169         bool "Include blobs for rammus audio."
170         select NHLT_DA7219
171         select NHLT_DMIC_4CH
172         select NHLT_MAX98927
174 config MAINBOARD_DIR
175         default "google/poppy"
177 config MAINBOARD_FAMILY
178         string
179         default "Google_Atlas" if BOARD_GOOGLE_ATLAS
180         default "Google_Poppy" if BOARD_GOOGLE_POPPY
181         default "Google_Nami" if BOARD_GOOGLE_NAMI
182         default "Google_Nautilus" if BOARD_GOOGLE_NAUTILUS
183         default "Google_Nocturne" if BOARD_GOOGLE_NOCTURNE
184         default "Google_Rammus" if BOARD_GOOGLE_RAMMUS
185         default "Google_Soraka" if BOARD_GOOGLE_SORAKA
187 config MAINBOARD_PART_NUMBER
188         default "Atlas" if BOARD_GOOGLE_ATLAS
189         default "Poppy" if BOARD_GOOGLE_POPPY
190         default "Nami" if BOARD_GOOGLE_NAMI
191         default "Nautilus" if BOARD_GOOGLE_NAUTILUS
192         default "Nocturne" if BOARD_GOOGLE_NOCTURNE
193         default "Rammus" if BOARD_GOOGLE_RAMMUS
194         default "Soraka" if BOARD_GOOGLE_SORAKA
196 config OEM_BIN_FILE
197         string "OEM ID table"
198         default ""
200 config TPM_TIS_ACPI_INTERRUPT
201         int
202         default 64  # GPE0_DW2_00 (GPP_E0)
204 config VARIANT_DIR
205         default "atlas" if BOARD_GOOGLE_ATLAS
206         default "poppy" if BOARD_GOOGLE_POPPY
207         default "nami" if BOARD_GOOGLE_NAMI
208         default "nautilus" if BOARD_GOOGLE_NAUTILUS
209         default "nocturne" if BOARD_GOOGLE_NOCTURNE
210         default "rammus" if BOARD_GOOGLE_RAMMUS
211         default "soraka" if BOARD_GOOGLE_SORAKA
213 # Select this option to enable camera ACPI support on the variant.
214 config VARIANT_HAS_CAMERA_ACPI
215         bool
216         default n
218 config VBOOT
219         select EC_GOOGLE_CHROMEEC_SWITCHES
220         select HAS_RECOVERY_MRC_CACHE
221         select VBOOT_LID_SWITCH
223 config UART_FOR_CONSOLE
224         int
225         default 2
227 config USE_PM_ACPI_TIMER
228         default n
230 endif # BOARD_GOOGLE_BASEBOARD_POPPY