Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751628AbdFFRHN (ORCPT ); Tue, 6 Jun 2017 13:07:13 -0400 Received: from mail-ua0-f195.google.com ([209.85.217.195]:33877 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751463AbdFFRHK (ORCPT ); Tue, 6 Jun 2017 13:07:10 -0400 MIME-Version: 1.0 In-Reply-To: References: <20170605210930.65432-1-code@mmayer.net> <20170605210930.65432-2-code@mmayer.net> From: Markus Mayer Date: Tue, 6 Jun 2017 10:07:08 -0700 X-Google-Sender-Auth: nMSl1nW5uBC93LcVWbkoECcylXM Message-ID: Subject: Re: [PATCH 1/2] Documentation: devicetree: add binding for Broadcom STB AVS TMON To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Markus Mayer , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v56H7Ne3014217 Content-Length: 1013 Lines: 32 On 6 June 2017 at 05:21, Rafał Miłecki wrote: > 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. You are right. It should not say "one of". I'll fix the wording. >> +- 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.