Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp60068pxy; Wed, 21 Apr 2021 18:30:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLLUCI7ktCNtP8DF/xljiIRWLOdVdxMetGD/8KoOkvJa/HaE1UAlPn/ij0VV2YBMFbNtEx X-Received: by 2002:a17:90a:a00e:: with SMTP id q14mr15117574pjp.70.1619055001400; Wed, 21 Apr 2021 18:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619055001; cv=none; d=google.com; s=arc-20160816; b=hFE02cWG1uc/S3XbknEnhE/jMaxB/jSDiZ3mcRoAAJF6BeZYKZBNOgj7iszhvLCjC4 3vsoceUgqb7V5USWMPNoyIc9os41+vG+kmDE7GSuH2c8Ue1aznj6qPA3aTr6IoVEEWjp TzcsPUdBOCnqe0MIF7NQ2QKc2p4L3RKZxikt2LnRnfdoJKX+Nm0LsMaQz2KQE5BrOLdI mAxMiRC9Km01CzdWxEme4N/bDb32WV+qj+LfOcibiJn7NJs9dPwVqFi5hNanDG1SToub ijo7XcDoRbxdbQ2O9Mzq3wBrdmohmqfdaynNzRO/zixF0DOJZv4I8SFi+grZZpsFEBs1 9YaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mqBWFt0vOYLAlBSeNw4pwzZTNa8z4I8AqEIVQWUKndU=; b=0F2USXOdvvxlUTD4LzwQam8Fg6SrFljZrYB2XbzLKBXKsk9xVSPB7rT/dje57gczv2 p0f9RMuANuMn9jS2/E6ybuTct10cL0gOwVbxKRjhcCCLVuS+UFZV25Gjy++dgzxxp/yb trRhENU9jxVre8v3EtA3QIk44T72spJk6cXBIOyVSCsq2JMiVA3xY5X9YZVZEhbIwMmM d/YdamX92KSuvZ4e/xzmyni4doZxR5GMMoIZuHcLDz5Vnf6DrQB6D/gBt5VLBK5PjcuF r1OgWWJ+AMs9HJZn9NKWD2bd81gdgESYF74ySRPmZe75joGqKYxtdvkVzf2/KpHsnBcw Mz4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j4gOvLsS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a8si1316290pgt.77.2021.04.21.18.29.49; Wed, 21 Apr 2021 18:30:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j4gOvLsS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343842AbhDVAPB (ORCPT + 99 others); Wed, 21 Apr 2021 20:15:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231363AbhDVAPA (ORCPT ); Wed, 21 Apr 2021 20:15:00 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0144EC06138A for ; Wed, 21 Apr 2021 17:14:25 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id u4so49748125ljo.6 for ; Wed, 21 Apr 2021 17:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mqBWFt0vOYLAlBSeNw4pwzZTNa8z4I8AqEIVQWUKndU=; b=j4gOvLsSbJYxaKmmCewZI96c/Z9TLLOVjaGaeP/bJ2GwwdG7YtRGZ2i8Fy6XSDxtQp YtDOl97Ytw+Ce0BSJp50NK6hTW510ISi7XCY4JQz4D/DlW3UUFpGSjeZZlGsjTX36KoN iJriHneHlhp0uvJepBiLtrHlzIJk7yNKgnByqTFyUBZkWBfsjoD/7FHQFQfOI8Ets27N 3j3MTxmftvD1CMIAHAREWEmSamxI1LkcaR21mxDUf4qsWeH4fUQT9mvOorI2Kwzum+RP pkA9WXAsqRb0yBMLJE0ZEIpbDZ2GAFhlOaX8SY90+M+5mR/weOhqwLVzB1fNqvt8IuIj 995g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mqBWFt0vOYLAlBSeNw4pwzZTNa8z4I8AqEIVQWUKndU=; b=Vzrn2OPCyW0G1VsgcwoF4Pu+CqIsYNSHuAlrTllcBKpMizB0eu8rbyiAek6e0ye8dw Hbu76niksDwLHkmf78y4Amh9zqt+XPTXWeoWTnzJef5udUzjOTOX8GdukYCKL1Je5lDx SYZHDuDrQrbCekQtaG04THfyCl7RPNeiQFub7Cxi7dttzHFYUc/kdUpU0KFtcquxQnip fJRV8cWyJ2I3QTrTZD9pWcB1XGJRaS7MT5C5u+p6F9iBNGk9hoYfHA6dUTSi3yEBBOWX pop9YnXWXDmdyQ9ij07cvb7upm/u/I5aWv6uIhdwiTueMRhIZCYgbT03BB4+VQno6Tlo Q4AQ== X-Gm-Message-State: AOAM531cnutoVOdwO0PliAUETuVrEmTshqAxcAxBB4QteWcnxDe99/Ui PYffnMyg2LShFKcTcoVbSpMcOq4olCThMueGkP2/Mw== X-Received: by 2002:a05:651c:503:: with SMTP id o3mr562244ljp.368.1619050463537; Wed, 21 Apr 2021 17:14:23 -0700 (PDT) MIME-Version: 1.0 References: <20210415130356.15885-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20210415130356.15885-1-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Thu, 22 Apr 2021 02:14:12 +0200 Message-ID: Subject: Re: [PATCH v1 1/1] pinctrl: core: Show pin numbers for the controllers with base = 0 To: Andy Shevchenko Cc: "open list:GPIO SUBSYSTEM" , linux-kernel , Drew Fustini Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 15, 2021 at 3:05 PM Andy Shevchenko wrote: > The commit f1b206cf7c57 ("pinctrl: core: print gpio in pins debugfs file") > enabled GPIO pin number and label in debugfs for pin controller. However, > it limited that feature to the chips where base is positive number. This, > in particular, excluded chips where base is 0 for the historical or backward > compatibility reasons. Refactor the code to include the latter as well. > > Fixes: f1b206cf7c57 ("pinctrl: core: print gpio in pins debugfs file") > Cc: Drew Fustini > Signed-off-by: Andy Shevchenko Patch applied for fixes! Yours, Linus Walleij