Received: by 10.192.165.156 with SMTP id m28csp297434imm; Sun, 15 Apr 2018 23:34:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx49pNYq+XG9VlwAj5PMSMzxLbSKBFXWVFOiMEyNblUQ+1lSUXOwOxAMv9XwaeocWouIzCyKr X-Received: by 2002:a17:902:362:: with SMTP id 89-v6mr14467378pld.270.1523860472046; Sun, 15 Apr 2018 23:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523860472; cv=none; d=google.com; s=arc-20160816; b=cSHdNSP2hLh+A/KxhFJsg/nWwXS9mnUg6bZGu2EV7VMqklnclPo0+iq6wmnBBEA0UO paOUJjKL1DHaz15Z0PO6ZtvIWr12z/LP4VxYF7Ga2J6UPapEuPC8XDPFIzYrb7qefVjw 1dqB9GM3EjPmQmaX8GUlozjY5tK/J4LlVSPS922iiEEsC2oQUMd3cFMl1AOfCtBxtHBQ IcHmhFck/5HcfrHtJ0740D9LuvHf/g02XbYeffFBF4LzdJMsXTPCkTKabKHyWZhXbK3G bcV9wBMoinjQ+kyvijQlhrhjaEdqmL/1o0Qtp/LzOtDFM8I5vWxWTrRXkuxnpOXEONz6 jSpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=QSy+noQLhhtSF93VXHFwB6dmCKSLeIS8Axw6brGXh1s=; b=ZVkzSlEo5RQaHBfbJwFITF4I9JDDIEYHnTe+v3QMuthhyYsXMwZJ7hhMfABpxyAtTl 1qYB+AbuKqRR8VsOFbpmBKidXSUzSZhvN5dwtrJ4zyZCtdBKXsZkSOaJUjwNBtpCSwgu O8M006FTIXdzSE3sVoF+Qd/ClUsFnDjy9c+DGItQZPROYbBLYQghI85EsiU/6caCoi0X LXDjLKFBHYVwBrDOvWXs1LjFR+mnVcm4asIyswPWN5K/cQNttYf6F8ws0eVTEnBlnZ77 tu3ebZENfW57RTzRzUPXns8qlCeV7u97LvdTJezNSEH8Qe5awaz6gMdXst/0WJRpR+Bj +dwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rGnnr1pX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6-v6si3372990plo.534.2018.04.15.23.34.18; Sun, 15 Apr 2018 23:34:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rGnnr1pX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753845AbeDPG1a (ORCPT + 99 others); Mon, 16 Apr 2018 02:27:30 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:58681 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753016AbeDPG1X (ORCPT ); Mon, 16 Apr 2018 02:27:23 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3G6Q7aM021400; Mon, 16 Apr 2018 01:26:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523859967; bh=ZMy32vNZwRBcRBcDUXhzuALw27tjgzJ+QXxRcdDrnX8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=rGnnr1pXIemuK0t8MODuwSMXQ+nGNzN9Ds++qv7qt6XWbcns6zbzLSMG/Bcdp1K2s bwC1uUMwOdat+STisfH7flVf4cJAZcQQgGBCLnsIQzYnZhO0piZ8Z4RDfVoRAS6rjM 7UqMa+btvDS5sa31miBzr//tcTmLwuhfmKX3obKk= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3G6Q7I8013330; Mon, 16 Apr 2018 01:26:07 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 16 Apr 2018 01:26:07 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Mon, 16 Apr 2018 01:26:07 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3G6Pwdw017680; Mon, 16 Apr 2018 01:26:00 -0500 Subject: Re: [PATCH] ARM: dts: da850: use gpio-ranges To: David Lechner , Linus Walleij CC: Linux ARM , Kevin Hilman , Haojian Zhuang , Tony Lindgren , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" References: <1519079371-25493-1-git-send-email-david@lechnology.com> From: Sekhar Nori Message-ID: <917ac1f1-99a6-ac84-7486-ac97b0a617d8@ti.com> Date: Mon, 16 Apr 2018 11:55:58 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 16 April 2018 12:27 AM, David Lechner wrote: > On 02/23/2018 05:44 AM, Sekhar Nori wrote: >> On Thursday 22 February 2018 09:04 PM, Linus Walleij wrote: >>> On Mon, Feb 19, 2018 at 11:29 PM, David Lechner >>> wrote: >>> >>>> This makes use of the gpio-ranges feature that connects GPIO >>>> controllers and PINMUX controllers. >>>> >>>> In da850.dtsi, pinctrl-single,gpio-range is added to the pinmux node >>>> and gpio-ranges is added to the GPIO node. Unfortunately, the way the >>>> pinctrl-single driver enumerates the pins (starting with LSB) causes >>>> them to be in reverse order compared to the way the gpios are assigned. >>>> As a result, we have to declare the mapping for each GPIO individually. >>>> >>>> This also lets us remove all of the GPIO pinmuxes from >>>> da850-lego-ev3.dts. (Other da850 boards do not currently have any >>>> GPIO pinmuxes declared.) >>>> >>>> Signed-off-by: David Lechner >>> >>> Nice, >>> Acked-by: Linus Walleij >> >> Looks good to me too. And quite painstakingly done! >> >> I suppose this needs to wait a bit due to the dependencies? Let me know >> once its okay to merge. >> >> Thanks, >> Sekhar >> > > Hi Sekhar, > > The dependencies are in v4.17-rc1 so you can pick up this patch now. applied to v4.18/dt. I had to manually adjust the patch to make it apply, probably because it was based off your common clock conversion branch. Thanks, Sekhar