From patchwork Tue Sep 27 23:08:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 12991468 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 EAC00C54EE9 for ; Tue, 27 Sep 2022 23:09:26 +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=BHJikKaHYPo5Fd5CQyLW/MLmbHjhSD1CKzKdEwkUlu4=; b=ljnF+PClqMFNHg iDwckOqgkI7mb/59ZNWqfHbW4CL7aPWiZ7bcxG5Idkqb0Fhr1EEFf89FQVL8l/e79HTMd6ZB8cnon ahImQMPwq5Bvpk8m6lce9YqQ8MhETYtxAzwPTewUeHY4irIzCCPDGepJCAvJYodpBA65wTM8faylz NtgNQKkS9uLwq1jaPCBLSUBNceeez4yiL4nrCvA5WWTWoqpTcQWPBgMsEm/UsY6IXCfW2J9ZLcfDu N3xplLB3lERYT8Z2tj7PKoQKMLlIHD9UH12VL5OHSrO77C6M+hqye20pBGD/YmXhmkDzTYNnQZ21C 5F7QXktXtHd35QAiIeKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odJgR-00D7Nj-Tw; Tue, 27 Sep 2022 23:08:12 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1odJgO-00D7M2-B4 for linux-arm-kernel@lists.infradead.org; Tue, 27 Sep 2022 23:08:10 +0000 Received: by mail-pg1-x52d.google.com with SMTP id f193so10741791pgc.0 for ; Tue, 27 Sep 2022 16:08:06 -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=nd4m0j2Ff4yr1SI153AzWT37h3dHh1P48RrPCZDi4ac=; b=RgWXxFKo+UIx+9E3zmCcy1+XK43OEGkLyLS/BxuVp2xemzSRFZoZEeC5k5p0hmKrdS 9y23DR1FQxB24n/5Do5DplXtLgXzDgvVv7shWnMv0CxM0F9rAxzhAr69GHy4NENJzX1l oW5DAQh6tG8xbWl2eyHwE8kJVvi1P+VcoP9wicZJUDf9WttMrp7PvxwawxlumHtREiKb B1iA6feagfCpTrU4ONzM3XsDyYxgFyv5/l5qB5G7hhfvuzrpf8xBy8rpuKZeGpIlH8YO vZQv5Hz/XmWC0P7U2Dwb2SnwUcQft1JryBS474RZX0agJm0GUq1L7b/SbGd6cgi8kDHT ojnQ== 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=nd4m0j2Ff4yr1SI153AzWT37h3dHh1P48RrPCZDi4ac=; b=fpfSPo/OB32YVHR5jCLqn9R6C8JRm3dw1TtyM8FhwKQyW9a39bEcS5wIw+fSSp8B4Z Br2NTZDkEYjQ9FfaWtTkVD+Kq2W/cAd+ypHoEpDczOAQ9G6BZ5SB3Y0W4Rj3vvfsDaIb IWRv2U7oOQfrsJNoQEmrk5FeLpdOwSodjezKzv+sP3bf5pE/3FbEPf/VtBPSqmJkPhQG 1dCLfgjHFFVkHz+JIpnrIw+UJG4qlcLJ9YOjAPEGK8Msy1M2MwiB3//QGpnSvrOY2wU8 JBYwMRA+5Qb7w3K020Adnmnfd4RZ1SI6dSCxeAwG35ijdl8bw+7JfxV/me9hHbAgoJJl 2iCg== X-Gm-Message-State: ACrzQf1O6EXDwSTVjD2ggLqewpHfL6QzqJ+NEf5vI/huz+eq7mLZVBJo s/udWuDsBdTx1NH8R0Pe/IZ8iA== X-Google-Smtp-Source: AMsMyM5C+Shf0TZRjlFvSJFPI2e6VNH3r4FQKeSMLtoBRayYHfSd4f6/1KYR2ZjvIG7zSTR7yoY7sg== X-Received: by 2002:a05:6a00:1911:b0:545:cdf0:a61f with SMTP id y17-20020a056a00191100b00545cdf0a61fmr30634434pfi.32.1664320086141; Tue, 27 Sep 2022 16:08:06 -0700 (PDT) Received: from localhost ([76.146.1.42]) by smtp.gmail.com with ESMTPSA id v24-20020a634818000000b0042b2311f749sm2085928pga.19.2022.09.27.16.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 16:08:04 -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 v2 0/3] dma/ti: enable udma and psil to be built as modules Date: Tue, 27 Sep 2022 16:08:01 -0700 Message-Id: <20220927230804.4085579-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-20220927_160808_400360_ED5D4556 X-CRM114-Status: GOOD ( 10.44 ) 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. 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