From patchwork Fri Jan 13 10:46:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 91308 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp129275qgi; Fri, 13 Jan 2017 02:53:26 -0800 (PST) X-Received: by 10.99.222.17 with SMTP id f17mr23792842pgg.2.1484304806794; Fri, 13 Jan 2017 02:53:26 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si12370044pfi.279.2017.01.13.02.53.26; Fri, 13 Jan 2017 02:53:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751958AbdAMKxX (ORCPT + 13 others); Fri, 13 Jan 2017 05:53:23 -0500 Received: from mail-pf0-f179.google.com ([209.85.192.179]:35808 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751528AbdAMKrP (ORCPT ); Fri, 13 Jan 2017 05:47:15 -0500 Received: by mail-pf0-f179.google.com with SMTP id f144so29901900pfa.2 for ; Fri, 13 Jan 2017 02:47:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=HPZEgtaVLCKfjTNmBCl2Y5woWf0RQ3TunGeMyT84VoA=; b=XUDB7bSswUxyfDaD0OjcPJrLvZ8oWlYrT12xCRq7G/hqUIEXLsZlvBTPN+ogvy5xKY xuYHFJI/lhs2cGoiDGwbWDt1zWj7Wpf2+fT5yftMbpif6Eeq9avG9SK5HQ2tvZKH/WN0 WKG4jwwYcbKtI2iPHsFSHTJKlpGMgQ8Uh6Ek8= 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; bh=HPZEgtaVLCKfjTNmBCl2Y5woWf0RQ3TunGeMyT84VoA=; b=XO1rHyqpW1kYkB1gM+GRt0rde1dVigxiH3NrcXeE1XNEomGKLG7pwv9eh4OnrgVeBZ E2fUHh65A1LkVWk8LWSYIHEC2DeRWhY3toEZ2ZuknDr9bnsGX7nBhSiXbuhhUnjJveIl ub1GKzpzdlR/SnDSjkRRrKz58+0JboOgPVVd1dIZFD0CDXMyU1P2EEcShPvt1L5PIJXU NNrexQwmcdFQTupr0n30iQZfrnNWVErTMflEZ08r+UvADTP9kw1cpaYMjkEhRCTd1QWi fcdc6I2RLJ4wmYX4XCgz3wVW0H0Et8K8BjAnNLsH9u4Y5Dnl/1pTHUPdBZ5ZeYCQdeZR xk0A== X-Gm-Message-State: AIkVDXK+dU4rHdZMRu9oVMvy0f6PhEuH0Ty8YmFvArOLjygwg2lLRzkeETf1c8IPzVwPWZcQ X-Received: by 10.84.139.129 with SMTP id 1mr29157000plr.178.1484304434765; Fri, 13 Jan 2017 02:47:14 -0800 (PST) Received: from localhost.localdomain ([210.21.223.3]) by smtp.gmail.com with ESMTPSA id i10sm28374360pgd.37.2017.01.13.02.47.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Jan 2017 02:47:14 -0800 (PST) From: Baoyou Xie To: rui.zhang@intel.com, edubezval@gmail.com, jun.nie@linaro.org, gregkh@linuxfoundation.org, davem@davemloft.net, geert+renesas@glider.be, akpm@linux-foundation.org, mchehab@kernel.org, linux@roeck-us.net Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn Subject: [PATCH v4 1/3] dt: bindings: add documentation for zx2967 family thermal sensor Date: Fri, 13 Jan 2017 18:46:56 +0800 Message-Id: <1484304418-17489-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds dt-binding documentation for zx2967 family thermal sensor. Signed-off-by: Baoyou Xie Acked-by: Rob Herring Reviewed-by: Shawn Guo --- .../devicetree/bindings/thermal/zx2967-thermal.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/zx2967-thermal.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Shawn Guo diff --git a/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt b/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt new file mode 100644 index 0000000..86f941c --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt @@ -0,0 +1,21 @@ +* ZTE zx2967 family Thermal + +Required Properties: +- compatible: should be one of the following. + * zte,zx296718-thermal +- reg: physical base address of the controller and length of memory mapped + region. +- clocks : Pairs of phandle and specifier referencing the controller's clocks. +- clock-names: "gate" for the topcrm clock. + "pclk" for the apb clock. +- #thermal-sensor-cells: must be 0. + +Example: + + tempsensor: tempsensor@148a000 { + compatible = "zte,zx296718-thermal"; + reg = <0x0148a000 0x20>; + clocks = <&topcrm TEMPSENSOR_GATE>, <&audiocrm AUDIO_TS_PCLK>; + clock-names = "gate", "pclk"; + #thermal-sensor-cells = <0>; + };