Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp719977imm; Fri, 29 Jun 2018 05:23:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLUIn5dDGCh68QxmL9CQc44bm7PANUYqwTLmAmhWZPwGvrNtbfjWfd9ULjQC7BXFotGPtge X-Received: by 2002:a17:902:3e3:: with SMTP id d90-v6mr14727904pld.12.1530275026557; Fri, 29 Jun 2018 05:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530275026; cv=none; d=google.com; s=arc-20160816; b=i3vMdaQ4DK7TZlPR3K5bYcAkGz3vXrx6PpFhuvE9nWVZolRGdMF/PaTVtU8fL+NdGl z1yukmMkPY4DkFgbs2YXxTo4lAvmZHV7VDA9xG22ySafmYKz94hNYaQLDTxI/Z4s+EHZ LQFz0fVqCd2xbqZY8R5RYkAj0nrJ1AsXHxbePpq7idp1snlDss2SI5jPylY3O+ZwBDBT +ZlKOCOe1HVO7ZfGsce7fxrqyMarga7mHKyX6k/LJYYOGpvIPMeqr6RfWMdBTdm318Z8 +9ZPT6xDTsopz7t7ilB1Xu/N11wtXrzZIoJpStMXViyJLel7HtG0xnyyZnYGI+4p96ai pB+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=vIqrAKMT12WIpM+imnkxkjDhJJNXxMCT535TYywVHkE=; b=czNx70ghOrflHzSWeb0O/jXzgUZOQDF0CORB9P5vdwcAYzGsNSPKsb7ULvwrzlVhsH PuoY9SL/BmZTjf9LViIf+kr7IYMtheBhJ3K/K7RfJqK29HgaxZl4CNZWb3F/C1rt180i aDf+6YDL+N80scp+xyzbcBYyUHaoItuZSs4YK0HWETMNtxLbMWE7S6eMqbY48FdbcpRp c1r5y2QTemIob9wy+rZNr7qxsyzss811KH+ubLIHQXWzAU+OYuxwu1YrJlaIjSkYRRoc h31/BUWM/4/jIHikFudFK+bcgNI7WUCzkQgkAiLNzD9tjAfNX7H0IXz1gy+f8vNy0XRP vZ5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h9Elhlmo; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h75-v6si6184457pfe.332.2018.06.29.05.23.32; Fri, 29 Jun 2018 05:23:46 -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=@linaro.org header.s=google header.b=h9Elhlmo; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936308AbeF2MVY (ORCPT + 99 others); Fri, 29 Jun 2018 08:21:24 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:37798 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755357AbeF2MVW (ORCPT ); Fri, 29 Jun 2018 08:21:22 -0400 Received: by mail-it0-f66.google.com with SMTP id p17-v6so2581666itc.2 for ; Fri, 29 Jun 2018 05:21:21 -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=vIqrAKMT12WIpM+imnkxkjDhJJNXxMCT535TYywVHkE=; b=h9ElhlmoDN6eqcsKyx7l/APfahoQZ7rZDxjyC9wDAdd25hrl1riyLQnchK6eiVRYId XeOgHjMn3crbVE/r0uNmJzPDa9Mg0VCEM4vVEecMH+OU1KNbBms7K5DVzWnutag919Xo DtuinAYPti/zNOPvnmHksWfpvTU1k0FEls8TA= 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=vIqrAKMT12WIpM+imnkxkjDhJJNXxMCT535TYywVHkE=; b=VfJLGRV9JnmipIAdZNEQgcIwGnYlscnlCgxsxx6Lh1sHjBTCa6nv+BhhvtmypVy9+B booNB+trN+luMHLjTAcOyR7oRmOW2YYojNAF61PJaxt2kC9yyRCBUEVisCtoA0uqFvRt MTLE4yuFGAEcIG8qaIzNFw9D3BJOsdOW65R+4zYUcVnsDzaHsOQGERsV7vYlPWBCGXMg CdUXp6qrQJXkyFFF+WxTnMOmX64clO5HYg0U6gB6zyHsWlnSF/G/PfI87AnahHXHGbqy RQEzxSWeSPwVf+FvA0Gmnw9xKz1BrpmAu9MR1PgHkrMH9n8XjOW4hzKMQOTe+mtwwpS8 c9Rw== X-Gm-Message-State: APt69E20uxvNBbQeVE+VV56X4WfxNCUjN/spUfXVzKVicTRSjPqeucWR TXrAAz1wPORmcKa7cHSjZWcmktOPDkeVXS5mhp9Nkg== X-Received: by 2002:a02:c006:: with SMTP id y6-v6mr12184770jai.87.1530274881386; Fri, 29 Jun 2018 05:21:21 -0700 (PDT) MIME-Version: 1.0 References: <098100772163e54fe5ca49576042edbfaf3807a5.1529639050.git.sean.wang@mediatek.com> In-Reply-To: <098100772163e54fe5ca49576042edbfaf3807a5.1529639050.git.sean.wang@mediatek.com> From: Linus Walleij Date: Fri, 29 Jun 2018 14:21:10 +0200 Message-ID: Subject: Re: [PATCH 4/7] pinctrl: mt7622: stop using the deprecated pinctrl_add_gpio_range To: Sean Wang Cc: "moderated list:ARM/Mediatek SoC support" , Linux ARM , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , stable Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 22, 2018 at 5:49 AM wrote: > From: Sean Wang > > If the pinctrl node has the gpio-ranges property, the range will be added > by the gpio core and doesn't need to be added by the pinctrl driver. > > But for keeping backward compatibility, an explicit pinctrl_add_gpio_range > is still needed to be called when there is a missing gpio-ranges in pinctrl > node in old dts files. > > Cc: stable@vger.kernel.org > Fixes: d6ed93551320 ("pinctrl: mediatek: add pinctrl driver for MT7622 SoC") > Signed-off-by: Sean Wang Patch applied for fixes. Yours, Linus Walleij