From patchwork Mon Sep 26 18:18:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 12989231 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 295D2C07E9D for ; Mon, 26 Sep 2022 18:19:57 +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=U5lN0Hqfz2Tuohkpma6s18QGmoiSk4BF3oXTqlWnJ1E=; b=P86SvLXyhJkbfI Xeivs4Pp5V3hSau4YYYo59i7ESzvC7IQmcmESZc6TJN2qQHtZniM1nEQD4mWjjInERteh2uByXcRb 5yCP6c4K+KnjWgL6yEeJs66wbBY7snkyXbhUpBjyfs9v9jL53d+zt0Tb3JZCaT4W3p3t/dYOSGi6N rtoOqiMTUOu3vLOJtQjsEYgGA7Cm8XYN0KzPpc0Ihw9KvrgDWuBajoh2FjMCLtjSNZEUE98A7GiHK d4eCSxlMC0xkUILXHSDsCEimMIceKMcSQqv6HoDY5NY3QPPm+wR2XqTl6AdtJvN9A3jNhUbe6DROn CcL5k2b6FgPNzWYCDSCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocsh0-006FOF-Gs; Mon, 26 Sep 2022 18:18:58 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocsgw-006FMK-9R for linux-arm-kernel@lists.infradead.org; Mon, 26 Sep 2022 18:18:56 +0000 Received: by mail-pj1-x102b.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so13289954pjq.3 for ; Mon, 26 Sep 2022 11:18:50 -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=rIz+YVCWQEzDHQRlSVGwiOtQbNrDXFyRyCGAYlDeXiE=; b=JxTKMC9ecZ6Lsd8C2v33eWyE4w1t7rpwcAJRAdIsjLMvwlzuxTRHgkfkKE9eNLT4js ycINImcLg+dVTF4zZPzorndtoxBcKzq77PMCaPsa09sNWRC9ghS8qilPj1mZgPKSBYrC oJ0NxCVtvJH+5XY8zaYLUPbMYTJxnCTPvYwEYq7PkPuk2vWrD+9UCXVorLVboWvZB7/7 XuMoqPZcKBQqXGU0L956kzHuFLTO3cUaqOHjKQyU6uGNzAjcm1vNf+azAjztU11SGNFv F/X/8Gqdt4UjRNE2nRRKiqqgDBsG512XIxF8ZE13RuaeBDP+7ZSvUmMakn1d/sV/YJYu rdng== 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=rIz+YVCWQEzDHQRlSVGwiOtQbNrDXFyRyCGAYlDeXiE=; b=NGhQGgjCspjDTxegSCP8Gu6VTNICgXzE32aG0FHYlrqmt1pJtCOJGS3OHSQiN26q9I pSrOPqk2PjIZlYCm3c6Gv0X84cPAWq4ZgQe/cUSSLhmHvfmF55JNSJWKI5TxnT/L0n2e +2n5Hl+e6tJP3+TM7ykdLHBk4Sc1Iyujh5SGqqVmVneu7sOTXocOfWqr6xCtqmuJhll8 oAwOhx2rMig9ds4DMsccDmUiDnK3AFKPZGt6isjpjd2Z6THduTI0ICTcASYUnSmXfz85 m9n6eADCSiVpIR6i7EkW4dhrg3sIOiMg7coU0eqtcsQvspP9RAvVpxmqp/zQ6+AkXHc3 x5Jw== X-Gm-Message-State: ACrzQf1AQiagJQmY95nkwEKyl1GzRLUs3a9OyDb1qjPWVF3SIYawY6t9 l1QBitxhqdsSJwE5d6LIzHcufw== X-Google-Smtp-Source: AMsMyM5Lv6dmRrTn5a6riTia7xG2Zbj1vdm5Gq7FU2UkiZf/hv+9i8FeM4YJVZwXyJVppwt1ju9dcA== X-Received: by 2002:a17:90b:1b51:b0:203:25f0:c25e with SMTP id nv17-20020a17090b1b5100b0020325f0c25emr26086pjb.65.1664216329994; Mon, 26 Sep 2022 11:18:49 -0700 (PDT) Received: from localhost ([76.146.1.42]) by smtp.gmail.com with ESMTPSA id g189-20020a6252c6000000b0053e47dcfa32sm12506252pfb.155.2022.09.26.11.18.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 11:18:49 -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 0/3] dma/ti: enable udma and psil to be built as modules Date: Mon, 26 Sep 2022 11:18:45 -0700 Message-Id: <20220926181848.2917639-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-20220926_111854_570683_773657D7 X-CRM114-Status: GOOD ( 10.25 ) 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 maps 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. 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/k3-psil-am62.c | 4 ++++ drivers/dma/ti/k3-psil-am64.c | 4 ++++ drivers/dma/ti/k3-psil-am654.c | 4 ++++ drivers/dma/ti/k3-psil-j7200.c | 4 ++++ drivers/dma/ti/k3-psil-j721e.c | 4 ++++ drivers/dma/ti/k3-psil-j721s2.c | 4 ++++ 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 + 11 files changed, 40 insertions(+), 39 deletions(-)