From patchwork Fri Mar 31 07:31:31 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: 9655561 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BC57160351 for ; Fri, 31 Mar 2017 07:32:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD804285BC for ; Fri, 31 Mar 2017 07:32:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1C052860C; Fri, 31 Mar 2017 07:32:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 55841285BC for ; Fri, 31 Mar 2017 07:32:14 +0000 (UTC) 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=M9HckcPu1t8JiE twR0znwpgrmwGrWyS3npe5jZbPV255oWC+LnVdu68msFy1hNPCxflEeyIPmXqoZJ8S3eF2IhipTJT ELuRgVF/WaG8O5NF2tE+IytBk64H2lN5tOk/K/NchwdOvq/LCbDFRKIgJV3I4FMdqwf6nW1il2/kH m2UNhrWosjvnvIH1HDTf8RYhtpnKlp1ROdgNHKnDk4OI9hqxvr1P+mho8XpQcJ0PRp1NrsHIgK/Eo hgtD46JssjPpVDSka1lQRBumVBdaCt5Pt/8OQnTE+OKJ8DyAhbXH/owzQPOFTpUPQxrttOopaluUo VZgEAAr1rXURgIYIOepg==; 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 1ctr2b-0007zh-Mf; Fri, 31 Mar 2017 07:32:13 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ctr2R-0007xG-MX; Fri, 31 Mar 2017 07:32:11 +0000 Received: by mail-lf0-x242.google.com with SMTP id r36so6552895lfi.0; Fri, 31 Mar 2017 00:31:42 -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=nT0wwlHZHHKGnikX1SBmrWdsIpOW4WdBZ9ImO2ctHpwpwX4drXwJ2A+AePiyUydMVl ojXKdnEAX3PZQaAr9Odb8jJVe+rEJhY7tpSPE80dKjaY8dcstSW8M3fQ4hL7yp2jOFEO Zgvu+l/b77vndW/wiOmA0zroM1sTnzAoUG7SgTqPoKWSwZi2G/ESHROgjQhZvJmgu6MT 3CF1/US23lvoal67iuD7Hr/a6teeilbywwhexMEe19HmdK9+5FkRlQ80WOD8l72FVCTq G12WXa1ey2gkimzBNoRgv9AZf7kaYiHpqiP/pKV/SXsRY6Fx3hzHsIGUfxCtlwBNalLC Nq0w== 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=hx8XQRDJC2sNChuvUG/AdG92MZCD2ttoQxFgYdpJCtpcSSmyNRhcNKJhTtGQ8iCqq1 EU0OmYj+8dlgKi7C14Ynmb+hkAU+jGVGrc16BgnNRZDwYqrxE65PPz7ut4j4VUm5gPBM hK0pXFBBz0RWDSM30h8DaPXG9+GQAKG3849DbFONusrKP5tkWGpa1VC4blx5rp3NF8ij q22SBQO9nuljyr7fHUkgNhKVnaUmvKq5uG7hesr+AMfWsDzjFj82vDYrfdL3OpA20WSw ZWhZ6JCBbdyEeP9CaQOTiWvkPnaaNm162I2mS2xvYC1lHUtNSRu4j60sfNpjw2AOfmBx Sjpw== X-Gm-Message-State: AFeK/H0IzZFTRaIoDRx9fZMqSCOnhJU8r9izI+kZV277hwdzI8oBC1jTW8z27biJ+fGM5g== X-Received: by 10.46.6.17 with SMTP id 17mr573077ljg.20.1490945501462; Fri, 31 Mar 2017 00:31:41 -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 17sm783763ljp.58.2017.03.31.00.31.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Mar 2017 00:31:40 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Zhang Rui , Eduardo Valentin Subject: [PATCH V3 1/2] dt-bindings: thermal: add support for Broadcom's Northstar thermal Date: Fri, 31 Mar 2017 09:31:31 +0200 Message-Id: <20170331073132.21457-1-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170323223045.15786-1-zajec5@gmail.com> References: <20170323223045.15786-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170331_003209_304336_CA75299B X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + }; +};