Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2045857ybh; Tue, 14 Jul 2020 14:15:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVk2G4XXyRia98qtLlWdszHuRizBjFGBECtFpAw86Raz+GSKCQe3c/og3YocIBVpQFto2L X-Received: by 2002:a17:906:1e83:: with SMTP id e3mr6446146ejj.7.1594761304972; Tue, 14 Jul 2020 14:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594761304; cv=none; d=google.com; s=arc-20160816; b=hoNZPSHS6p7gYSnBUZKbz3A7ZFbSfoMrXLmvEqxRrlylxXrQfcNL/GthIKqdJhfNCr lxzL/dPCYtoQtjOdD6/qT/XORbKLpFiBE5dOsZUJAJUUMK5CReRaT3mf5rcI1lnntlR4 5K8PKAeRX/Ixu74A615nX/8vINi/D4XjhLf9FTYz3nOtO3XJ2nkaWd/oqhlmsZC1cKfI u1x4NcrBOmZT9qPqCeiLSM9kiAHft2zh4cVCoDShc7rI3lPXBAtuLN1+9x+ZpefiLAJg 16r4UBVCYkaCBF30/iz30rWuIsAXkU8hfEo3Vjdboid1Cv3ja7TLUeLurJ9tiCrFscYk +SzQ== 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=WI+cWfYmbBObS/B2tRrUr9gHadTw0cpd+W5FVMqTDEM=; b=mvJYoQ1EwfI+W8GLxkq/WuBh/Yc+xJy1ImYnaDAInV/OMhCR6re2XCTWVnEspwc/gm jBPMDetdohsSUS10Mh5/fvSzthvgp6mVsA2GR3IRlbbd2OY2pq0cmtJtTyhUwCfJ8CjV 9l9eNnwcSAnifM9wcjrNTpjYWXLT8rMY6OgXw18KkY7YcxcwYuXy+xG9jr3dy2MYpW53 poP62CtiXGDzT5mSq0abod1Dhbsb2ivpFxER7KUbiVlerCp8m0lcNbbXp5OufTb13WCO UDxPEHFT8w6Q4a1kK6//xrvS0UWTG8ovs9VNAUXVqJGYQUKLugu4tf+DwrQBCqaso4uj fnVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=M0Ss25Af; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df18si11520689edb.501.2020.07.14.14.14.42; Tue, 14 Jul 2020 14:15:04 -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=@kernel.org header.s=default header.b=M0Ss25Af; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbgGNVOQ (ORCPT + 99 others); Tue, 14 Jul 2020 17:14:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:55726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbgGNVOP (ORCPT ); Tue, 14 Jul 2020 17:14:15 -0400 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3318B206F5; Tue, 14 Jul 2020 21:14:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594761255; bh=xJEt28yG5snfGCRRjw3wSQrw/eSHAemNaNv10dkyRQ4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=M0Ss25Afg10HiK/2HBQRFfzW42VJzF+YbzTW+RJiRBO0ah3qJU9xYlM7eECwM6+w5 MOZ3ssvMvLhbFxn+19w4O+JVkZGcmHeOPH296mS5x/oo/pEqVfOAZQV+34ulZcJHRK JoBjKpf8NUYpeMWnT0WUM7mxZD1mcMvmHbAYYQLA= Received: by mail-il1-f172.google.com with SMTP id t4so94808iln.1; Tue, 14 Jul 2020 14:14:15 -0700 (PDT) X-Gm-Message-State: AOAM533D6Sg6GxavqWxV3IiA56/G2dmjMN5wQwu5DaJpnI1+CJ9ezppq rVSIJKSqxZGaQpybhvDOXPuvhx0Tf7v6SYcnJ9s= X-Received: by 2002:a92:cbd1:: with SMTP id s17mr6620228ilq.43.1594761254567; Tue, 14 Jul 2020 14:14:14 -0700 (PDT) MIME-Version: 1.0 References: <20200710072717.3056-1-zhiyong.tao@mediatek.com> <20200710072717.3056-4-zhiyong.tao@mediatek.com> In-Reply-To: <20200710072717.3056-4-zhiyong.tao@mediatek.com> From: Sean Wang Date: Tue, 14 Jul 2020 14:14:03 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] pinctrl: add pinctrl driver on mt8192 To: Zhiyong Tao Cc: Rob Herring , Linus Walleij , Mark Rutland , Matthias Brugger , srv_heupstream , hui.liu@mediatek.com, =?UTF-8?B?RWRkaWUgSHVhbmcgKOm7g+aZuuWCkSk=?= , =?UTF-8?B?Q2h1YW5qaWEgTGl1ICjmn7PkvKDlmIkp?= , Biao Huang , Hongzhou Yang , =?UTF-8?B?RXJpbiBMbyAo576F6ZuF6b2hKQ==?= , =?UTF-8?B?U2VhbiBXYW5nICjnjovlv5fkupgp?= , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lkml , linux-arm Mailing List , "moderated list:ARM/Mediatek SoC support" , "open list:GPIO SUBSYSTEM" 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, Jul 10, 2020 at 12:28 AM Zhiyong Tao wrote: > > This commit includes pinctrl driver for mt8192. > > Signed-off-by: Zhiyong Tao It is good to see the clean driver with mtk-common-v2. Acked-by: Sean Wang > --- > drivers/pinctrl/mediatek/Kconfig | 7 + > drivers/pinctrl/mediatek/Makefile | 1 + > drivers/pinctrl/mediatek/pinctrl-mt8192.c | 1453 +++++++++++ > drivers/pinctrl/mediatek/pinctrl-mtk-mt8192.h | 2228 +++++++++++++++++ > 4 files changed, 3689 insertions(+) > create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8192.c > create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8192.h > > diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig > index f32d3644c509..8d5ffc6aa8dc 100644 > --- a/drivers/pinctrl/mediatek/Kconfig > +++ b/drivers/pinctrl/mediatek/Kconfig > @@ -121,6 +121,13 @@ config PINCTRL_MT8183 > default ARM64 && ARCH_MEDIATEK > select PINCTRL_MTK_PARIS > > +config PINCTRL_MT8192 > + bool "Mediatek MT8192 pin control" > + depends on OF > + depends on ARM64 || COMPILE_TEST > + default ARM64 && ARCH_MEDIATEK > + select PINCTRL_MTK_PARIS > +