From patchwork Sat Mar 18 00:01: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: 9631763 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 3BF3460245 for ; Sat, 18 Mar 2017 00:08:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 268842852D for ; Sat, 18 Mar 2017 00:08:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B63D2856B; Sat, 18 Mar 2017 00:08:08 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9CC12852D for ; Sat, 18 Mar 2017 00:08:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751143AbdCRAIH (ORCPT ); Fri, 17 Mar 2017 20:08:07 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:36006 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbdCRAIG (ORCPT ); Fri, 17 Mar 2017 20:08:06 -0400 Received: by mail-lf0-f68.google.com with SMTP id g70so6443657lfh.3; Fri, 17 Mar 2017 17:08:04 -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:mime-version :content-transfer-encoding; bh=KPEDWKchDAmlV7IYBi8r8AMvsOaCqWgaLOThbqNOwvk=; b=SL/gtFEBMa04aGn1GFqvsNfLRx3QGW14zVJngOo102IdqKQb4oqd4iZszKNuMvqO5e XZUVF5QrxOyOxa8b98oOQzNZKm1vtN3Jk7g/rrjKkyx1lo0S5PkKd8cMSP5W9UOxm20N OJcLSb92kzL5LRuKqpfmobDnAqIEnSd2LyjGRxn+m/F/YTUgDOpvBILF3ebzdQ7jSL/B xm9Cq6B6tizlFdh+eHRLJpz5DyOxKs5bhfV+pF13n5MMLsYQogryVFvUNuWjiKTsNwZf jwK+q8e+pl0Y3XUsQNLcsoIRr3AZNuWb7/2mlUCTBuN9Qa6UUH6vFMlZbrNm4SdM68uG A1nA== 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:mime-version :content-transfer-encoding; bh=KPEDWKchDAmlV7IYBi8r8AMvsOaCqWgaLOThbqNOwvk=; b=tYExDrP9Cy4pOb+2SVKuIE9/qh3m+d5MUjGZnaVKpVfgnolxWa7OcroyY+QhdzsFgB KmCrmnwZW5+UHEQg2TN7nmtLVqAcciU5RaeZLnxBjALr+HNHD9ywu30S06VGcFzdEcML IbgPgdkrfJuEM0W/RuOAn3VAKMS6TK0G+o9q4eK4wMNdKKMv/KWCIkCYZ9/Ns8yiHt7s 1exbXBoaAowMGxD9egTTx4yQwbuPmTrPvJKdEBdjIHMrHKkMZtvAcax0gm1HGPOrP3V+ Y9owlK7PdN4ydml/Z6RLhhAz33FCdEPjQfBlIRxHOmD0tPWQV4BQwU8J6jcTQCUy9gUE Jo2A== X-Gm-Message-State: AFeK/H1FrBxCxMtw+PF7IqP91SECOBVaSIQXlF33l4RoWuNsYNpq8an7LTzUA+2B7Snsuw== X-Received: by 10.25.23.215 with SMTP id 84mr4778311lfx.148.1489795316375; Fri, 17 Mar 2017 17:01:56 -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 x28sm1709372ljd.60.2017.03.17.17.01.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Mar 2017 17:01:54 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Zhang Rui , Eduardo Valentin Cc: Rob Herring , Mark Rutland , Stephen Warren , Lee Jones , Eric Anholt , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH 1/2] dt-bindings: thermal: add support for Raspberry Pi thermal Date: Sat, 18 Mar 2017 01:01:31 +0100 Message-Id: <20170318000132.9212-1-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki This commit documents binding for BCM2835 SoC thermal used in Raspberry Pi devices. Signed-off-by: Rafał Miłecki --- .../bindings/thermal/raspberrypi,bcm2835-thermal | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/raspberrypi,bcm2835-thermal diff --git a/Documentation/devicetree/bindings/thermal/raspberrypi,bcm2835-thermal b/Documentation/devicetree/bindings/thermal/raspberrypi,bcm2835-thermal new file mode 100644 index 000000000000..fbffa9291ba9 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/raspberrypi,bcm2835-thermal @@ -0,0 +1,17 @@ +* Broadcom BCM2835 SoC Raspberry Pi Thermal + +This binding describes thermal sensor that is part of BCM2835 SoC. + +Required properties: +- compatible : Must be "raspberrypi,bcm2835-thermal" +- firmware : Reference to the Raspberry Pi firmware device node, see + raspberrypi,bcm2835-firmware for details +- #thermal-sensor-cells : Should be <0> + +Example: + +thermal { + compatible = "raspberrypi,bcm2835-thermal"; + firmware = <&firmware>; + #thermal-sensor-cells = <0>; +};