Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753594AbdC1O54 (ORCPT ); Tue, 28 Mar 2017 10:57:56 -0400 Received: from mail-pg0-f50.google.com ([74.125.83.50]:36029 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756AbdC1O5x (ORCPT ); Tue, 28 Mar 2017 10:57:53 -0400 From: Kevin Hilman To: Neil Armstrong Cc: Linus Walleij , Carlo Caione , "open list\:ARM\/Amlogic Meson..." , "linux-gpio\@vger.kernel.org" , "linux-arm-kernel\@lists.infradead.org" , "linux-kernel\@vger.kernel.org" Subject: Re: [RFT PATCH 5/6] pinctrl: meson: use gpio-ranges from DT Organization: BayLibre References: <1490286449-19448-1-git-send-email-narmstrong@baylibre.com> <1490286449-19448-6-git-send-email-narmstrong@baylibre.com> Date: Tue, 28 Mar 2017 07:57:40 -0700 In-Reply-To: (Neil Armstrong's message of "Tue, 28 Mar 2017 11:38:20 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1047 Lines: 31 Neil Armstrong writes: > On 03/28/2017 11:30 AM, Linus Walleij wrote: >> On Thu, Mar 23, 2017 at 5:27 PM, Neil Armstrong wrote: >> >> '> When trying to add a gpio-hog, we enter a weird loop where the gpio-ranges >>> is needed when gpiochip_add_data() is called but in the current implementation >>> the ranges are added from the driver afterwards. >>> >>> A simple solution is to rely on the DR gpio-ranges attribute and remove the >>> call to gpiochip_add_pin_range(). >>> >>> Signed-off-by: Neil Armstrong >> >> This is fine once the ranges have been applied to the device trees I guess. >> >> Tell me when you want me to merge this. >> >> Yours, >> Linus Walleij >> > > Hi Linus, > > Kevin should merge the DT patches since they have now Tested and Reviewed by's, so you can merge it now if you can. > Since it will live in you pinctrl tree, it will only impact linux-next until Kevin merges them. I've applied the DT patches now (branch: v4.12/dt64) Kevin