From patchwork Wed Jan 11 10:14:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 90838 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1048151qgi; Wed, 11 Jan 2017 02:14:35 -0800 (PST) X-Received: by 10.84.218.76 with SMTP id f12mr12185348plm.146.1484129675215; Wed, 11 Jan 2017 02:14:35 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h73si5402093pfh.1.2017.01.11.02.14.35; Wed, 11 Jan 2017 02:14:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1757536AbdAKKOd (ORCPT + 7 others); Wed, 11 Jan 2017 05:14:33 -0500 Received: from mail-pg0-f46.google.com ([74.125.83.46]:36192 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756105AbdAKKOc (ORCPT ); Wed, 11 Jan 2017 05:14:32 -0500 Received: by mail-pg0-f46.google.com with SMTP id f188so280488879pgc.3 for ; Wed, 11 Jan 2017 02:14:31 -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=nEiKHBPkOGguSSo53p+NDcB0P0uKkQOGqybu2o7rouY=; b=YNEWph8s/qTTuEy/tfgDALPnGs/NFX5AELF1ibJ1ZAx2Xgi9GnYI+OOl/9rsqJnEK3 bMJJsgnQrsQHQimJMi478mp0X/LlimQ0iSs6YRxBUxTt+tD8qNOfNLiMmw02Pba5BO6q zWQ+KQyVYcO16V2xdIgkBsNj3p02SfCkx3SAU= 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=nEiKHBPkOGguSSo53p+NDcB0P0uKkQOGqybu2o7rouY=; b=PcfQs4Yf18HR7oIr2fi6+/nVbwxXB3lzhE1xG0fMMqDJHDzniVXckDMBOUAakAscKV JC8XObSDRf6auDm0x2K4Jdfgrk55zYdfCufz/Lmp1BlSsYYCNb5UWlxMWG+ian3qiXWH b6Tmcjo7UP89LF8+qffgvfIKzi+hxSXcthK3z9p0nSZlxnbGTjXG9Kd+7uXnnqSX6qWG UaaGb4LOw8clA1KRvY0IuC/2bq+9cTU+tU91zZOs7CNLxDX0L+PP3Ocwr3X74LVkGPI+ IwTMj7PhRHz0iHHcscO6RwzDTdcccrhCY8LRSQucIJGT/dX//Y7d0iM2ETXL4wEqYOVO w92A== X-Gm-Message-State: AIkVDXKnaRBE8ZDEbWxmy+bm3bAXtIzOCGM9FSUB+PnDI+JNE4DcrLbIso681SbNjapoqBz9 X-Received: by 10.84.196.164 with SMTP id l33mr12155249pld.150.1484129671387; Wed, 11 Jan 2017 02:14:31 -0800 (PST) Received: from localhost.localdomain ([104.237.91.89]) by smtp.gmail.com with ESMTPSA id o24sm12360823pfj.78.2017.01.11.02.14.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jan 2017 02:14:30 -0800 (PST) From: Baoyou Xie To: rui.zhang@intel.com, edubezval@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, jun.nie@linaro.org Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@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 v2 1/3] dt: bindings: add documentation for zx2967 family thermal sensor Date: Wed, 11 Jan 2017 18:14:09 +0800 Message-Id: <1484129651-17531-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds dt-binding documentation for zx2967 family thermal sensor. Signed-off-by: Baoyou Xie --- .../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 devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + };