From patchwork Thu Sep 22 15:24:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 673472 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 3sg0g533CBz9t1h for ; Fri, 23 Sep 2016 01:25:21 +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=aT8BK8V8; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 62967B381D; Thu, 22 Sep 2016 17:25:16 +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 CnBo6G3hkAlH; Thu, 22 Sep 2016 17:25:16 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5F874B3829; Thu, 22 Sep 2016 17:25:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 81E93A765D for ; Thu, 22 Sep 2016 17:25:07 +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 R8eYbYxLiV8V for ; Thu, 22 Sep 2016 17:25:07 +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-pa0-f67.google.com (mail-pa0-f67.google.com [209.85.220.67]) by theia.denx.de (Postfix) with ESMTPS id 075D2A7638 for ; Thu, 22 Sep 2016 17:25:03 +0200 (CEST) Received: by mail-pa0-f67.google.com with SMTP id i5so647400pad.1 for ; Thu, 22 Sep 2016 08:25:03 -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=aT8BK8V8Vn1+HsUvhBmpMu4tAuC6MivzQIVQnropHcwXjPxIT+uQhdYuIfuSLLSEMB EmIvKU/fOvlTFkemmzEeolsyRLQwHS5kQOkqv6uR0Kl05fRGPVXlU2Ej7BQxg/MDMEvY anEdVjVuOek4eAL3TW01gi4lIF7LkNtVagYMkg0rZp5Hxh2OpDCATu/S+kxpHex4s02p zT17ItN/E/H2T4WztCfzuAU85J9AtJFMt1P2NvmVa8jYIUgTrsV5cr0xuPyPhMfnhASw SWpCv2TPSG3oiyaj+o97mMB71AlZTUxAcWPAsgPSzqpqTfaaEoz9KV6cKGHLew04BKVx RDPg== 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=YKRwdK0a5w3O7rgupgw/XrOb1bO2zhw6vZypd+SYd7/TUVIRKDDc9Y+mBSH+h9XI6R RhcID7vsEYP7M+GU5f6nK0/gbFOPhpywicuMqOq3rnEMsiWqPMYclk/sw3+iMGlAqjJj 18AV9dAU+dT6ldRyH25iUhDucWEyHgc7NZjHrlJ+uKUeTEv+XlyeoiBAb+H9f+JZJjLp mfLHkPbbUZ1Ell6fP3c0I3ccMwCycMuMGTZn59zzrzrQ5CLhSlGY5OYFeCk6EiYUapD2 Gnz7VATZ/31UjOamt5sr8AwB8EGLqNttEO+m1V3xlAUl3LP+fwujPayH6XAeN/ViPrBg pl5w== X-Gm-Message-State: AE9vXwORFfzKjgpKvrgwMTmoOEyfSqB9mryTjrLYBX2Qbkof7abSvfKjGAs0YIECIDPuyg== X-Received: by 10.66.86.105 with SMTP id o9mr4242179paz.108.1474557902040; Thu, 22 Sep 2016 08:25:02 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id y184sm4929708pfg.94.2016.09.22.08.24.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Sep 2016 08:25:00 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: u-boot@lists.denx.de Date: Thu, 22 Sep 2016 20:54:06 +0530 Message-Id: <1474557860-13218-2-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474557860-13218-1-git-send-email-jagan@amarulasolutions.com> References: <1474557860-13218-1-git-send-email-jagan@amarulasolutions.com> Cc: Matteo Lisi , Jagan Teki , Fabio Estevam Subject: [U-Boot] [PATCH v3 02/16] 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