Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp251272imm; Tue, 18 Sep 2018 21:08:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYhNNY/gx382IMmaK4vHZgJJAwUTZ/J4aRsmQyjsRqfK5xotIkxgu5zthl9br5cdXyPXAqj X-Received: by 2002:a62:3c7:: with SMTP id 190-v6mr33593368pfd.145.1537330114121; Tue, 18 Sep 2018 21:08:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537330114; cv=none; d=google.com; s=arc-20160816; b=Mqppoy59nWS5Fq2e93j6x5mG85tFGKVWjAjKLmF5Fr5ZfD8bgO9u48JEzN6AKat9oB zmib7c72nOw3ZT1/TumvU8doc/iTzhUvwid3PawAKWDNaqeFMUmRCi4FgJl6bd6+sepW 3//BD6hBHPDXrevGvWUVpS9K95i6sY2koF+ur79jG+aXJCJBcXSAWGxurfh7MgANWClj dxnsLMLTyZiFp/16vxYXVG2WENKG8UxzRPQw0b312xdU8Uu1n816woYvG4koReghFLhY tbMlpL4rgns59hJqIV+jqm7+uwbc3pTutQNadDqdU+jch5PszRMRfpJUQR6bsQ7CadOi lhxQ== 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; bh=z+iHwZb5hKNzKe1+8mrGdH1LFkUcP9Wfos4VItSCduY=; b=u1/SPNP7UjVTeredlBohYMJGNQ9zVWsnjTqy6ez0bT8GRBkkACt+23zUR32/9v8VNJ 75dUCeKRHFz43la6f4cBX04x0/bNj8+7wA/ORGP4sP9AySDT2FRlGqffrMuBccHW08B6 OY1WWIeA8QPV91lHigOiZ8hr5a15PFT2jmJK3U4bxivEx2I7GcnPu3b+X++0WF8Gic5a SqHLYO+RuMSZ2SxXtWtvYxa24MsD+smbLM2bEMK5kqb6VCCnQd+uCKgqLuI5GHTf9lUG ZTPtzqunbYmTfnE6A2xD5F8k9wM5RoFThJY479ogp7I7yKdC4EmphqjJJlA1ChqFLsbW CqnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Sd6Pv76P; 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 h65-v6si20935272pfg.197.2018.09.18.21.08.18; Tue, 18 Sep 2018 21:08:34 -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=Sd6Pv76P; 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 S1727988AbeISJoM (ORCPT + 99 others); Wed, 19 Sep 2018 05:44:12 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:55142 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbeISJoM (ORCPT ); Wed, 19 Sep 2018 05:44:12 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8J48Crb039338; Tue, 18 Sep 2018 23:08:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1537330092; bh=z+iHwZb5hKNzKe1+8mrGdH1LFkUcP9Wfos4VItSCduY=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Sd6Pv76P7OY9L9EQKXBtNdZ4jj9YrCcJCpLLnwm9HBMAk26W/Xstx7NWf3kdbiNt9 3y1HyiNMQHCD7OR84OOR4Az15ex0tSa9LHtx+bhQYLGz1hb3U7v0M10hhwBaGCXEIt fWFW1vTz2SJTYZhYOsG4U62YabUWSxTFYbPw+mSc= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8J48Bvb001944; Tue, 18 Sep 2018 23:08:11 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 18 Sep 2018 23:08:11 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 18 Sep 2018 23:08:12 -0500 Received: from [172.24.191.45] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8J488eM021462; Tue, 18 Sep 2018 23:08:09 -0500 Subject: Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection To: Linus Walleij , "Andrew F. Davis" CC: "Nori, Sekhar" , Kevin Hilman , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" References: <20180831191326.25106-1-afd@ti.com> <20180831191326.25106-2-afd@ti.com> From: Keerthy Message-ID: <1b1199c7-2e3a-4f65-0da4-1cbdae219537@ti.com> Date: Wed, 19 Sep 2018 09:38:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.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 Wednesday 19 September 2018 12:56 AM, Linus Walleij wrote: > On Fri, Aug 31, 2018 at 12:13 PM Andrew F. Davis wrote: > >> Use dev_name to get a unique label and use -1 for a base to get our >> selection automatically. We pull in all GPIOs per chip now so this >> does not have the effect of out of order labels like before. >> >> We do these both together so we can drop all the static data in one >> patch. This also lets us normalize the return paths as we don't need >> any cleanup after this change. >> >> Signed-off-by: Andrew F. Davis > > I have tentatively applied this patch set as we seem to have rough > consensus that it will be OK. > > We can always pull it out or revert it if things break. Okay. If that is the case then i have already tested the entire series. Apart from gpio numbering different, i have tested toggling and interrupts with k2g-evm and omapl138. > > Yours, > Linus Walleij >