Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1022097yba; Thu, 16 May 2019 12:53:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLnkA009ZQXLtEyNZ+oQYgQWiPcqzXMu8xUaiRQ14kLJ+WGt/+CC9tRec1C66c72wpq+Pg X-Received: by 2002:a63:fc08:: with SMTP id j8mr52230621pgi.432.1558036386464; Thu, 16 May 2019 12:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558036386; cv=none; d=google.com; s=arc-20160816; b=dcNINVN9sXd0fBKk+BJ50tmTLtCTCithQUZAss+Yn7yh1kXq10ka/S3PHAkxfBEkPZ DKp2oHga3baazwftamG1c9SSc1a7YBS2L1avU4NTf6++dwruAWlekJPcEsRWbgzDu/GZ l9dFHj+O05ltw7DMhDnjTyaomxjTmPHb9O8n5BdadkPrkHZtdxH0C20KL6SZErdh6bN8 KdF7Cv06M4ZfHFfmBOkspnu1/voXCLQcBMilUDpwe+5O4zRmRhOXOBkpXun1zYyLDK6/ hmMgBuyE3QVogqqZzIdD7C59Zcqw53es1LBRynBjG+3vIRyvz8WrCOLvNjABMv4WaxAd hv1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=IlWeur6t+kwpySn24VqBEqPmtDVwsekAH2F04m0wTVs=; b=fgjxKXE86lv7UFgNz0pvYXOaJgGk2V0Uu3i6s2BJcLbi/r4l+vesjNVufAXujOJDpj XtTV5c/kALu6p+xhSErtpQqTqhf34rN3iMT2JgKM3tU73t3BtM/sVMD+AEQjn+7EPfCZ e4GD0lUq1iAmlJyTB3GOYlACQleUB9kKraJ5VkV3MYAQ2bgR5IQX2wp5OKBWN0tNZJAF tKY922mCw3p9YqFm2jj2rpmMHJE4dW/8J76sqygPRyhcezIg/iJxKt1kSh8c5jtnsf8S dRW+nqr3f2ISPYYL3PCOBGEXUvQo+PZoPu4oufvIxuiV+yTPWphBztgZb2PQ7bVeMl+c I5fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kmjzUz3G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p127si4435915pgp.217.2019.05.16.12.52.51; Thu, 16 May 2019 12:53:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kmjzUz3G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728800AbfEPR0q (ORCPT + 99 others); Thu, 16 May 2019 13:26:46 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39725 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726696AbfEPR0o (ORCPT ); Thu, 16 May 2019 13:26:44 -0400 Received: by mail-pg1-f194.google.com with SMTP id w22so1888929pgi.6; Thu, 16 May 2019 10:26:44 -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; bh=IlWeur6t+kwpySn24VqBEqPmtDVwsekAH2F04m0wTVs=; b=kmjzUz3GIXj8W64WIGM6+ZbI2+dQj9d4/0V7occ3VNHHmSGZx+WJbW4ov8IlbOpc/Q H06J4n6ZaSwGd7m/zNkCZ9brpjtsO2VyItzHeZv76NCFPvMkRDKroHSdbOFS86s2oaX3 4ENJ7aXVpwPqGZZP6sEuEJDitLli+kY6sS2YgtkdKDb33mMc0H5niZSwvwWoq8cE25es z1n5KkU7sY3BayPkuPe3wNxlR7eqmuf7UOfxNRGzeyh3XGQCGFgjGJy6QZ0ZK86TBhSF MkLcU9S8HW74a4Sz25uQLuACZAbr6wfsMD/3Kk6VY55w+awNLxFQhazriM2XTAoBknRT GOwA== 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; bh=IlWeur6t+kwpySn24VqBEqPmtDVwsekAH2F04m0wTVs=; b=cANxjfEYUPFy9j4JP2hMVfideVfCaFDTlTT6GHykju+46VqYUcQ99dLFjmDFFbtm59 CeT/zd19YuD9nsCgg5wGYri/90y+fqIQpI2Nh3EVU7IuWC9Ty6sSXPMaeUSkkUgVd3q6 o33WHJZBSPR0LrbT//2y/7bUrvKpATtFD3sI18bWm3+pbYEVz0JoSgny3kBs8E2nTAnm xU+uSfHVIKToy4YL/QrkmDQCgHMelNrC8hIW9kloERPN4skIWcbS9Xu7KD4FTtmyfGWt uV3kQoJBEe6aVMW28BRRVZa6ulugGhz+Reo3Z9VHVqo4JCYl1DWXsrgs2xYMuSpgfVMa Cxgw== X-Gm-Message-State: APjAAAU8T2sgVHO2C0GRBnUHgZlIyy4Y4Afh+crC8y4OktAcxbGCXinl CGDnwZhA65voc87nODJgWC4= X-Received: by 2002:aa7:8f22:: with SMTP id y2mr44011586pfr.22.1558027604243; Thu, 16 May 2019 10:26:44 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id r18sm16175557pfg.141.2019.05.16.10.26.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 May 2019 10:26:43 -0700 (PDT) From: Yangtao Li To: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, davem@davemloft.net, mchehab+samsung@kernel.org, gregkh@linuxfoundation.org, linus.walleij@linaro.org, Jonathan.Cameron@huawei.com, nicolas.ferre@microchip.com, paulmck@linux.ibm.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yangtao Li Subject: [PATCH v2 2/2] dt-bindings: thermal: add binding document for h6 thermal controller Date: Thu, 16 May 2019 13:26:33 -0400 Message-Id: <20190516172633.12607-3-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20190516172633.12607-1-tiny.windzz@gmail.com> References: <20190516172633.12607-1-tiny.windzz@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds binding document for allwinner h6 thermal controller. Signed-off-by: Yangtao Li --- .../bindings/thermal/sun8i-thermal.txt | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/sun8i-thermal.txt diff --git a/Documentation/devicetree/bindings/thermal/sun8i-thermal.txt b/Documentation/devicetree/bindings/thermal/sun8i-thermal.txt new file mode 100644 index 000000000000..bd417260501f --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/sun8i-thermal.txt @@ -0,0 +1,34 @@ +* Allwinner Thermal + +This describes the device tree binding for the Allwinner thermal controller +which measures the on-SoC temperatures. + +Required properties: +- compatible: + - "allwinner,sun50i-h6-ths" : For H6 +- reg: Address range of the thermal controller +- clocks, clock-names: Clocks needed for the thermal controller. + The required clocks for h6 are: "bus". +- resets: Reference to the reset controller controlling the thermal controller. +- interrupts: IRQ for the thermal controller +- #thermal-sensor-cells : For H6 Should be 1. + See ./thermal.txt for a description. + +Optional properties: +- nvmem-cells: A phandle to the calibration data provided by a nvmem device. If + unspecified default values shall be used. +- nvmem-cell-names: Should be "calib". + +Example: + + ths: ths@1c25000 { + compatible = "allwinner,sun50i-h6-ths"; + reg = <0x05070400 0x100>; + clocks = <&ccu CLK_BUS_THS>; + clock-names = "bus"; + resets = <&ccu RST_BUS_THS>; + interrupts = ; + nvmem-cells = <&tsen_calib>; + nvmem-cell-names = "calib"; + #thermal-sensor-cells = <1>; + }; -- 2.17.0