From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haojian Zhuang Subject: Re: [PATCH 1/2] gpio: pl061: get gpio base from alias id Date: Fri, 25 Apr 2014 08:28:28 +0800 Message-ID: References: <1398130543-19454-1-git-send-email-haojian.zhuang@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org To: Rob Herring Cc: Xu Wei , Linus Walleij , Grant Likely , Rob Herring , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Baruch Siach List-Id: devicetree@vger.kernel.org On 24 April 2014 02:52, Rob Herring wrote: > On Mon, Apr 21, 2014 at 8:35 PM, Haojian Zhuang > wrote: >> If gpio base number isn't specified, the gpio base will be find from >> the end of gpio number. In order to keep with schematics, use alias >> to get the ID of gpio chip. > > NAK. This is an abuse aliases. > >> Signed-off-by: Haojian Zhuang >> --- >> .../devicetree/bindings/gpio/gpio-pl061.txt | 31 ++++++++++++++++++++++ > > Is something wrong with the binding doc already in pl061-gpio.txt? > Oh. I just copy my old patch to here. I didn't notice there's a new pl061-gpio.txt. Thanks for reminder. Regards Haojian