Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751451AbdFFMlo (ORCPT ); Tue, 6 Jun 2017 08:41:44 -0400 Received: from 14.mo4.mail-out.ovh.net ([46.105.40.29]:54898 "EHLO 14.mo4.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305AbdFFMln (ORCPT ); Tue, 6 Jun 2017 08:41:43 -0400 X-Greylist: delayed 590 seconds by postgrey-1.27 at vger.kernel.org; Tue, 06 Jun 2017 08:41:42 EDT MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 06 Jun 2017 14:21:54 +0200 From: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= To: Markus Mayer Cc: Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland , Doug Berger , Brian Norris , Gregory Fong , Florian Fainelli , Broadcom Kernel List , Power Management List , Device Tree List , ARM Kernel List , Linux Kernel Mailing List , Markus Mayer Subject: Re: [PATCH 1/2] Documentation: devicetree: add binding for Broadcom STB AVS TMON In-Reply-To: <20170605210930.65432-2-code@mmayer.net> References: <20170605210930.65432-1-code@mmayer.net> <20170605210930.65432-2-code@mmayer.net> Message-ID: User-Agent: Roundcube Webmail/1.2.5 X-Originating-IP: 194.187.74.233 X-Webmail-UserID: rafal@milecki.pl X-Ovh-Tracer-Id: 11417188009448214043 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeljedrheelgdehvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 830 Lines: 28 On 2017-06-05 23:09, Markus Mayer wrote: > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt > @@ -0,0 +1,20 @@ > +* Broadcom STB thermal management > + > +Thermal management core, provided by the AVS TMON hardware block. > + > +Required properties: > +- compatible: must be one of "brcm,avs-tmon" or > "brcm,avs-tmon-bcm7445" Is the "one of" correct here? I'm not native English but it sounds like setting both is a wrong thing. > +- reg: address range for the AVS TMON registers > +- interrupts: temperature monitor interrupt, for high/low threshold > triggers > +- interrupt-names: should be "tmon" > +- interrupt-parent: the parent interrupt controller > + > +Example: > + > + thermal@f04d1500 { > + compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; Yet here you use both bindings.