From patchwork Sat Jan 7 05:38:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 90261 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp9751408qgi; Fri, 6 Jan 2017 21:38:41 -0800 (PST) X-Received: by 10.98.79.75 with SMTP id d72mr73434247pfb.1.1483767521173; Fri, 06 Jan 2017 21:38:41 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x187si4624136pgb.117.2017.01.06.21.38.40; Fri, 06 Jan 2017 21:38:41 -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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940412AbdAGFij (ORCPT + 13 others); Sat, 7 Jan 2017 00:38:39 -0500 Received: from mail-pf0-f169.google.com ([209.85.192.169]:35042 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S940295AbdAGFii (ORCPT ); Sat, 7 Jan 2017 00:38:38 -0500 Received: by mail-pf0-f169.google.com with SMTP id f144so8416003pfa.2 for ; Fri, 06 Jan 2017 21:38:37 -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=XfZ876Xyr3KTjlR8eNhxTZ6ZXlff6ZgmMtQJkSYeesY=; b=fjPPrM9G9NIPnxPRWsrTC0AoUV41QV2VREa3+H+PFnaFY3qVIcGsEbqIRXGGU3A9Js 3BAsooPS8EHPk6AJ4TlSrcWywP0wTNNbJOgHnDkWFdtj9WLgQL8/3yOeCqpYgA80CcWE r3DNRdT5bLRHgkhWbPQAw3UdHxnk/+Q1+uVWQ= 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=XfZ876Xyr3KTjlR8eNhxTZ6ZXlff6ZgmMtQJkSYeesY=; b=BhEXgjb740jLPhUIrSBabRoSGQ3Fs2t7b6J0d8NcfnNkvuYhFwWjcUMbi9lpayoVCf U+elUQrdLgj/dcOF/93BKevV/ZLjXxqy8WLx4Mzawy1hDR8vrKy63Ilgg8SavRMe3I+0 hrTIR9x+TMYFzitkVvRTOcV34r1gxABdVDy8/0Bkv5fwKettn+33fdSccsmBIUzqvGlG W+fkNJOFVgNhXZXK2xQfNkDbtTP1r2uaKS/emWy4+idZBQuLxFywbkm6ff08MyCZQAOD TODm5APFgE7GTpdMLj3GhxBC/8dGZ/91lrgyCKr+I7BP2QyXNfSLqEAjDqmJCc1F1BIU P9rQ== X-Gm-Message-State: AIkVDXJu+hV2KGH+ylrjjxkJz18Xht6E9yTu4fjbiYV4x5E+hWQpgUuen4WELVZZlAv9sdBb X-Received: by 10.99.189.26 with SMTP id a26mr146733670pgf.67.1483767517363; Fri, 06 Jan 2017 21:38:37 -0800 (PST) Received: from localhost.localdomain ([104.237.91.53]) by smtp.gmail.com with ESMTPSA id r21sm20159514pfd.95.2017.01.06.21.38.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Jan 2017 21:38:36 -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, gregkh@linuxfoundation.org, davem@davemloft.net, geert+renesas@glider.be, akpm@linux-foundation.org, mchehab@kernel.org, linux@roeck-us.net 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 v1 1/3] dt: bindings: add thermal device driver for zx2967 Date: Sat, 7 Jan 2017 13:38:06 +0800 Message-Id: <1483767488-19778-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 --- .../devicetree/bindings/thermal/zx2967-thermal.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 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 diff --git a/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt b/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt new file mode 100644 index 0000000..2633964 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/zx2967-thermal.txt @@ -0,0 +1,22 @@ +* ZTE zx2967 family Thermal + +Required Properties: +- compatible: should be one of the following. + * zte,zx2967-thermal + * 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: "tempsensor_gate" for the topcrm clock. + "tempsensor_pclk" for the apb clock. +- #thermal-sensor-cells: must be 0. + +Example: + + tempsensor: tempsensor@148a000 { + compatible = "zte,zx2967-thermal"; + reg = <0x0148a000 0x20>; + clocks = <&topcrm TEMPSENSOR_GATE>, <&audiocrm AUDIO_TS_PCLK>; + clock-names = "tempsensor_gate", "tempsensor_pclk"; + #thermal-sensor-cells = <0>; + };