From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752287AbcKHNbZ (ORCPT ); Tue, 8 Nov 2016 08:31:25 -0500 Received: from mail-qk0-f180.google.com ([209.85.220.180]:34048 "EHLO mail-qk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbcKHNbW (ORCPT ); Tue, 8 Nov 2016 08:31:22 -0500 MIME-Version: 1.0 In-Reply-To: <20161103113410.2163-1-ahaslam@baylibre.com> References: <20161103113410.2163-1-ahaslam@baylibre.com> From: Linus Walleij Date: Tue, 8 Nov 2016 14:31:20 +0100 Message-ID: Subject: Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip To: Axel Haslam , "Nori, Sekhar" , Kevin Hilman Cc: Alexandre Courbot , David Lechner , Grygorii Strashko , keerthy@ti.com, "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Yours, Linus Walleij