From patchwork Fri Sep 16 20:48:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 671142 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 3sbS8N0MDHz9sDG for ; Sat, 17 Sep 2016 06:49:56 +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=kyu1E68z; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A27DAA756B; Fri, 16 Sep 2016 22:49: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 s15e1pc8m5Er; Fri, 16 Sep 2016 22:49:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C26B24B9AD; Fri, 16 Sep 2016 22:49:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A9BD3A7535 for ; Fri, 16 Sep 2016 22:49:41 +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 kb7YWqvgd8SD for ; Fri, 16 Sep 2016 22:49:41 +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-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by theia.denx.de (Postfix) with ESMTPS id 0D286A7537 for ; Fri, 16 Sep 2016 22:49:31 +0200 (CEST) Received: by mail-pf0-f193.google.com with SMTP id 6so1072906pfl.2 for ; Fri, 16 Sep 2016 13:49:31 -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=kyu1E68z8290DSml2oOoXEKaSxhVIzd9wRQI/tqfeWaLwp2QtH5YEiHwGkHaGLjXYB YoA0cayt3RNmItY7gxD5OXMqFz7PGAFcE8HEfC5u1216mgy64Hr6ARPaHXp5EF2ft83N jBm3GgXsm7v7rS7dkAw/ia5QSTL+p8lBxhhdWdvEMsAbfWHsyQTozSmN2EcfJxMwyj/N 5ndZey6/PwPiONGb1FpAcLHqWWiy0GTOJZ/uGqmQYb7feBbGudWieov5C0NO1qAyDu7b Nfen1k/OBpQHIM8+xVkqGMPoFhI9gwhk2mz0BoDO6BkGFaJowEgTc6IiEjZ59eEc9Ci7 gT0w== 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=ZIwD5kHXrCblcKwrl5EJ+GuRt8lyEZ4T9OOEYVoWFe3rVHjSk1vQOIJh55UYNp8IDO TppyO+p+ilpDBKF3r7SFYMheDfc8T+o8JdALZ62nhmboFEdM0LqbiQCik2MUYEiuGSKE Hz1Vm8i/FTWMOWWxICuI6Pr6ZA6Ospf+wGtcvpomG8C+l5ahnKsa0NYHt11mOan91JV6 tAhjqGdzes7cwg5P5M69ojfKSJmuJn+lPpFashwrrCOT9MU1gsMayHPnlj5Kr3Q5hJ0+ PRYFhI/MdbESmHXb5OMgAQ54YuodC6SxqRP4/dSOdVH2t/a3rn1uasD/2zDpF6zLdhIZ d0pg== X-Gm-Message-State: AE9vXwNdxseilEWkB0FVZyDeJkyYyN7/4YPRTGUebSucH6QbvufP5aC/Sx2Y+jA+qx5xxA== X-Received: by 10.98.97.7 with SMTP id v7mr26107821pfb.49.1474058970364; Fri, 16 Sep 2016 13:49:30 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id g10sm54190693pfc.57.2016.09.16.13.49.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Sep 2016 13:49:29 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Stefano Babic Date: Sat, 17 Sep 2016 02:18:35 +0530 Message-Id: <1474058929-17637-4-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474058929-17637-1-git-send-email-jagan@amarulasolutions.com> References: <1474058929-17637-1-git-send-email-jagan@amarulasolutions.com> Cc: Matteo Lisi , u-boot@lists.denx.de, Jagan Teki , Fabio Estevam Subject: [U-Boot] [PATCH v2 03/17] 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