From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH v3 4/7] pinctrl: sunxi: support multiple pin controller Date: Tue, 22 Apr 2014 13:43:03 +0200 Message-ID: References: <1397137966-30818-1-git-send-email-boris.brezillon@free-electrons.com> <1397137966-30818-5-git-send-email-boris.brezillon@free-electrons.com> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1397137966-30818-5-git-send-email-boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: Boris BREZILLON Cc: Randy Dunlap , Maxime Ripard , =?UTF-8?Q?Emilio_L=C3=B3pez?= , Mike Turquette , Chen-Yu Tsai , Hans de Goede , Shuge , kevin-0TFLnhJekD6UEPyfVivIlAC/G2K4zDHf@public.gmane.org, "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , dev-3kdeTeqwOZ9EV1b7eY7vFQ@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON wrote: > Add support for multiple pin controller instances. > > First remove the static definition of the sunxi gpio chip struct and fill > the dynamically struct instead. > Then define a new pin_base field in the sunxi_pinctrl_desc which will be > used to specify the gpiochip base pin. > > Signed-off-by: Boris BREZILLON > Acked-by: Maxime Ripard Patch applied. Yours, Linus Walleij