Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4911431ooa; Tue, 14 Aug 2018 12:22:07 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxYpIh3pHdKu9MPXZHSzkvh4h8VdSdrg9GVuYlXNwMrW0RURVAbeFG4sbfB6jCAUzJz6Lsz X-Received: by 2002:a63:c60:: with SMTP id 32-v6mr22414019pgm.155.1534274527271; Tue, 14 Aug 2018 12:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534274527; cv=none; d=google.com; s=arc-20160816; b=K5ZWzaxa4IPw32rihC1hCBpR+fW/egte5Zpkhyy60eqEhMpicaLfDhr5ovgcf6gL5S T5oXKNPJcrBGM4mcCTdfKvi4pACKtMdNr0RaPVu6WJT1RJ+0Zbe9D1ti5eUrx18xTUWD MwQSi09+tWbywh0wvLAzzzrVg+6QLnJB6L4MBD5YP22BbV47Ur+orFnfTGiUVWWcx+Bq /W6Juh5L2jN8s03HBIxrCKK9whRNaPcZWxy3x+TOQBXAgz93qjO/BK2hzHHGTh2EOYJu WL1NEWFUiF2Laa2HbGizL4RcgRhI8bEZnt4TWMQ3B0K2ON04rBJWa4xVrLKUYtchAkPz y5qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=QmKT2rgn5MepwWz7JfUMYkwpHNQUz/jo8jAKYuQhdEA=; b=gdjTxaTUG6kFxsFFAGjjW8LoPmfGJ6zLXoF6DX4nb08UorQn14x7i7TYj9zHaUA777 DBt0wKdWTVytSvU9n6yBHwtNNKTFAy7DbJfRV4ItBvB1i0iUylLL0WT6H3i8RRsNwDa0 8833ZGr2aucImGpBIK8J1lE0t0BqdZ/uDLsorM69z94CZmetrBIz7Eg9NWDVrNeRYgeb RWJ8/BVvyTESOB4AzGkYnoV9X2oF/YTunKFktmCClHSS5/KqEZ444kRIxPWbsHl0bEY9 6sSFFTFy6dJImo8ZWKkAynvLYVasxeFr9WYMFaO94JqzTclGA2Fip047WOJA7NCrK1Hp G0hw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3-v6si16575050plk.321.2018.08.14.12.21.47; Tue, 14 Aug 2018 12:22:07 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728465AbeHNWJf (ORCPT + 99 others); Tue, 14 Aug 2018 18:09:35 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:37267 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727740AbeHNWJf (ORCPT ); Tue, 14 Aug 2018 18:09:35 -0400 Received: by mail-pg1-f195.google.com with SMTP id n7-v6so9535310pgq.4; Tue, 14 Aug 2018 12:20:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QmKT2rgn5MepwWz7JfUMYkwpHNQUz/jo8jAKYuQhdEA=; b=qU6+L5+SAPkIu9mzk9F25dCUW/2aimbw96PycsqkpUDq9Olsc8kKwiQp03EB8bPmB8 HsNoUJ7K37eiZ67fInCiKWUzSqXCihf2iHXFZvJOn3EjSHzPf2dfr/2AQ5uWf+I3b49X vIZEhCf4Zy0uVq7a47VZEtZI/7E66axabUcyF8kqlOEhIDrgu8Ddu0mHitnV1/vo0a6L eYKLgYghhKBLQLzPUuOoU7CplEK/3Y6ZqNM5UauznV9sJf9uhXTUdAh0HHR16QtojNQW zLxhN7uD8sfavxGzpSOg+rvwm5ZPV3by+SCLXl9iRdqhN/urBh1SsfOdCUauUS1nAJqZ 0wMA== X-Gm-Message-State: AOUpUlFsuhd4NdU43rko5sJwU/ZmKzri8FQzRTDuCXO/nvQvWUAcGhm2 UglMetL2ycSItmouZ1C2Tw== X-Received: by 2002:a63:fb07:: with SMTP id o7-v6mr22732142pgh.333.1534274455759; Tue, 14 Aug 2018 12:20:55 -0700 (PDT) Received: from localhost ([74.118.88.158]) by smtp.gmail.com with ESMTPSA id b76-v6sm41420971pfj.184.2018.08.14.12.20.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Aug 2018 12:20:55 -0700 (PDT) Date: Tue, 14 Aug 2018 13:20:53 -0600 From: Rob Herring To: Emmanuel Vadot Cc: rui.zhang@intel.com, edubezval@gmail.com, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, catalin.marinas@arm.com, will.deacon@arm.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller Message-ID: <20180814192053.GA28118@rob-hp-laptop> References: <20180804070355.14857-1-manu@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180804070355.14857-1-manu@freebsd.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 04, 2018 at 09:03:49AM +0200, Emmanuel Vadot wrote: > This patch adds documentation for Device-Tree bindings for the Allwinner > Thermal Sensor Controller found on the H3, H5 and A64 SoCs > > Signed-off-by: Emmanuel Vadot > --- > .../bindings/thermal/allwinner-thermal.txt | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/thermal/allwinner-thermal.txt > > diff --git a/Documentation/devicetree/bindings/thermal/allwinner-thermal.txt b/Documentation/devicetree/bindings/thermal/allwinner-thermal.txt > new file mode 100644 > index 000000000000..5810d44cf495 > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/allwinner-thermal.txt > @@ -0,0 +1,41 @@ > +* Thermal Sensor Controller on Allwinner SoCs > + > +Required properties: > +- compatible : should be "allwinner,-ths" > + "allwinner,sun8i-h3-ths": found on H3 and H2+ SoCs > + "allwinner,sun50i-h5-ths": found on H5 SoC > + "allwinner,sun50i-a64-ths": found on H5 SoC > +- reg : physical base address of the controller and length of memory mapped > + region. > +- interrupts : The interrupt number to the cpu. The interrupt specifier format > + depends on the interrupt controller. Just need to say how many entries (and order if more than one). > +- clocks : Must contain an entry for each entry in clock-names. > +- clock-names : Shall be "apb" for the bus, and "ths" for > + the peripheral clock. > +- resets : Must contain an entry for each entry in reset-names. > + See ../reset/reset.txt for details. > +- reset-names : Must be "apb". > +- #thermal-sensor-cells : Depend on the SoC > + For H3 should be 0 > + For H5 should be 1 > + For A64 should be 2 > + See ./thermal.txt for a description. > +- nvmem-cells : Phandle to the calibration data > +- nvmem-cell-names = Should be "ths-calib" > + > +Example: > + > +ths: thermal_sensor@1c25000 { thermal-sensor@... > + compatible = "allwinner,sun8i-h3-ths"; > + reg = <0x01c25000 0x100>; > + interrupts = ; > + clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; > + clock-names = "apb", "ths"; > + resets = <&ccu RST_BUS_THS>; > + reset-names = "apb"; > + #thermal-sensor-cells = <0>; > + status = "disabled"; > + > + nvmem-cells = <&ths_calib>; > + nvmem-cell-names = "ths-calib"; > +}; > -- > 2.18.0 >