From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Jones Subject: Re: [PATCH 1/5] gpiolib: devres: Introduce the function devm_request_gpio_array Date: Fri, 11 Jul 2014 11:03:05 +0100 Message-ID: <53BFB659.8050306@codethink.co.uk> References: <1a1752ce7455bac8f2505a9790da891a830699f5.1404665589.git.himangi774@gmail.com> <53BD2509.6070803@codethink.co.uk> <53BE7288.6060503@codethink.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from ducie-dc1.codethink.co.uk ([185.25.241.215]:51417 "EHLO ducie-dc1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbaGKKDK (ORCPT ); Fri, 11 Jul 2014 06:03:10 -0400 In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Javier Martinez Canillas Cc: Linus Walleij , Himangi Saraogi , Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Randy Dunlap , "linux-doc@vger.kernel.org" , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , patches@opensource.wolfsonmicro.com, "alsa-devel@alsa-project.org" , Eric Miao , Russell King , Haojian Zhuang , "linux-arm-kernel@lists.infradead.org" , Philipp Zabel , Paul Parsons , Julia Lawall On 11/07/14 01:35, Javier Martinez Canillas wrote: > Hello Rob, > > On Thu, Jul 10, 2014 at 1:01 PM, Rob Jones wrote: >> >> I will certainly consider it. I'm in the middle of something else right >> now but I should be available in a day or two and I'll have a look. >> >> > > I'm working on a driver for a PMIC which uses a set of GPIO to select > a particular register. Right now I'm getting each GPIO independently > but Linus mentioned [0] the devm_gpio_request_array() patch you > posted. > > Now, I'm not using the integer-based GPIO API but the new > descriptor-based one so I was wondering if you are already > implementing a devm_gpiod_get_array() or if you want me to implement > it myself. > As I said, I'm deep in something else for the next day or two so if you need it urgently you should probably do it yourself but if you don't mind waiting until next week, I can have a go. Your call, let me know. > Best regards, > Javier > > [0]: https://lkml.org/lkml/2014/7/10/166 > -- > To unsubscribe from this list: send the line "unsubscribe linux-gpio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Rob Jones Codethink Ltd mailto:rob.jones@codethink.co.uk tel:+44 161 236 5575