From patchwork Fri Mar 31 20:11:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 745790 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vvtF40vC2z9s0m for ; Sat, 1 Apr 2017 07:21:28 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FBvJnja/"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="SAxrwACr"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=htwcoR2vyI+gJ17DhJq4OBE2O9Pm6E61pNklUOB4HTk=; b=FBvJnja/3dubzj OBaYQMWzHQZuseLrnuNF8SlkJnpF7TwJsTX6pQhZvp6PVnXOIRAmgwOg6PICSghmJ1B/F9tvNwCNl MG6VlLTyeeHjzQVBuaXYckLhc98cUicJyYvoVFM+/8GhbyBtE3hkqaTxwYONecJxZ8J9GxfWGpdk8 ecx9MaQmxMKiHfLoQR0ETW8KdD0agcMl0fz6x8z+n5bHidfNM7Jx7kQId+EzWsFUCSUsPfsp4h+GL TiCMh8RqVCd8e2fihpzIvXlRSSE6JDWDLuG/ECasx492zexLMolNEpaO4F+bqma2O8R+1J02NubxU QocyZ904LVkQl8VFNPHg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cu32v-0007KL-D6; Fri, 31 Mar 2017 20:21:21 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cu2tn-0003Jx-Jl; Fri, 31 Mar 2017 20:11:57 +0000 Received: by mail-lf0-x241.google.com with SMTP id v2so8234566lfi.2; Fri, 31 Mar 2017 13:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6h9mHGvEZw6qmy7r0r5HK9QruWFEwazMzFjpGjR3tLA=; b=SAxrwACrCqt1u6ex5GUsZg5aq5gqvbEKS6VkHxHZFyzHLfOCxVCu/Dv8xdHlfUQ/yk xaOtop8M/2wQ4xvNd4rPkXhFjUDGH4Fx1P+rVGDrSxYYNmFjBBHIB8nhrmQ5z2ocY+sp xk7oXw+PvqxtcaL9Y1a4iIVoooyG9ZINTvpPcuujibk6ozwKjEkxPXsmkyqscD/E9xC8 umJlcqSObqRJNHJ5f/afJPeSQahWQpoQcnwqSqc8k4YaW8NAT0kDFwyA+0Ezsdfa0NMh kaeBRdfxfeQXyZrZNkPgPU6MVgVmjYT1Eqm2RUfma6VDdIJxqWLghbiVBWMS0MsI/9ja kbng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6h9mHGvEZw6qmy7r0r5HK9QruWFEwazMzFjpGjR3tLA=; b=JBhV6FnzzNHEll1Ubt0Oa+yNl/+D7z4Trk1X0GJqSuzS6WzSReLzdGT84RG9gs+Tln NoSYWnTVQK+3xSNK1RfWF6/EI1T0KVC4738XdsyHft1d8GzUq/RcZgrOId9uRa73TWg2 ck+wCtYH44/PkwDRsLFPJzprNO8UiPNAYJyAEVvKWK2ih0hS92PebHx2Q95bDn3wD+P4 TfQBXvpQ33R5Z/gaEPigY0hztSW7k4UAmMaKcBmF1Un02oZuWWGLGB2r5wmkpR8W9yOG AWXUP9K78SXNBCANhJ5NAxWN88xpqTBsU4IIfPG//W90OvrUgRZt7MbIQDEXk8lwDIly CzxQ== X-Gm-Message-State: AFeK/H2dXHBp7/DJynUDlXFhsPamaPPphZHCkCuxP1yMU7QobEnHW83WI/RWIZBrjWWlQw== X-Received: by 10.46.21.13 with SMTP id s13mr1574815ljd.112.1490991093235; Fri, 31 Mar 2017 13:11:33 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id n25sm1114818lje.14.2017.03.31.13.11.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Mar 2017 13:11:32 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Zhang Rui , Eduardo Valentin Subject: [PATCH V4 1/2] dt-bindings: thermal: add support for Broadcom's Northstar thermal Date: Fri, 31 Mar 2017 22:11:23 +0200 Message-Id: <20170331201124.656-1-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170331073132.21457-2-zajec5@gmail.com> References: <20170331073132.21457-2-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170331_131155_856568_99183412 X-CRM114-Status: GOOD ( 11.70 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zajec5[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (zajec5[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:241 listed in] [list.dnswl.org] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Florian Fainelli , Scott Branden , Stephen Warren , Ray Jui , linux-pm@vger.kernel.org, Lee Jones , Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Rafał Miłecki This commit documents binding for thermal used in Northstar family SoCs. Signed-off-by: Rafał Miłecki --- V3: Add thermal-zones to the example Rob: Because of this update, I didn't include Acked-by I got for V2 --- .../devicetree/bindings/thermal/brcm,ns-thermal | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/brcm,ns-thermal diff --git a/Documentation/devicetree/bindings/thermal/brcm,ns-thermal b/Documentation/devicetree/bindings/thermal/brcm,ns-thermal new file mode 100644 index 000000000000..c561c7349f17 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/brcm,ns-thermal @@ -0,0 +1,26 @@ +* Broadcom Northstar Thermal + +This binding describes thermal sensor that is part of Northstar's DMU (Device +Management Unit). + +Required properties: +- compatible : Must be "brcm,ns-thermal" +- reg : iomem address range of PVTMON registers +- #thermal-sensor-cells : Should be <0> + +Example: + +thermal: thermal@1800c2c0 { + compatible = "brcm,ns-thermal"; + reg = <0x1800c2c0 0x10>; + #thermal-sensor-cells = <0>; +}; + +thermal-zones { + cpu_thermal: cpu-thermal { + polling-delay-passive = <0>; + polling-delay = <1000>; + coefficients = <(-556) 418000>; + thermal-sensors = <&thermal>; + }; +};