From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FB9AC433DB for ; Thu, 21 Jan 2021 06:26:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CA63D22248 for ; Thu, 21 Jan 2021 06:26:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727096AbhAUG0o (ORCPT ); Thu, 21 Jan 2021 01:26:44 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:50618 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726883AbhAUGZn (ORCPT ); Thu, 21 Jan 2021 01:25:43 -0500 X-UUID: 51aea3e4f8f743199f00b183621cc2d5-20210121 X-UUID: 51aea3e4f8f743199f00b183621cc2d5-20210121 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2044207395; Thu, 21 Jan 2021 14:24:59 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 21 Jan 2021 14:24:58 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 21 Jan 2021 14:24:57 +0800 From: Yong Wu To: Krzysztof Kozlowski , Matthias Brugger CC: Joerg Roedel , Robin Murphy , Will Deacon , Tomasz Figa , , , , , , , , Nicolas Boichat , , Subject: Support MTK_SMI modular Date: Thu, 21 Jan 2021 14:24:26 +0800 Message-ID: <20210121062429.26504-1-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset mainly support MTK_SMI could be modular. No other function add. The MTK_IOMMU config will be another patchset. rebase on v5.11-rc1. Yong Wu (3): memory: mtk-smi: Use platform_register_drivers memory: mtk-smi: Add module_exit and module_license memory: mtk-smi: Switch MTK_SMI to tristate drivers/memory/Kconfig | 2 +- drivers/memory/mtk-smi.c | 33 +++++++++++++++------------------ include/soc/mediatek/smi.h | 2 +- 3 files changed, 17 insertions(+), 20 deletions(-) -- 2.18.0