From 34b70fd1635d7066e366dc72c155b9b78f03e8cc Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 17 Nov 2021 21:01:20 -0700 Subject: mb/system76/*: Enable dGPU temp/fan reporting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Select the EC option on boards with dGPUs to report GPU temperature and fan data. Tested on system76/oryp6. The GPU fan speed is reported in sensors when the system is under load. system76_acpi-acpi-0 Adapter: ACPI interface CPU fan: 1985 RPM GPU fan: 2348 RPM CPU temp: +68.0°C GPU temp: +0.0°C Change-Id: Ieb45dc277c7eb11be1c50b9a9e3e20e3a88578b7 Signed-off-by: Tim Crawford Reviewed-on: https://review.coreboot.org/c/coreboot/+/59123 Tested-by: build bot (Jenkins) Reviewed-by: Jeremy Soller --- src/mainboard/system76/addw1/Kconfig | 1 + src/mainboard/system76/bonw14/Kconfig | 1 + src/mainboard/system76/galp5/Kconfig | 1 + src/mainboard/system76/gaze15/Kconfig | 1 + src/mainboard/system76/gaze16/Kconfig | 1 + src/mainboard/system76/oryp5/Kconfig | 1 + src/mainboard/system76/oryp6/Kconfig | 1 + src/mainboard/system76/oryp8/Kconfig | 1 + 8 files changed, 8 insertions(+) (limited to 'src') diff --git a/src/mainboard/system76/addw1/Kconfig b/src/mainboard/system76/addw1/Kconfig index 1c1a614ea8..c307a7db12 100644 --- a/src/mainboard/system76/addw1/Kconfig +++ b/src/mainboard/system76/addw1/Kconfig @@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC select EC_SYSTEM76_EC_BAT_THRESHOLDS select EC_SYSTEM76_EC_COLOR_KEYBOARD + select EC_SYSTEM76_EC_DGPU select EC_SYSTEM76_EC_OLED select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES diff --git a/src/mainboard/system76/bonw14/Kconfig b/src/mainboard/system76/bonw14/Kconfig index 6f93e09de1..adbf3c6d4b 100644 --- a/src/mainboard/system76/bonw14/Kconfig +++ b/src/mainboard/system76/bonw14/Kconfig @@ -7,6 +7,7 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC select EC_SYSTEM76_EC_BAT_THRESHOLDS select EC_SYSTEM76_EC_COLOR_KEYBOARD + select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select HAVE_CMOS_DEFAULT diff --git a/src/mainboard/system76/galp5/Kconfig b/src/mainboard/system76/galp5/Kconfig index 534c25319f..15b2cbdc98 100644 --- a/src/mainboard/system76/galp5/Kconfig +++ b/src/mainboard/system76/galp5/Kconfig @@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS select DRIVERS_INTEL_USB4_RETIMER select EC_SYSTEM76_EC select EC_SYSTEM76_EC_BAT_THRESHOLDS + select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_TABLES select HAVE_CMOS_DEFAULT select HAVE_OPTION_TABLE diff --git a/src/mainboard/system76/gaze15/Kconfig b/src/mainboard/system76/gaze15/Kconfig index 6f84e86a48..7bdfac42b9 100644 --- a/src/mainboard/system76/gaze15/Kconfig +++ b/src/mainboard/system76/gaze15/Kconfig @@ -7,6 +7,7 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC select EC_SYSTEM76_EC_BAT_THRESHOLDS select EC_SYSTEM76_EC_COLOR_KEYBOARD + select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select HAVE_CMOS_DEFAULT diff --git a/src/mainboard/system76/gaze16/Kconfig b/src/mainboard/system76/gaze16/Kconfig index 90d871ec07..7b427cd5c8 100644 --- a/src/mainboard/system76/gaze16/Kconfig +++ b/src/mainboard/system76/gaze16/Kconfig @@ -7,6 +7,7 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC select EC_SYSTEM76_EC_BAT_THRESHOLDS select EC_SYSTEM76_EC_COLOR_KEYBOARD + select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select HAVE_CMOS_DEFAULT diff --git a/src/mainboard/system76/oryp5/Kconfig b/src/mainboard/system76/oryp5/Kconfig index 317e29b988..1dee8ad952 100644 --- a/src/mainboard/system76/oryp5/Kconfig +++ b/src/mainboard/system76/oryp5/Kconfig @@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC select EC_SYSTEM76_EC_BAT_THRESHOLDS select EC_SYSTEM76_EC_COLOR_KEYBOARD + select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select HAVE_CMOS_DEFAULT diff --git a/src/mainboard/system76/oryp6/Kconfig b/src/mainboard/system76/oryp6/Kconfig index b4a5903a3a..246f02baa2 100644 --- a/src/mainboard/system76/oryp6/Kconfig +++ b/src/mainboard/system76/oryp6/Kconfig @@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC select EC_SYSTEM76_EC_BAT_THRESHOLDS select EC_SYSTEM76_EC_COLOR_KEYBOARD + select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select HAVE_CMOS_DEFAULT diff --git a/src/mainboard/system76/oryp8/Kconfig b/src/mainboard/system76/oryp8/Kconfig index 6c9ff4e5eb..aee45bee69 100644 --- a/src/mainboard/system76/oryp8/Kconfig +++ b/src/mainboard/system76/oryp8/Kconfig @@ -8,6 +8,7 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC select EC_SYSTEM76_EC_BAT_THRESHOLDS select EC_SYSTEM76_EC_COLOR_KEYBOARD + select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select HAVE_CMOS_DEFAULT -- cgit v1.2.3