From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Stigge Subject: Re: [PATCH] pwm: add lpc32xx pwm support Date: Tue, 10 Jul 2012 09:56:08 +0200 Message-ID: <4FFBE018.9060108@antcom.de> References: <1341862074-9240-1-git-send-email-aletes.xgr@gmail.com> <20120710064853.GA28840@avionic-0098.adnet.avionic-design.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120710064853.GA28840@avionic-0098.adnet.avionic-design.de> Sender: linux-doc-owner@vger.kernel.org To: Thierry Reding Cc: Alexandre Pereira da Silva , Grant Likely , Rob Herring , Rob Landley , linux-kernel@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org List-Id: devicetree@vger.kernel.org Hi, On 07/10/2012 08:48 AM, Thierry Reding wrote: >> --- /dev/null +++ >> b/Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt @@ -0,0 >> +1,12 @@ +LPC32XX PWM controller + +Required properties: +- >> compatible: should be "nxp,lpc3220-pwm" > > Does the compatible have to be lpc3220-pwm? Can't it be lpc32xx-pwm > to match the driver and binding names? When creating the other NXP LPC compatible strings, we agreed on taking the first LPC32xx chip, i.e., lpc3220, as prefix. (There are 4 of them, -20, -30, -40, -50, most of them supporting things available in lpc3220.) So lpc3220-pwm looks good here. Thanks also for the review. Will have a second look when Alexandre posts an update. Thank you two! Roland