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: Received: from mail-wg0-f51.google.com ([74.125.82.51]:49719 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754034AbaDYA23 (ORCPT ); Thu, 24 Apr 2014 20:28:29 -0400 Received: by mail-wg0-f51.google.com with SMTP id z12so1771410wgg.10 for ; Thu, 24 Apr 2014 17:28:28 -0700 (PDT) In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@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 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