Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp782859pxb; Wed, 20 Jan 2021 22:28:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxb8AuwaNR8E/0fisejJxUmkjf0DVysrGvqlaHAOQ4T7oYFrqz4K6qPd1PlotSKC/hIjqOp X-Received: by 2002:a17:906:58c8:: with SMTP id e8mr8200527ejs.475.1611210517467; Wed, 20 Jan 2021 22:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611210517; cv=none; d=google.com; s=arc-20160816; b=EcLtu474VZHHFlOJNHAakhNPybY0AqIF/xqdUPpKV6aTkcdSOdVmJC/770BmLaspli B0uGU3p2WcRonzJye9SDx5jkyipSk/Ck3tREaeA+eiDp7MlYif8at9kAa8Smr/o/I5xV j503OhYeImiCs4ebur4pq5i7SG2Q7tym7j0ClIsA/JCyIzJ8Qs+ToIkxEv6YK8movtJI OW3vaQrhMPfoO90my+kUi+BFHojbZsiB0bIr9//uEAVQLucF9zlIxqjxXibfQuXSPAMm 2+xNX09lYtQVpCY5JvWHwy6aSSPzxBCKhOMKBu1qZnzk5zw9HtaCYRGZLdwBTuArAoXa UfoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=xYGz6U90k5xCOhAGuUCBu3eZQQxW5j5dSbG0SYG7Gb8=; b=qfWdS/7IDQFR3Fz3y8b38BuBj9VLd6XCZyeWHaGbpIX9fvJexzfapH6mnh1hI3L6qR 17vjbQWUKTvK8O/KranH48lYZYUwCHNLTifYbAwv+myOt0vG+NmTvSK9tBbJez0Wdat2 ho/xc/VTZmymWznN2MU78vkOJVjoSr7odrkGauYuBpQc4IJNBxAdYsZ8dQD8KfTdUS3X ZhyA1q6gqNrbAiY5sdCRiOPvoVfaymf49z7wo2IQ2+fhdGR5tDD0aUTY16NdUNEnPfBa Y7CxqqA0eyLsg5IWz9H4etaQrGHKcYBc6ZC+hozSP3UQs7f+WvdjHo6L1RZ3dRB6RTq5 LlDA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd20si1744475edb.489.2021.01.20.22.28.13; Wed, 20 Jan 2021 22:28:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726502AbhAUG0U (ORCPT + 99 others); Thu, 21 Jan 2021 01:26:20 -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