Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10958945pxu; Wed, 30 Dec 2020 17:25:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9MjcXwZTjVUp7xnC9aS403DQVzyk1G/GOlwweLcIWR+3Urx+8EPLpkd9v2D2VYDDjqW9s X-Received: by 2002:aa7:c44b:: with SMTP id n11mr51530142edr.216.1609377901298; Wed, 30 Dec 2020 17:25:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609377901; cv=none; d=google.com; s=arc-20160816; b=DEkRMvpVyXqd8Q4DqFztqS1P4WsO3LDGc8Sgb7c3TwzLHhnul9l2RtkPLAwEcjKEPb 42UocXFzQ3r2cIgDTAu3Vo6Y4pVGM7xVRJ3Re1icbuNFNtQCiuo98+f2LHPQR2ygxs4+ eo5FW4n4kA+L98KwOq9aMTHP63qCZx18dzt37i7Xp8/YIPMlujNt4E0mtGLWrrbnVJ2y wTn0DUxdDNN+mykhTf8UzVFPNad9FfXl6VDIVaEhsNXXs6SOlDdl7R86Zqti6DLcdlcs NVWMto46rObINGrJ9Hd4VE0/nS/bUqXtYt/8049GlF2rblQlr2fg7CF96ocjrm4MPuSR ryaQ== 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=mlkXVdHyhNYiM3/2KIoSx+pXpWswuzzhreZMYSFz1hg=; b=FIUADHlPE/y7EnNPQeT6wbgyGT7seDOhrfRLM24NRi4HKi6pxXntFELKdCPb6bs264 XPbBtcV0VbMVWMMVJFRkJL2rzDHpwAnRWhCoRvhSTwyKqO3cSBg81EV4dJU7H5JB9LZt wrrt0rTBR1TLhjoJwsszkoutbw2mypAO00WzQfi40vEH2t4yMaU+dpss7R0VOCdWopPw j+cL0hv46m8wPxOLCIWQnA0O/PhETgrqXMw65rVtU/WP3KqfFPjKDoDyC66n6S9kenos 02TK6Bh3MnYK14a0SF8OfzQE9UBklQlBW5MJEuYFpgMUHJ6GJggHCXsFaK7laf32uhNs 4otA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aSw3CQT4; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si23715356edd.145.2020.12.30.17.24.29; Wed, 30 Dec 2020 17:25:01 -0800 (PST) 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=@chromium.org header.s=google header.b=aSw3CQT4; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726428AbgLaBWn (ORCPT + 99 others); Wed, 30 Dec 2020 20:22:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726322AbgLaBWn (ORCPT ); Wed, 30 Dec 2020 20:22:43 -0500 Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC5AEC061573 for ; Wed, 30 Dec 2020 17:21:56 -0800 (PST) Received: by mail-vk1-xa2a.google.com with SMTP id k9so4006109vke.4 for ; Wed, 30 Dec 2020 17:21:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mlkXVdHyhNYiM3/2KIoSx+pXpWswuzzhreZMYSFz1hg=; b=aSw3CQT470ayL+TnbFzQRX0vGsaH4OBvdT0aCNT/hv0Q0LYzrJAEp/0i0h4rq6QHCm dzxlpQgg5DpEIAjBM0GXaSkeYlsN/M4mJ+QpEfXKp78FlGQi9yUqYQUvfCmTCPWh3Ii1 tkGilqkmBxvJr7CHDSTuYCXfdQq01lh+4XvVs= 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=mlkXVdHyhNYiM3/2KIoSx+pXpWswuzzhreZMYSFz1hg=; b=MJDYciY6tPns5YbdG+7T6CBX3u7gUibLyyD5pjPggxvfX2O66h1utrirERUikAF3dF OiSnHXZMYquZQ3RMVgnLKY9aOf8H3Zs6uV9e+wuvb81RypDXeExBIDvr+5d5kA2CKMdd NxNlc0HuXoRAfV/C4Xf9/yfhF1wpEP5potW3PsiqimnxzJK0i6JdleiETCyH0vRHrnPR lE8XwuN+A1Vv0hSfv7d/E5d+p+w5wOMXR7HMOY1Q2FPaVeqzmel6mrZW/I+pdKlkvok2 db3evubX9+R6gpN7vlUp6CoteXa2yMCjvN/z1qBopGLbA7rZdyHnpR/Q4cGvjF3MifoL 8w4Q== X-Gm-Message-State: AOAM531dbWxksKm17YCT2Cbu6mZBp4vBLT7Kfwt3a9/vTkaFgFHpXiTY QTRsCiiyPjEyu/rU+zvlQGIfwExQw7EclngCqvnnSw== X-Received: by 2002:a1f:9e83:: with SMTP id h125mr18571561vke.18.1609377715869; Wed, 30 Dec 2020 17:21:55 -0800 (PST) MIME-Version: 1.0 References: <1609144630-14721-1-git-send-email-yongqiang.niu@mediatek.com> <1609144630-14721-2-git-send-email-yongqiang.niu@mediatek.com> In-Reply-To: <1609144630-14721-2-git-send-email-yongqiang.niu@mediatek.com> From: Nicolas Boichat Date: Thu, 31 Dec 2020 09:21:45 +0800 Message-ID: Subject: Re: [PATCH v3, 1/8] soc: mediatek: mmsys: create mmsys folder To: Yongqiang Niu Cc: CK Hu , Philipp Zabel , Rob Herring , Matthias Brugger , Mark Rutland , Devicetree List , David Airlie , lkml , dri-devel , Project_Global_Chrome_Upstream_Group@mediatek.com, "moderated list:ARM/Mediatek SoC support" , Daniel Vetter , linux-arm Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 28, 2020 at 4:38 PM Yongqiang Niu wrote: > > the mmsys will more and more complicated after support > more and more SoCs, add an independent folder will be > more clear > > Signed-off-by: Yongqiang Niu > --- > drivers/soc/mediatek/Makefile | 2 +- > drivers/soc/mediatek/mmsys/Makefile | 2 + > drivers/soc/mediatek/mmsys/mtk-mmsys.c | 380 +++++++++++++++++++++++++++++++++ > drivers/soc/mediatek/mtk-mmsys.c | 380 --------------------------------- I wonder why this doesn't get detected as a rename? > 4 files changed, 383 insertions(+), 381 deletions(-) > create mode 100644 drivers/soc/mediatek/mmsys/Makefile > create mode 100644 drivers/soc/mediatek/mmsys/mtk-mmsys.c > delete mode 100644 drivers/soc/mediatek/mtk-mmsys.c > > diff --git a/drivers/soc/mediatek/Makefile b/drivers/soc/mediatek/Makefile > index 01f9f87..b5987ca 100644 > --- a/drivers/soc/mediatek/Makefile > +++ b/drivers/soc/mediatek/Makefile > @@ -3,4 +3,4 @@ obj-$(CONFIG_MTK_CMDQ) += mtk-cmdq-helper.o > obj-$(CONFIG_MTK_INFRACFG) += mtk-infracfg.o > obj-$(CONFIG_MTK_PMIC_WRAP) += mtk-pmic-wrap.o > obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o > -obj-$(CONFIG_MTK_MMSYS) += mtk-mmsys.o > +obj-$(CONFIG_MTK_MMSYS) += mmsys/ > diff --git a/drivers/soc/mediatek/mmsys/Makefile b/drivers/soc/mediatek/mmsys/Makefile > new file mode 100644 > index 0000000..5d976d7 > --- /dev/null > +++ b/drivers/soc/mediatek/mmsys/Makefile > @@ -0,0 +1,2 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +obj-$(CONFIG_MTK_MMSYS) += mtk-mmsys.o > \ No newline at end of file Nit: newline at end of file please.