From patchwork Fri Jan 17 12:34:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11338879 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C1F6A138D for ; Fri, 17 Jan 2020 12:35:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9790420842 for ; Fri, 17 Jan 2020 12:35:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="UNShMxo7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727065AbgAQMfB (ORCPT ); Fri, 17 Jan 2020 07:35:01 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:40344 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726974AbgAQMe5 (ORCPT ); Fri, 17 Jan 2020 07:34:57 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200117123454euoutp01d14fed70b4ae518e8d6917973188aa99~qrLDPRYaq1059510595euoutp01Z for ; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200117123454euoutp01d14fed70b4ae518e8d6917973188aa99~qrLDPRYaq1059510595euoutp01Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1579264494; bh=7bP9Wbe+T9coiCBMja9JahNXtgI+R3IuhPdHDcd8cX8=; h=From:To:Cc:Subject:Date:References:From; b=UNShMxo7ocw3tn5KKPT8l7hMeBxTo+QquRrwFsN3bAl4yE/focZJT0GysHytWxgJC TRnwlrmuAr0Uk9xwX8xboOk/F/3x1f0e0ciOSSG/RDSoJYfj034646Nzvh12641Wud NFIFCM+FVkA+mLMCHBrqau6y7VeniNRmMlmc8Pyc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200117123454eucas1p2de60f9266adf3a935de282e71d4edf2c~qrLDFfyr61731917319eucas1p2r; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 05.7F.60679.EE9A12E5; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200117123454eucas1p2a7a3a6b64fae5382ef404ac2542aa4b3~qrLCkmeKI0707507075eucas1p2O; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200117123454eusmtrp1156f933cff6cb9ccca6ab86824979ee2~qrLCj6sY70166501665eusmtrp1s; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-0d-5e21a9ee079f Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 1B.C8.08375.DE9A12E5; Fri, 17 Jan 2020 12:34:53 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200117123453eusmtip26a8f9e3b15c4043a2c313dadd63eee55~qrLCQWAoT1301313013eusmtip2B; Fri, 17 Jan 2020 12:34:53 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH 1/3] ARM: dts: exynos: Add GPU thermal zone cooling maps for Odroid XU3/XU4/HC1 Date: Fri, 17 Jan 2020 13:34:46 +0100 Message-Id: <20200117123448.13807-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsWy7djPc7rvVirGGXQuk7fYOGM9q8X1L89Z Lc6f38BucXnXHDaLGef3MVmsPXKX3YHNY9OqTjaPvi2rGD0+b5ILYI7isklJzcksSy3St0vg yjh2dClbwQmJii3NOxgbGO8JdjFyckgImEis+NnH0sXIxSEksIJR4sXRD6wQzhdGidn3/rJB OJ8ZJVYe+8MC09L6+jxU1XJGic8PviK0XHo4kxmkik3AUKLrbRcbiC0i4CzRMLWRCaSIWWAb o8TrBTPZQRLCAokSl5dfAGtgEVCVWLZ4N2MXIwcHr4CtxKR2W4ht8hKrNxxgBumVEDjCJrH0 5FN2iISLxJYfD5ghbGGJV8e3QMVlJE5P7mGBaGhmlHh4bi07hNPDKHG5aQYjRJW1xJ1zv9hA tjELaEqs36UPEXaU2LphNTNIWEKAT+LGW3AoMQOZk7ZNhwrzSnS0CUFUq0nMOr4Obu3BC5eg zvGQ+Dl9ExOILSQQK7H012r2CYxysxB2LWBkXMUonlpanJueWmyUl1quV5yYW1yal66XnJ+7 iREY8af/Hf+yg3HXn6RDjAIcjEo8vAXLFOOEWBPLiitzDzFKcDArifDe7QUK8aYkVlalFuXH F5XmpBYfYpTmYFES5zVe9DJWSCA9sSQ1OzW1ILUIJsvEwSnVwFhtcG9Jyp13Dx7e/y7Z0f1C +o+soHTQzyn8mlEHo9IaLD4kx8+eu4FJ7XTj+vBPvcyOm/+F8rFqMxX2znU793iv24ba9dN1 F6TUaO4OrNFbfHTm1IdvvSbPNFx8/f7USV+vnBTjvRD56uOGTdvfqjjHvli4IaW87T3DpG0T w6c3XIlbbxe69fpvJZbijERDLeai4kQAvADGv/QCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGLMWRmVeSWpSXmKPExsVy+t/xe7pvVyrGGTS/sbHYOGM9q8X1L89Z Lc6f38BucXnXHDaLGef3MVmsPXKX3YHNY9OqTjaPvi2rGD0+b5ILYI7SsynKLy1JVcjILy6x VYo2tDDSM7S00DMysdQzNDaPtTIyVdK3s0lJzcksSy3St0vQyzh2dClbwQmJii3NOxgbGO8J djFyckgImEi0vj7P2sXIxSEksJRRYtunbSwQCRmJk9MaWCFsYYk/17rYIIo+MUqcmbiaCSTB JmAo0fUWJMHJISLgKnFoRS8zSBGzwA5Gie6WC+wgCWGBeImLzcsYQWwWAVWJZYt3A9kcHLwC thKT2m0hFshLrN5wgHkCI88CRoZVjCKppcW56bnFhnrFibnFpXnpesn5uZsYgWG27djPzTsY L20MPsQowMGoxMNbsEwxTog1say4MvcQowQHs5II791eoBBvSmJlVWpRfnxRaU5q8SFGU6Dd E5mlRJPzgTGQVxJvaGpobmFpaG5sbmxmoSTO2yFwMEZIID2xJDU7NbUgtQimj4mDU6qBcfaZ mpPhh567XtlSdoSZZ6NARomy0qbeOYdV/+Sfm6q40+hyoMQnq5PhBwN7e/ZyzOC87HL22xbe z3dn7PqbsLA+aVZ49UrjBbt959TITpQ8vKsj8OuM++c92LLYj7/dvlNWsj56Z1xBc+3Pwn2Z C+JbSx6YBv9xv32h3VjvfsPkFTfnZp/3v6LEUpyRaKjFXFScCAA07B+qSQIAAA== X-CMS-MailID: 20200117123454eucas1p2a7a3a6b64fae5382ef404ac2542aa4b3 X-Msg-Generator: CA X-RootMTR: 20200117123454eucas1p2a7a3a6b64fae5382ef404ac2542aa4b3 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200117123454eucas1p2a7a3a6b64fae5382ef404ac2542aa4b3 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add trip points and cooling maps for GPU thermal zone for Odroid XU3/XU4/HC1 boards. Trip points are based on the CPU thermal zone for the those boards. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5422-odroidhc1.dts | 32 ++++++++++ .../boot/dts/exynos5422-odroidxu3-common.dtsi | 59 +++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidhc1.dts b/arch/arm/boot/dts/exynos5422-odroidhc1.dts index f163206265bb..8f38ef5bff55 100644 --- a/arch/arm/boot/dts/exynos5422-odroidhc1.dts +++ b/arch/arm/boot/dts/exynos5422-odroidhc1.dts @@ -215,6 +215,38 @@ }; }; }; + gpu_thermal: gpu-thermal { + thermal-sensors = <&tmu_gpu 0>; + polling-delay-passive = <250>; + polling-delay = <0>; + trips { + gpu_alert0: gpu-alert-0 { + temperature = <70000>; + hysteresis = <10000>; + type = "active"; + }; + gpu_alert1: gpu-alert-1 { + temperature = <85000>; + hysteresis = <10000>; + type = "active"; + }; + gpu_crit0: gpu-crit-0 { + temperature = <120000>; + hysteresis = <0>; + type = "critical"; + }; + }; + cooling-maps { + map0 { + trip = <&gpu_alert0>; + cooling-device = <&gpu 0 2>; + }; + map1 { + trip = <&gpu_alert1>; + cooling-device = <&gpu 3 6>; + }; + }; + }; }; }; diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 1865a708b49f..5da2d81e3be2 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -357,6 +357,65 @@ }; }; }; + gpu_thermal: gpu-thermal { + thermal-sensors = <&tmu_gpu 0>; + polling-delay-passive = <250>; + polling-delay = <0>; + trips { + gpu_alert0: gpu-alert-0 { + temperature = <50000>; + hysteresis = <5000>; + type = "active"; + }; + gpu_alert1: gpu-alert-1 { + temperature = <60000>; + hysteresis = <5000>; + type = "active"; + }; + gpu_alert2: gpu-alert-2 { + temperature = <70000>; + hysteresis = <5000>; + type = "active"; + }; + gpu_crit0: gpu-crit-0 { + temperature = <120000>; + hysteresis = <0>; + type = "critical"; + }; + gpu_alert3: gpu-alert-3 { + temperature = <70000>; + hysteresis = <10000>; + type = "passive"; + }; + gpu_alert4: gpu-alert-4 { + temperature = <85000>; + hysteresis = <10000>; + type = "passive"; + }; + }; + cooling-maps { + map0 { + trip = <&gpu_alert0>; + cooling-device = <&fan0 0 1>; + }; + map1 { + trip = <&gpu_alert1>; + cooling-device = <&fan0 1 2>; + }; + map2 { + trip = <&gpu_alert2>; + cooling-device = <&fan0 2 3>; + }; + map3 { + trip = <&gpu_alert3>; + cooling-device = <&gpu 0 2>; + }; + map4 { + trip = <&gpu_alert4>; + cooling-device = <&gpu 3 6>; + }; + }; + }; }; }; From patchwork Fri Jan 17 12:34:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11338877 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 69178138D for ; Fri, 17 Jan 2020 12:34:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4653C2176D for ; Fri, 17 Jan 2020 12:34:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="WVIk9WZ7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727285AbgAQMe4 (ORCPT ); Fri, 17 Jan 2020 07:34:56 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36375 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbgAQMe4 (ORCPT ); Fri, 17 Jan 2020 07:34:56 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200117123455euoutp0215e185560112d2fa007862315e66ab0d~qrLDmEr5g1654316543euoutp02I for ; Fri, 17 Jan 2020 12:34:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200117123455euoutp0215e185560112d2fa007862315e66ab0d~qrLDmEr5g1654316543euoutp02I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1579264495; bh=F25q0dx4N/0otUjQDoHpV71xu06zNDNkTXl4Brete48=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WVIk9WZ7igwbiY57pJGt76wHKXABLcMBN1KFBNH7qdPB/s9lvzn6i/1A2ZnSh7wqQ 2zsCs3bWrB8WpSgwr46spkIuci3AnFVwuv2XhkF0C7bit2M3KbEYzEcQSZ3YAuf/tB QS7u/n9tUw0h1p4JBE4BMzJStkqSZOcMJVkOZZ4o= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200117123454eucas1p23c0c5069e2790d347ffc84f6a96d9f4d~qrLDOjdKY1731917319eucas1p2t; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 75.7F.60679.EE9A12E5; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200117123454eucas1p1e8f0e527dc39f1e0993b14c7098002e4~qrLC-7z6u1979919799eucas1p1h; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200117123454eusmtrp1553c3f46c879c87089ac5ba875aed1da~qrLC-Ympv0166501665eusmtrp1u; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-0f-5e21a9eed3ce Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id CB.C8.08375.EE9A12E5; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200117123454eusmtip23bc56662ae3e42b6cbef4d1d8707c7be~qrLCkYGbi1301313013eusmtip2C; Fri, 17 Jan 2020 12:34:53 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH 2/3] ARM: exynos_defconfig: Enable devfreq thermal integration Date: Fri, 17 Jan 2020 13:34:47 +0100 Message-Id: <20200117123448.13807-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200117123448.13807-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBIsWRmVeSWpSXmKPExsWy7djP87rvVirGGWydoGWxccZ6VovrX56z Wpw/v4Hd4vKuOWwWM87vY7JYe+QuuwObx6ZVnWwefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA ldE206fgGnvF5xPzmBsYL7B1MXJySAiYSJxbcYGli5GLQ0hgBaPEydcX2SCcL4wSk26vgcp8 ZpSYc+AUK0zL8i2f2EFsIYHljBL7F7LCdZx4vY4ZJMEmYCjR9bYLbIeIgLNEw9RGJpAiZoFt jBKvF8wE6xYWCJD48RyiiEVAVWL2iQdANgcHr4CtRMtmG4hl8hKrNxxgBglzCthJfLnkBxG+ ziaxaoENSFhCwEVi1ZpiiLCwxKvjW9ghbBmJ05N7wO6XEGhmlHh4bi07hNPDKHG5aQYjRJW1 xJ1zv8DWMgtoSqzfpQ8x01Fi90NNCJNP4sZbQZBiZiBz0rbpzBBhXomONiGIGW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us9v5fpz5eaPivLf+amkLrQ3Uj3n2c73NbdLsen7hqRV96XV9y09HXv2qvPJX/t1n2sf eaVZbJcmNOOUkq7iUp79avlPeNVmaxdZazFvF1ienyO9/XoAH6eEEktxRqKhFnNRcSIAVt6r Hl4CAAA= X-CMS-MailID: 20200117123454eucas1p1e8f0e527dc39f1e0993b14c7098002e4 X-Msg-Generator: CA X-RootMTR: 20200117123454eucas1p1e8f0e527dc39f1e0993b14c7098002e4 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200117123454eucas1p1e8f0e527dc39f1e0993b14c7098002e4 References: <20200117123448.13807-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Panfrost driver provides a devfreq driver for the Mali GPU and allows to scale GPU core frequency. Enable support for devfreq thermal integration to enable cooling of GPU thermal zone by reducing GPU core frequency. This fixes following warning during boot on Exynos5422-based Odroid XU4: panfrost 11800000.gpu: [drm:panfrost_devfreq_init] Failed to register cooling device Signed-off-by: Marek Szyprowski --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index c05263de08a5..d80dbdaf00f8 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -155,6 +155,7 @@ CONFIG_SENSORS_NTC_THERMISTOR=y CONFIG_SENSORS_PWM_FAN=y CONFIG_SENSORS_INA2XX=y CONFIG_CPU_THERMAL=y +CONFIG_DEVFREQ_THERMAL=y CONFIG_THERMAL_EMULATION=y CONFIG_WATCHDOG=y CONFIG_S3C2410_WATCHDOG=y From patchwork Fri Jan 17 12:34:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 11338881 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F051B138D for ; Fri, 17 Jan 2020 12:35:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CFC8A2087E for ; Fri, 17 Jan 2020 12:35:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="VGnKA1Zu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727009AbgAQMe5 (ORCPT ); Fri, 17 Jan 2020 07:34:57 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36378 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727032AbgAQMe4 (ORCPT ); Fri, 17 Jan 2020 07:34:56 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200117123455euoutp027a97e889370ed33a2361a7dac18c10e5~qrLD-bTi91654316543euoutp02J for ; Fri, 17 Jan 2020 12:34:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200117123455euoutp027a97e889370ed33a2361a7dac18c10e5~qrLD-bTi91654316543euoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1579264495; bh=GMVdAIxOIz/ZFu0nmZbzF8NWVi08+hfhTOrhodCitKk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VGnKA1ZuP6DZd/guz22YpjpuLj8I9jzgHWwpOnG+8kFttw5AhvW+Z8/+11vCzxALu JkTkwOsg/8vJZ75qloR++L/kZjXWGV8Tqj9TOPEYulNGQhzbazQLxAINM3hxJwdPpm FaJ5McWnB5SK98yh1Vc3TxB1GyUPS66jeR/B7IQc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200117123455eucas1p1000beb0a94cf8ae3436690e497d68d7a~qrLDpQh7-2170321703eucas1p1p; Fri, 17 Jan 2020 12:34:55 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id E5.7F.60679.FE9A12E5; Fri, 17 Jan 2020 12:34:55 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200117123454eucas1p28093460c40e4300d4a58f7809f614135~qrLDTg9P81728517285eucas1p20; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200117123454eusmtrp27236455864185b957cfb182188abad96~qrLDS8naY1254212542eusmtrp2v; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) X-AuditID: cbfec7f4-0cbff7000001ed07-11-5e21a9ef9266 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id AD.69.07950.EE9A12E5; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200117123454eusmtip2e9e2eac9c4ffa1501ad0d2ea4d052998~qrLC6qUaz1151011510eusmtip2C; Fri, 17 Jan 2020 12:34:54 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH 3/3] ARM: multi_v7_defconfig: Enable devfreq thermal integration Date: Fri, 17 Jan 2020 13:34:48 +0100 Message-Id: <20200117123448.13807-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200117123448.13807-1-m.szyprowski@samsung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synKLy1JVcjILy6x VYo2tDDSM7S00DMysdQzNDaPtTIyVdK3s0lJzcksSy3St0vQy5g24TdTwUP2ih2XJ7E3MN5m 62Lk5JAQMJG4sHQjaxcjF4eQwFJGibu3P7BCJGQkTk5rgLKFJf5c6wJrEBL4xCjxdX8NiM0m YCjR9RYiLiLgKnFoRS8zyCBmgR2MEt0tF9hBEsICARJX7sxnBLFZBFQl/neuALI5OHgFbCVW X+OFmC8vsXrDAWaQMKeAncSXS34Qq2wlepbdYJ7AyLeAkWEVo0hqaXFuem6xkV5xYm5xaV66 XnJ+7iZGYEhuO/Zzyw7GrnfBhxgFOBiVeHgLlinGCbEmlhVX5h5ilOBgVhLhvdsLFOJNSays Si3Kjy8qzUktPsRoCnTSRGYp0eR8YLzklcQbmhqaW1gamhubG5tZKInzdggcjBESSE8sSc1O TS1ILYLpY+LglGpg9L+T+SJdyLBJ4uJK5VnvGMO2ir7q5ozd/qXQzth7UemdG1ddZMqKNxzq n6z9fJbPSluJD7qHnP5vYl7EmF1vVZj8Z0N4zveMtudPv5lWbM+6K6YruuSChWbUg8JI/6wp L/7/+vGwe8GhkLzJ2vwTWXlvKSuqqrOd45ZWz5iwZH2imUl+BnuzEktxRqKhFnNRcSIAvnit EF8CAAA= X-CMS-MailID: 20200117123454eucas1p28093460c40e4300d4a58f7809f614135 X-Msg-Generator: CA X-RootMTR: 20200117123454eucas1p28093460c40e4300d4a58f7809f614135 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200117123454eucas1p28093460c40e4300d4a58f7809f614135 References: <20200117123448.13807-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Panfrost driver provides a devfreq driver for the Mali GPU and allows to scale GPU core frequency. Enable support for devfreq thermal integration to enable cooling of GPU thermal zone by reducing GPU core frequency. This fixes following warning during boot on Exynos5422-based Odroid XU4: panfrost 11800000.gpu: [drm:panfrost_devfreq_init] Failed to register cooling device Signed-off-by: Marek Szyprowski --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 80373fe0280d..cc7f9533b3ef 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -492,6 +492,7 @@ CONFIG_SENSORS_PWM_FAN=m CONFIG_SENSORS_RASPBERRYPI_HWMON=m CONFIG_SENSORS_INA2XX=m CONFIG_CPU_THERMAL=y +CONFIG_DEVFREQ_THERMAL=y CONFIG_IMX_THERMAL=y CONFIG_ROCKCHIP_THERMAL=y CONFIG_RCAR_THERMAL=y