Matt Delco has uploaded this change for review. ( https://review.coreboot.org/27606
Change subject: mainboard/google: set type to convertible ......................................................................
mainboard/google: set type to convertible
A subsequent change will change which acpi device is used to signal tablet mode changes. The intel-vbtn driver on Linux has a workaround that checks that the type is a chasis, so systems that will use this driver need to specify they're a convertible.
Change-Id: I05772d9d822ea5756e9dd8bf5b478046c5de3c5f Signed-off-by: Matt Delco delco@chromium.org --- M src/mainboard/google/eve/Kconfig M src/mainboard/google/octopus/Kconfig M src/mainboard/google/poppy/Kconfig M src/mainboard/google/reef/Kconfig 4 files changed, 46 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/27606/1
diff --git a/src/mainboard/google/eve/Kconfig b/src/mainboard/google/eve/Kconfig index 7c98339..8da66fe 100644 --- a/src/mainboard/google/eve/Kconfig +++ b/src/mainboard/google/eve/Kconfig @@ -69,6 +69,11 @@ int default 8
+# This type is checked by Linux tablet mode driver (intel-vbtn) +config SMBIOS_ENCLOSURE_TYPE + hex + default 0x1f # SMBIOS_ENCLOSURE_CONVERTIBLE + config INCLUDE_NHLT_BLOBS bool "Include blobs for audio." select NHLT_RT5514 diff --git a/src/mainboard/google/octopus/Kconfig b/src/mainboard/google/octopus/Kconfig index dc58ec8..ebbcd4f 100644 --- a/src/mainboard/google/octopus/Kconfig +++ b/src/mainboard/google/octopus/Kconfig @@ -100,4 +100,22 @@ int default 63 # GPE0_DW1_31 (GPIO_63)
+if BOARD_GOOGLE_PHASER + +# This type is checked by Linux tablet mode driver (intel-vbtn) +config SMBIOS_ENCLOSURE_TYPE + hex + default 0x1f # SMBIOS_ENCLOSURE_CONVERTIBLE + +endif # BOARD_GOOGLE_PHASER + +if BOARD_GOOGLE_YORP + +# This type is checked by Linux tablet mode driver (intel-vbtn) +config SMBIOS_ENCLOSURE_TYPE + hex + default 0x1f # SMBIOS_ENCLOSURE_CONVERTIBLE + +endif # BOARD_GOOGLE_YORP + endif # BOARD_GOOGLE_OCTOPUS diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig index 06501f7..54622dd 100644 --- a/src/mainboard/google/poppy/Kconfig +++ b/src/mainboard/google/poppy/Kconfig @@ -118,6 +118,24 @@ string "OEM ID table" default ""
+if BOARD_GOOGLE_NAUTILUS + +# This type is checked by Linux tablet mode driver (intel-vbtn) +config SMBIOS_ENCLOSURE_TYPE + hex + default 0x1f # SMBIOS_ENCLOSURE_CONVERTIBLE + +endif # BOARD_GOOGLE_NAUTILUS + +if BOARD_GOOGLE_NAMI + +# This type is checked by Linux tablet mode driver (intel-vbtn) +config SMBIOS_ENCLOSURE_TYPE + hex + default 0x1f # SMBIOS_ENCLOSURE_CONVERTIBLE + +endif # BOARD_GOOGLE_NAMI + config TPM_TIS_ACPI_INTERRUPT int default 64 # GPE0_DW2_00 (GPP_E0) diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig index 09b2e61..d1a0632 100644 --- a/src/mainboard/google/reef/Kconfig +++ b/src/mainboard/google/reef/Kconfig @@ -109,4 +109,9 @@ default 0xe00 if CHROMEOS default 0xc00
+# This type is checked by Linux tablet mode driver (intel-vbtn) +config SMBIOS_ENCLOSURE_TYPE + hex + default 0x1f # SMBIOS_ENCLOSURE_CONVERTIBLE + endif # BOARD_GOOGLE_REEF