Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp958978ybt; Tue, 7 Jul 2020 04:35:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLrLOb1/Wdbh0DKYIF8qXsWrDodvTJHbMRN4YXW8OmSHNzUZZGGGjHzsH7JPyVEGx00uZ8 X-Received: by 2002:a17:906:a156:: with SMTP id bu22mr45911629ejb.322.1594121705873; Tue, 07 Jul 2020 04:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594121705; cv=none; d=google.com; s=arc-20160816; b=VaFccVMgJEr/VHMU1tJ/zYPMsmCEZvJHihDAj+KXb5YsBdzUHIHnFOdMwqa4LoODvA Kuft0dtB5qXx5Gd3U6OnbWZWdlcQIC5E1nrfphxcF0vK1Y40cZgyndBmHmN3KwxjxArR OteBZ4bQVjw2rqPjApwZc7SsFQTbynJS3O6Ae1j7DvGUpIR5cwChp+IpAxJU35FLIw7/ mIYCb13vtU0fEpn85wfgReQgxG32QTDOb7xD86mxrP+ANucs3DVvQ6raiXLVRhWqxYJ9 b0ejtfnYxkspKXOIBG3+ZJET8+qDQgRnUee3VD3g+R1QDfRASmAghSEjIHMANcNitfw9 T+Gg== 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; bh=ZWFCdEUgk5dfzDM3fhNe+v2tWxrsCvDUWA3/QI1yjsA=; b=uw/hvNmh3kF7738pi1kQfPH/UpKNENR0X0xCDpISjsTwZrQJDQrwKCPV/CzJRaL1Sr PyQ07NInHkYePP41ix0zT6Vwo9bgULxuv6TI+gSg8ZfNhJamDx0Gh7tGaOFKZwl544hw wJeu9kuGuZ9LvtMPWGFFFV1Aa3OBAnYVTX1v2L9JnMUIJ5hkLvlHmxptQTVTLSnXfU+S pcxjz2tSztxSA26jh1cdJl5rF8IJT+/HNmk2lmKGvXXUunSXwZN9ywC+xF5yAX/mztQ8 KydEJn9oCLDNfJw7Y8Mxi/1w2wYbRkibdbQ9GNRr3pbyepGsRKw4PUQjg4uhLWPhfVza l5rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dRxCuE1+; 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 l7si14400848edv.475.2020.07.07.04.34.42; Tue, 07 Jul 2020 04:35:05 -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=dRxCuE1+; 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 S1728137AbgGGLeX (ORCPT + 99 others); Tue, 7 Jul 2020 07:34:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727107AbgGGLeW (ORCPT ); Tue, 7 Jul 2020 07:34:22 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D168AC08C5DF for ; Tue, 7 Jul 2020 04:34:21 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id g2so24523982lfb.0 for ; Tue, 07 Jul 2020 04:34: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=ZWFCdEUgk5dfzDM3fhNe+v2tWxrsCvDUWA3/QI1yjsA=; b=dRxCuE1+l4lJyQ2YbJAaOdam3ofJb8lgOtEdWezxKOyRRyDMxmvt7gEf0x6w0E8JX6 zfj7ZoIxtLjX0RoOMTlhhp7h2JjwzRPmSlFeghxpjgBnoebMvd8IizTdR+RZTz7Tb7e8 GWLtSt2RMzfl/2xH9EXD3CfW9B5mBTWTW6Qi28YrmmDUD8WfYzAp+GMW/NX1sf2jcim9 p9TV40K9JWSp95sXcbLXnhApLLu0A0ABHN7alxdXkM1r9I/97RVRvjvbSl0rwCFDnrds MgVQ5wl2VKBhy5HWTXFp0joV93UB52d4AMRaTt7+yi4p9Oni+yYVsyZGW1Ys135suUi7 NP0w== 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=ZWFCdEUgk5dfzDM3fhNe+v2tWxrsCvDUWA3/QI1yjsA=; b=ZMJ2sXo1E2B/07YDMGjoDxUZGhdxhq0CbASVxrbRk3qOykkdy0fYuq0422SY+H4/rN g7DbETpTEqDdryrkD1AFxaNTaVUpUadVpRXRnYVi9wlImhyXpBjO6TkaDDK+KVpFjAyf 5MsBaN6L+ewuRPUeCEaUI1WeYeV80uA6PuQv1H7gBwKb/WjPpAwjH14+oQfILY7yE/Ha rJHfAkfh/8K+ygE2z+Xc45IeNe8uyTKQt68n1NShfns+PlA8GZfQSyT32ExTHA0zTPup bzHpPPcmowh4Ai4Vdu3RocA1/+4KEykvVs4c4hmUW3OWf9m18qP3ww1edtO0hl8vUf+v d2kw== X-Gm-Message-State: AOAM533JOADJT+7mmiEb08PL/M2IVU6msxFxmSyVPG9HHGKAcArVn3tJ BH3RlbjSja5SVLX+n+38dVC+JIsKp6cpinDdlhit8w== X-Received: by 2002:a19:745:: with SMTP id 66mr32821101lfh.77.1594121660274; Tue, 07 Jul 2020 04:34:20 -0700 (PDT) MIME-Version: 1.0 References: <1592480018-3340-1-git-send-email-hanks.chen@mediatek.com> <1592480018-3340-4-git-send-email-hanks.chen@mediatek.com> In-Reply-To: From: Linus Walleij Date: Tue, 7 Jul 2020 13:34:09 +0200 Message-ID: Subject: Re: [PATCH v6 3/7] pinctrl: mediatek: avoid virtual gpio trying to set reg To: Hanks Chen , Sean Wang Cc: Rob Herring , Matthias Brugger , Michael Turquette , Stephen Boyd , mtk01761 , Andy Teng , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , "moderated list:ARM/Mediatek SoC support" , "linux-kernel@vger.kernel.org" , linux-clk , wsd_upstream@mediatek.com, CC Hwang , Loda Chou , Mars Cheng 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 Tue, Jul 7, 2020 at 1:31 PM Linus Walleij wrote: > On Thu, Jun 18, 2020 at 1:34 PM Hanks Chen wrote: > > > for virtual gpios, they should not do reg setting and > > should behave as expected for eint function. > > > > Signed-off-by: Hanks Chen > > Signed-off-by: Mars Cheng > > Sean if you're OK with this patch I can just apply it separately. Ah nevermind since the next patch has your ACK I just applied this too since it's a dependency. Yell if this is wrong. Yours, Linus Walleij