From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip Date: Tue, 08 Nov 2016 10:16:13 -0800 Message-ID: References: <20161103113410.2163-1-ahaslam@baylibre.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20161103113410.2163-1-ahaslam@baylibre.com> (Axel Haslam's message of "Thu, 3 Nov 2016 12:34:10 +0100") Sender: linux-kernel-owner@vger.kernel.org To: Axel Haslam Cc: linus.walleij@linaro.org, gnurou@gmail.com, nsekhar@ti.com, david@lechnology.com, grygorii.strashko@ti.com, keerthy@ti.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-gpio@vger.kernel.org Axel Haslam writes: > 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 Acked-by: Kevin Hilman