From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030701AbcDMKLH (ORCPT ); Wed, 13 Apr 2016 06:11:07 -0400 Received: from nat-hk.nvidia.com ([203.18.50.4]:50582 "EHLO hkmmgate102.nvidia.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965432AbcDMKLG (ORCPT ); Wed, 13 Apr 2016 06:11:06 -0400 X-PGP-Universal: processed; by hkpgpgate102.nvidia.com on Wed, 13 Apr 2016 03:11:02 -0700 From: Laxman Dewangan To: , , CC: , , , Laxman Dewangan Subject: [PATCH V3 1/2] regulator: max8973: add DT binding details for junction warn temp Date: Wed, 13 Apr 2016 15:29:44 +0530 Message-ID: <1460541585-28432-1-git-send-email-ldewangan@nvidia.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver MAX8973 supports the driver for Maxim MAX77621. MAX77621 supports the junction temp warning at 120 degC and 140 degC which is configurable. It generates alert signal when junction temperature crosses these threshold. Add DT properties and its binding details to make this configuration from DT. Signed-off-by: Laxman Dewangan --- Documentation/devicetree/bindings/regulator/max8973-regulator.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/max8973-regulator.txt b/Documentation/devicetree/bindings/regulator/max8973-regulator.txt index f80ea2f..c2c68fc 100644 --- a/Documentation/devicetree/bindings/regulator/max8973-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/max8973-regulator.txt @@ -32,6 +32,13 @@ Optional properties: Enhanced transient response (ETR) will affect the configuration of CKADV. +-junction-warn-millicelsius: u32, junction warning temperature threshold + in millicelsius. If die temperature crosses this level then + device generates the warning interrupts. + +Please note that thermal functionality is only supported on MAX77621. The +supported threshold warning temperature for MAX77621 are 120 degC and 140 degC. + Example: max8973@1b { -- 2.1.4