From: Sekhar Nori Subject: Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip Date: Tue, 8 Nov 2016 20:16:07 +0530 Message-ID: References: <20161103113410.2163-1-ahaslam@baylibre.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:47450 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266AbcKHOrD (ORCPT ); Tue, 8 Nov 2016 09:47:03 -0500 In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Linus Walleij , Axel Haslam , Kevin Hilman Cc: Alexandre Courbot , David Lechner , Grygorii Strashko , "J, KEERTHY" , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" On Tuesday 08 November 2016 07:01 PM, Linus Walleij wrote: > On Thu, Nov 3, 2016 at 12:34 PM, Axel Haslam wrote: > >> The gpiod framework uses the chip label to match a specific chip. >> The davinci gpio driver, creates several chips using always the same >> label, which is not compatible with gpiod. >> >> To allow platform data to declare gpio lookup tables, and for drivers >> to use the gpiod framework, allocate unique label per registered chip. >> >> Signed-off-by: Axel Haslam > > Sekhar/Kevin: can either of you review this patch? The patch looks good to me. Reviewed-by: Sekhar Nori I am traveling and did not really test the patch. Thanks, Sekhar