From: rafal@milecki.pl (=?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?=) Date: Tue, 06 Jun 2017 14:21:54 +0200 Subject: [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: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 at f04d1500 { > + compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon"; Yet here you use both bindings.