From patchwork Tue Sep 13 14:24:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 669401 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3sYRmz0vKMz9s9x for ; Wed, 14 Sep 2016 00:26:11 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=rrbZ/kR0; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 42B86A7550; Tue, 13 Sep 2016 16:26:01 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nq_0ZH5x9m_y; Tue, 13 Sep 2016 16:26:01 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BD28DA7578; Tue, 13 Sep 2016 16:25:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 35D11A7564 for ; Tue, 13 Sep 2016 16:25:48 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QdMlknRUM0zd for ; Tue, 13 Sep 2016 16:25:48 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by theia.denx.de (Postfix) with ESMTPS id 0F0D3A7541 for ; Tue, 13 Sep 2016 16:25:41 +0200 (CEST) Received: by mail-pf0-f196.google.com with SMTP id z84so1331540pfi.2 for ; Tue, 13 Sep 2016 07:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0DdsEwQXz8/aDhFLhvNH+OZwO9KgHa1S/UO8Y/CI3Is=; b=rrbZ/kR0Y4RmsCXNo8lOczKHUuvY1Ku+vYfBW5+Jqz/5+MRINkSkyhzEcg18Y9/kJS Wyx86yeboQxTz6KH1qmMER4yhUDnWae06OauY4UFNjJ//Hm5QyWbkLdt/64zInUGBsu8 A92qyXM7BM2ylGP/uUe0k5x1zWFMSZm1bKNkihV3h3vs+YQwmWOxUZk9fWp3arkuZak5 Jn0fpHhUIuqSA9NvPJUdcPFucpJtEwEm5G+RrRtW4tecr7pY7PQcYU0CXAj99xmgFr0Z kdeJQZOD1hyvB8EYX3NmB2k1Gfd6UIiH0Li/kYenPRC+PnQoHbRPdtc8Gk5HEcxTrXsN C5Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0DdsEwQXz8/aDhFLhvNH+OZwO9KgHa1S/UO8Y/CI3Is=; b=mTa8S71mWBDvUYGMkQVNGDQnHhTX4O8ss45tKVWHzriAihdpp2NtfL7jO04ps1rTHu rx5vK40NugdWvuundRFZ86/BkMv4sT1RvhJap0VC2fGRm3fyn7sM9V4/z29MX7LZGNac opKygv6BZY+vuDe9xkIKW6jlZymfHqeHDKJUmatgpEhu2wltBM4pvz4Vu2dt8sAzh3Nr ZbILRPnZrDT4OriaNij3NdIJVxkLkbKN1OW97Tee7bHLRUapJDVGhKKK+9fmq1JyNHxj ycjQfMY6r7+ynPU2BBIy4/QI7+j93aOM/oSTWqMdE6/BdUTLh3ISKlQUMNJrcv7KhCwQ vfaw== X-Gm-Message-State: AE9vXwON8Lc3nCDiahmlLRVgtCo9OXxQPWlh42ZXR+3Bp5FvtmjDWx7T4F1qR4dqoMa03Q== X-Received: by 10.98.149.82 with SMTP id p79mr1835361pfd.150.1473776739225; Tue, 13 Sep 2016 07:25:39 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id f11sm31676094pfe.1.2016.09.13.07.25.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Sep 2016 07:25:38 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: u-boot@lists.denx.de Date: Tue, 13 Sep 2016 19:54:48 +0530 Message-Id: <1473776690-23596-3-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473776690-23596-1-git-send-email-jagan@amarulasolutions.com> References: <1473776690-23596-1-git-send-email-jagan@amarulasolutions.com> Cc: Matteo Lisi , Jagan Teki , Fabio Estevam Subject: [U-Boot] [PATCH 3/5] thermal: Kconfig: Add IMX_THERMAL entry X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Added kconfig for IMX_THERMAL driver. Cc: Simon Glass Cc: Fabio Estevam Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- drivers/thermal/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 8e22ea7..f0ffbb3 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -5,3 +5,16 @@ config DM_THERMAL temperature sensors to permit warnings, speed throttling or even automatic power-off when the temperature gets too high or low. Other devices may be discrete but connected on a suitable bus. + +if DM_THERMAL + +config IMX_THERMAL + bool "Temperature sensor driver for Freescale i.MX SoCs" + depends on MX6 + help + Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs. + It supports one critical trip point and one passive trip point. The + cpufreq is used as the cooling device to throttle CPUs when the + passive trip is crossed. + +endif # if DM_THERMAL