From patchwork Sun Sep 25 19:42:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 674677 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 3shyFx6ZsXz9s5g for ; Mon, 26 Sep 2016 05:43:49 +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=YTokaHGQ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D037AA767E; Sun, 25 Sep 2016 21:43:46 +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 AwCmPLaBm6FW; Sun, 25 Sep 2016 21:43:46 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 815E3A768F; Sun, 25 Sep 2016 21:43:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 945BAA754C for ; Sun, 25 Sep 2016 21:43:38 +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 HsQULi2_pMd4 for ; Sun, 25 Sep 2016 21:43:38 +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-f66.google.com (mail-pa0-f66.google.com [209.85.220.66]) by theia.denx.de (Postfix) with ESMTPS id 21213A7541 for ; Sun, 25 Sep 2016 21:43:35 +0200 (CEST) Received: by mail-pa0-f66.google.com with SMTP id my20so7737038pab.3 for ; Sun, 25 Sep 2016 12:43:35 -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=YTokaHGQ8JSniiyl+OR8TURDR4upvMOX1KIYoTvhb++2+aiuRzpJPeH4j1BIKHyLxJ f5iDDAiusnExSkEbBiCWx8JhbB5JVOKffz0on4ow1IJApXXLit9tXNA6l3bluIhC+ctJ gzgD7XwlGCAnfRKzgSxcbx4xMjIht5gqwMgaGw11nG4156wvzWxO6elDjuvQdJhjHZIe tGVVZf4wlE5fjgAKW37V6uZ7QebX419fqqdZfmjwLgWPm0Z0LLGtS7s/eTtx6XVJ4MKi 9Nx+hVL84idkoVvLEsbQZprV0pe1VcrmALBM58cXG27ak0Zg5z53VTbwISvZQeC9iYjF JBoQ== 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=HuzmFQUWOmyaFd02yddx6QyxnTRwQXfdwr31jO59jnLCbJbdOZRLOq+Vhv00bf4YPx SIE+3Dkkn+UToVoNH3tQLKoYxGhypbT7qsm8YE7h5PABabh/mv74ajBrifIrxPxLlwDX iuA6hbpbCelfOo0PMeaq86nCNk+v71TfcE6cP8bf6ASFThLfIUnALfdw0SPyoYPAhDGV 1R7XmrVxLIzPcmCFD2EN46of9M/lJcmfKjLm9Sy/u/MUkEwlRgv8HdLhUoVO4nz9wSHS U37QQ1lFErk5JKWS9bgMvEW8IIKsQzv5SUNvkT87qDPgmmgOoX5fCU8T4boa7T07xL6k cr1w== X-Gm-Message-State: AE9vXwM4LZN3iZiwfEXmNBen55pbYsqb2Usrb/4/y3459Y+lmrlGAqA4zWKtktfiwRM3sw== X-Received: by 10.66.245.204 with SMTP id xq12mr32201622pac.37.1474832613704; Sun, 25 Sep 2016 12:43:33 -0700 (PDT) Received: from Mr.J ([49.204.230.134]) by smtp.gmail.com with ESMTPSA id 22sm25441048pft.10.2016.09.25.12.43.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Sep 2016 12:43:32 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: u-boot@lists.denx.de Date: Mon, 26 Sep 2016 01:12:47 +0530 Message-Id: <1474832582-24487-2-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474832582-24487-1-git-send-email-jagan@amarulasolutions.com> References: <1474832582-24487-1-git-send-email-jagan@amarulasolutions.com> Cc: Matteo Lisi , Jagan Teki , Fabio Estevam Subject: [U-Boot] [PATCH v4 02/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