From patchwork Thu Sep 29 23:48:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 12994795 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8047C433FE for ; Fri, 30 Sep 2022 00:11:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=pY21iaERBx1hy/bJQ1MuqC3RXHETKahYvMopvl6lveg=; b=BbX7EDwoBriey0 IcrrotXZ5AJfjo1DvUAfPaUPV63ghoi2G4glOmKlTW/pzhrQCpSBUrr4HbwUbT2ggnhna01OZYYWt hdKuKYJ6brbE+eF9pLYqd69iPDH1TUBLIUAUecY3sNBwQlnkqycycUPbLU3ud2kxMlP8sLUdu5G6a GSZwRESqFAhWoRWFlGuooIhsXVgz3UI8uuK6znH+NAKNtD8U0CVG/yw6RGaQgVIe+swV1G+5HGdeg Lx+jKmdHAugx9OyV9SHZYCm5NYrnyeHNl/MGIyuOx8jIRGN6Lg+w2EEPRjPiLE98sKxDcz9rN38yY ivYi0ni3iGPJ1QywWzpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oe3bx-006G9o-HP; Fri, 30 Sep 2022 00:10:38 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oe3GS-006642-NF for linux-arm-kernel@lists.infradead.org; Thu, 29 Sep 2022 23:48:27 +0000 Received: by mail-pg1-x52f.google.com with SMTP id s206so2769256pgs.3 for ; Thu, 29 Sep 2022 16:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=ohn4yoCs7BJg6ILVegslZbTsXPzwa5AtNwUThWtPO0o=; b=3wVsqamolyxKOyY/q2GE+SvWAQKPPnu3prm4dXG4cKk7PnW+C2gCDHV5qh4brDX5lX hxQXQXV5FHMVUR7PHS9DNYzNjcDPwxDVzlHIOD7Wm7OTxn+y8LCgxtP96Z1OUyv3zbW6 ZN+YLLPqSUGuZj6cz55ZMdGrFcvFSaFynPtEVuLDznsT6VRe9LTVUkXh+/9qM3igfbR1 Yp6d2oXTYa1KRvrvBq21dAUjH2GWv/MVtH1NS1RrxM+Q3KupajJqkUqP48p+FelP1bl4 t8+9y3nXZrlvufMgJ3gm0M7ImaKDqffTjTINAvQ17HpL2Myw4eqzykjNgmfnETfVefYR +2Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=ohn4yoCs7BJg6ILVegslZbTsXPzwa5AtNwUThWtPO0o=; b=haM/L3z7vXMovaGgt3b5pq1ymzePYiRl9ZnVr7wO72tAfkBSjg9euHWWIPJtGbc/Qr B8u1EXWPqCmYUpa25novdXmRoBfk/uP0UDQGsy3XGu0hOUk+ryR9R4Q02Y5Xs2Y0QiBs d5wkZg2jTEXeJo3oSIHdEieCxsyoRctJje8++o9MkT/5jp1Ka3e5XyLyNaRTaAmdq1G9 KvbquEjcF62vrNvPRI8ui9PULDTWZASdHUgzw4z5M5date3UJ7rTWVlbYfKMNjtYcst+ vH9SJwHM09KWI+TEaL3a1xYyYvnHe/3Qew32VgmB3hKGJa10lE8OurPWYrTYBsorHdIL l08w== X-Gm-Message-State: ACrzQf1X51zW6GPCrY6MWk2YpgiAhH/P4dvnf150Cn4YFWx12YGcaKeP TOyqa54x1oSByHSN23lIzpTPcQ== X-Google-Smtp-Source: AMsMyM6H5eQN/DXpCktUWjoht0v5g5aqeVlGdWY+dz6xQlBEO6PMiMVrxfEnNzQ6YpAce4QYUB14Lg== X-Received: by 2002:a05:6a00:150c:b0:545:cdc2:94e5 with SMTP id q12-20020a056a00150c00b00545cdc294e5mr6059479pfu.37.1664495302353; Thu, 29 Sep 2022 16:48:22 -0700 (PDT) Received: from localhost ([75.172.140.17]) by smtp.gmail.com with ESMTPSA id c6-20020a170902d48600b00178143a728esm426656plg.275.2022.09.29.16.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 16:48:21 -0700 (PDT) From: Kevin Hilman To: Peter Ujfalusi , dmaengine@vger.kernel.org Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolas Frayer Subject: [PATCH v3 0/3] dma/ti: enable udma and psil to be built as modules Date: Thu, 29 Sep 2022 16:48:17 -0700 Message-Id: <20220929234820.940048-1-khilman@baylibre.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220929_164824_784276_B48AC5B5 X-CRM114-Status: GOOD ( 10.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the UDMA driver & glue and PSIL lib to be built & loaded as modules. The defauilt Kconfig settings are not changed, so default upstream is still to be built in. This series just enables the option to build as modules. v2-v3: - change dma/ prefix to dmaengine: - rework Makefile order for PSIL lib v1->v2: - rework PSIL lib into a single .ko Kevin Hilman (3): of/irq: export of_msi_get_domain dma/ti: convert k3-udma to module dma/ti: convert PSIL to be buildable as module drivers/dma/ti/Kconfig | 7 +++--- drivers/dma/ti/Makefile | 15 +++++++------ drivers/dma/ti/k3-psil.c | 2 ++ drivers/dma/ti/k3-udma-glue.c | 5 ++++- drivers/dma/ti/k3-udma.c | 40 +++++------------------------------ drivers/of/irq.c | 1 + 6 files changed, 24 insertions(+), 46 deletions(-) base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 Acked-by: Peter Ujfalusi