From patchwork Mon Sep 26 18:18:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 12989238 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3957C07E9D for ; Mon, 26 Sep 2022 18:22:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231145AbiIZSWd (ORCPT ); Mon, 26 Sep 2022 14:22:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbiIZSWR (ORCPT ); Mon, 26 Sep 2022 14:22:17 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D7D75142C for ; Mon, 26 Sep 2022 11:18:52 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id l65so7501424pfl.8 for ; Mon, 26 Sep 2022 11:18:52 -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:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=/0Wgb/pUWIq+NWeSNBH6i++oWwTqz1d9Kg9pALwjvjA=; b=OAbnJpnmU6XFNt5nES+EJFQyCvS7N43F1TH8Qvar/5VyAvdmf04DqJIB+zQlY/21Fo KevaxR1gGYYO1iMedhUOPk6f4fg1m93ghagAUs06mw/zHuzurupi7t21VCRdiV8CW5bd xPdL9ubtYkZSyTQrRPXPJ11aj2Wb/IYTA/AmLxTalsQlXxUYKFCqvrGNDIJWFrQpL50m /mj3thiS3dYLLd2s/Wa/3QPVv4QHWMrEuvmV2vW4pLQvVBTZvFHMRZmrHU6xpPDntZqo fnzHYGEr6VxiwHkg+cXT3hAp4a1o3uiIPGNdBn91PmQXB5U81wCzSzuGjnX8yhOxKnXy f0dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=/0Wgb/pUWIq+NWeSNBH6i++oWwTqz1d9Kg9pALwjvjA=; b=pcqHXJYJwUAp+cMzPPWJFT+pwPTgLnodG20VC8/NAJ4lOPw4Dsp+8se3Dv8X2ZXedn 72Kwj/oWUu5b86J/S+7QIAd6iApqh8iuN5EskiTQ/vadft9m7tc24CKwNEeQjuq9wDnW qG6naeoetysMncwZQxSkzFb5w8vSmWR7VTt33kIsVWFngautVCQE66URicemi3L3bfld 2v3H/RQXQ+6Ve3mCKSCAiiEF/HIqDIBD0Jmtupx5Q3rzqBEGW6KZErRA/KWvtu8d+s3R abcSXj3H86+8YOXsYRpMhc3QpyuW5z6PPxK3fL1eiuOxzQAwad8W8psvQD1iHx8u1uc+ hcCw== X-Gm-Message-State: ACrzQf325hZL09Kh3uZQO0QrRRQq+6TnmtDA++orocZ5bAJQs1SzdtZr oBNlCwQaJs8WVYmUc3WjpFw9OA== X-Google-Smtp-Source: AMsMyM7ITbNUZuCGG4FQ4Hb14MHVV8qELDpnSpkbJKtx6Z/tP/VCS6/W2sMfgf6huxANh254I8Kr1Q== X-Received: by 2002:aa7:9af5:0:b0:54e:5455:2b8c with SMTP id y21-20020aa79af5000000b0054e54552b8cmr25379183pfp.63.1664216332104; Mon, 26 Sep 2022 11:18:52 -0700 (PDT) Received: from localhost ([76.146.1.42]) by smtp.gmail.com with ESMTPSA id z16-20020aa79e50000000b00537d7cc774bsm12510356pfq.139.2022.09.26.11.18.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 11:18:51 -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 1/3] of/irq: export of_msi_get_domain Date: Mon, 26 Sep 2022 11:18:46 -0700 Message-Id: <20220926181848.2917639-2-khilman@baylibre.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220926181848.2917639-1-khilman@baylibre.com> References: <20220926181848.2917639-1-khilman@baylibre.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Export of_mis_get_domain to enable it for users from outside. Signed-off-by: Matthias Brugger Acked-by: Rob Herring Signed-off-by: Peter Ujfalusi Link: https://lore.kernel.org/r/20200122104723.16955-1-peter.ujfalusi@ti.com Signed-off-by: Kevin Hilman --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index d22f605fa7ee..c9308baa32c5 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -727,6 +727,7 @@ struct irq_domain *of_msi_get_domain(struct device *dev, return NULL; } +EXPORT_SYMBOL_GPL(of_msi_get_domain); /** * of_msi_configure - Set the msi_domain field of a device From patchwork Mon Sep 26 18:18:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 12989240 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BDA5C6FA82 for ; Mon, 26 Sep 2022 18:22:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230008AbiIZSWf (ORCPT ); Mon, 26 Sep 2022 14:22:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbiIZSWS (ORCPT ); Mon, 26 Sep 2022 14:22:18 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47AF86F25F for ; Mon, 26 Sep 2022 11:18:54 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id f23so6988889plr.6 for ; Mon, 26 Sep 2022 11:18:54 -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:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=sOua1pY21Fv96aW7PrqBiYaJcs7gq7YxISSZUAc8EdI=; b=kjmkfPAt0Ldb3kCH6Yy627NqbCxAlubd0uia6q14J2OjHUm+b5V/OKWYaeR40shCYw bBdnojc5UaDQ0/H7vxZwcXUNrbQTF973LhAUDwAoD7hboV1z5FtvlWNqO9xU4VbVW4Jz soyMTVCUrcQhmcb2iKs7B/Ebg+Lfa/8kZgzazWk6Gz54hKdnguR7TWrJumBSjO2fFDSq gb75osepy7K4kuQwOcBFaryGpVGCbU2abfq0ztoN2zh129iidfp/nQpP3781Ovy0/hNs CY4Jk8RYRUPBfQrqOGGxBJZ8nkQj4qDuJYVQwcI2d0jVcED/q2dP2XSR5wkaDBcDPx25 DhMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=sOua1pY21Fv96aW7PrqBiYaJcs7gq7YxISSZUAc8EdI=; b=PFOD4dSETbx9OQfli63+/X1slDiLSc/H8SyS6klbawMAE1U8bMXtjD/DgldQ8qnsCt szeQubYS/nR04f3P79R6KkCXuB3k/fw1afSLESMbHY2xANBULoEasjPNcxH7KpLGr32u nhRgefwseyR9ebQvg8jgpCIvJyeH3AGvVn1RmaYVQUoGSZQ0vYBTdS3Htn8+07pwnGnd gKFMssr+2g7aej7pCX8QfbYit9FCChzfLXoIIWbLItxY51RClnx8sBp+Cy8ZADBgrKIE W2RxO0LJcH0UA0XT9MLl57HLfggPeDP+JkFYNJp+/x5h9fitNbsjLTb2pHTl/Z5+Gyqv u8oQ== X-Gm-Message-State: ACrzQf2E6gcN0zt2ieGMblvV1bMWsx/kYvoAbAfYCRx6z5Mg/cD1hn9l Q5aQfe3edIOahLLh113DeCnXVO1ZWhJWk7JGJGk= X-Google-Smtp-Source: AMsMyM64SABO96G27AS3aWnCUnQpn/3RgqTRcJiZhmQYLLesTVTJaim/CtVlQE3CoaXbAN8KoEgu5A== X-Received: by 2002:a17:902:e5c3:b0:176:d1b9:ee33 with SMTP id u3-20020a170902e5c300b00176d1b9ee33mr23499484plf.122.1664216334097; Mon, 26 Sep 2022 11:18:54 -0700 (PDT) Received: from localhost ([76.146.1.42]) by smtp.gmail.com with ESMTPSA id y129-20020a62ce87000000b005480167b921sm13039838pfg.172.2022.09.26.11.18.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 11:18:53 -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 2/3] dma/ti: convert k3-udma to module Date: Mon, 26 Sep 2022 11:18:47 -0700 Message-Id: <20220926181848.2917639-3-khilman@baylibre.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220926181848.2917639-1-khilman@baylibre.com> References: <20220926181848.2917639-1-khilman@baylibre.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Currently k3-udma driver is built as separate platform drivers with a shared probe and identical code path, just differnet platform data. To enable to build as module, convert the separate platform driver into a single module_platform_driver with the data selection done via compatible string and of_match. The separate of_match tables are also combined into a single table to avoid the multiple calls to of_match_node() Since all modern TI platforms using this are DT enabled, the removal of separate platform_drivers shoul should nave no functional change. Signed-off-by: Kevin Hilman Acked-by: Peter Ujfalusi --- drivers/dma/ti/Kconfig | 4 ++-- drivers/dma/ti/k3-udma-glue.c | 5 ++++- drivers/dma/ti/k3-udma.c | 40 +++++------------------------------ 3 files changed, 11 insertions(+), 38 deletions(-) diff --git a/drivers/dma/ti/Kconfig b/drivers/dma/ti/Kconfig index 79618fac119a..f196be3b222f 100644 --- a/drivers/dma/ti/Kconfig +++ b/drivers/dma/ti/Kconfig @@ -35,7 +35,7 @@ config DMA_OMAP DMA engine is found on OMAP and DRA7xx parts. config TI_K3_UDMA - bool "Texas Instruments UDMA support" + tristate "Texas Instruments UDMA support" depends on ARCH_K3 depends on TI_SCI_PROTOCOL depends on TI_SCI_INTA_IRQCHIP @@ -48,7 +48,7 @@ config TI_K3_UDMA DMA engine is used in AM65x and j721e. config TI_K3_UDMA_GLUE_LAYER - bool "Texas Instruments UDMA Glue layer for non DMAengine users" + tristate "Texas Instruments UDMA Glue layer for non DMAengine users" depends on ARCH_K3 depends on TI_K3_UDMA help diff --git a/drivers/dma/ti/k3-udma-glue.c b/drivers/dma/ti/k3-udma-glue.c index 4fdd9f06b723..c29de4695ae7 100644 --- a/drivers/dma/ti/k3-udma-glue.c +++ b/drivers/dma/ti/k3-udma-glue.c @@ -6,6 +6,7 @@ * */ +#include #include #include #include @@ -1433,4 +1434,6 @@ static int __init k3_udma_glue_class_init(void) { return class_register(&k3_udma_glue_devclass); } -arch_initcall(k3_udma_glue_class_init); + +module_init(k3_udma_glue_class_init); +MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c index 2f0d2c68c93c..7239ff31c8c5 100644 --- a/drivers/dma/ti/k3-udma.c +++ b/drivers/dma/ti/k3-udma.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include @@ -4318,18 +4319,10 @@ static const struct of_device_id udma_of_match[] = { .compatible = "ti,j721e-navss-mcu-udmap", .data = &j721e_mcu_data, }, - { /* Sentinel */ }, -}; - -static const struct of_device_id bcdma_of_match[] = { { .compatible = "ti,am64-dmss-bcdma", .data = &am64_bcdma_data, }, - { /* Sentinel */ }, -}; - -static const struct of_device_id pktdma_of_match[] = { { .compatible = "ti,am64-dmss-pktdma", .data = &am64_pktdma_data, @@ -5254,14 +5247,9 @@ static int udma_probe(struct platform_device *pdev) return -ENOMEM; match = of_match_node(udma_of_match, dev->of_node); - if (!match) - match = of_match_node(bcdma_of_match, dev->of_node); if (!match) { - match = of_match_node(pktdma_of_match, dev->of_node); - if (!match) { - dev_err(dev, "No compatible match found\n"); - return -ENODEV; - } + dev_err(dev, "No compatible match found\n"); + return -ENODEV; } ud->match_data = match->data; @@ -5494,27 +5482,9 @@ static struct platform_driver udma_driver = { }, .probe = udma_probe, }; -builtin_platform_driver(udma_driver); -static struct platform_driver bcdma_driver = { - .driver = { - .name = "ti-bcdma", - .of_match_table = bcdma_of_match, - .suppress_bind_attrs = true, - }, - .probe = udma_probe, -}; -builtin_platform_driver(bcdma_driver); - -static struct platform_driver pktdma_driver = { - .driver = { - .name = "ti-pktdma", - .of_match_table = pktdma_of_match, - .suppress_bind_attrs = true, - }, - .probe = udma_probe, -}; -builtin_platform_driver(pktdma_driver); +module_platform_driver(udma_driver); +MODULE_LICENSE("GPL v2"); /* Private interfaces to UDMA */ #include "k3-udma-private.c" From patchwork Mon Sep 26 18:18:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 12989241 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60D2AC07E9D for ; Mon, 26 Sep 2022 18:22:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230108AbiIZSWo (ORCPT ); Mon, 26 Sep 2022 14:22:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230111AbiIZSWU (ORCPT ); Mon, 26 Sep 2022 14:22:20 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19EFD6E88F for ; Mon, 26 Sep 2022 11:18:57 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id b75so7506536pfb.7 for ; Mon, 26 Sep 2022 11:18:57 -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:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=XxwI1lYNO39OjWf2d6ldhB9aHI8zuvkxn0q3dnQxszo=; b=iVz3vqrj/T1ywRrTCiHZSPbDCmMkYJTH0qD5syWgfCu72i4LPxBekt2F+SHBlK8t6E 8DGkugVtwh6/AQCfO5FYarI34Xynd+Uz9gblBiEgdCKzN2U/fGZaedeG2rtTtvBK4UMM XpDqAkHHTgqqqlJrjMnckfjt+1uvh4RiifoLRvRSMieFWqlmP3kwiljm6roZjn60XVDI 1G2DcAz/cv7Gg3coJFLHBfGT622A73D+Esrx222/kodZlXfddmimnPXuusCwSLGj4M8Z x7vnF7oFghuqEQ9EN5AKiBBBHtB/bPLlhj2kq73xvmF9tDjXDel1uVcqr8b9nApAHZHz bOxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=XxwI1lYNO39OjWf2d6ldhB9aHI8zuvkxn0q3dnQxszo=; b=YhOYbBQqcc07qZHIWl5w+z5eS2HxMRcrEL/ag28EVbLBLVcZ5RzIY4uWL8aBs6u7K0 OIYr72OXuEw1x6JQ8EXgsqYPB5SaMixGr6rj7+MGDGw+n6F1I3rsG5ONgUUjH7uAQYax GDSrCWBQPt6U1oJz90yH74NsjoCJgmeGPIAfeBMVjE4dmXwJtvZDzgxaVQQNUjk2eiJ9 J5VXNbsL6ym4azYGIBUYjxOJjposvyv9DBZH8gc5uquLAMQzAKldY5mKrTcAZCP+5Ekw 47EfIyOu5Efh+Qn4yYWrlnSOsEWkcZzwU+jc3a/MeBj5opREqW6uhnFODbhF3WvTaUTe YJdA== X-Gm-Message-State: ACrzQf1zi1tJEltyYlgLauNhnPXBy8nmt8lZhepw+BZKbxV12SWrvA8o NeFbNnLzAUMUgZCz5WTHVODOlQ== X-Google-Smtp-Source: AMsMyM7o0uYgZR63cSzBGCvK/km8m/uY0V3mtzdIkpES1S3ItbVhIVp1LYEKmhlteR16wcvMb9JSbw== X-Received: by 2002:a05:6a00:234a:b0:542:f9f2:72e5 with SMTP id j10-20020a056a00234a00b00542f9f272e5mr24782122pfj.34.1664216336816; Mon, 26 Sep 2022 11:18:56 -0700 (PDT) Received: from localhost ([76.146.1.42]) by smtp.gmail.com with ESMTPSA id 67-20020a621946000000b005379c1368e4sm12886365pfz.179.2022.09.26.11.18.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 11:18:55 -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 3/3] dma/ti: convert PSIL to be buildable as module Date: Mon, 26 Sep 2022 11:18:48 -0700 Message-Id: <20220926181848.2917639-4-khilman@baylibre.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220926181848.2917639-1-khilman@baylibre.com> References: <20220926181848.2917639-1-khilman@baylibre.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org map symbols need EXPORT_SYMBOL and files need MODULE_LICENSE. Signed-off-by: Kevin Hilman --- drivers/dma/ti/Kconfig | 3 ++- 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 ++ 8 files changed, 28 insertions(+), 1 deletion(-) diff --git a/drivers/dma/ti/Kconfig b/drivers/dma/ti/Kconfig index f196be3b222f..2adc2cca10e9 100644 --- a/drivers/dma/ti/Kconfig +++ b/drivers/dma/ti/Kconfig @@ -56,7 +56,8 @@ config TI_K3_UDMA_GLUE_LAYER If unsure, say N. config TI_K3_PSIL - bool + tristate + default TI_K3_UDMA config TI_DMA_CROSSBAR bool diff --git a/drivers/dma/ti/k3-psil-am62.c b/drivers/dma/ti/k3-psil-am62.c index 2b6fd6e37c61..7c4ca85f68b1 100644 --- a/drivers/dma/ti/k3-psil-am62.c +++ b/drivers/dma/ti/k3-psil-am62.c @@ -4,6 +4,7 @@ */ #include +#include #include "k3-psil-priv.h" @@ -184,3 +185,6 @@ struct psil_ep_map am62_ep_map = { .dst = am62_dst_ep_map, .dst_count = ARRAY_SIZE(am62_dst_ep_map), }; +EXPORT_SYMBOL_GPL(am62_ep_map); + +MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/ti/k3-psil-am64.c b/drivers/dma/ti/k3-psil-am64.c index 9fdeaa11a4fc..c579374feef9 100644 --- a/drivers/dma/ti/k3-psil-am64.c +++ b/drivers/dma/ti/k3-psil-am64.c @@ -5,6 +5,7 @@ */ #include +#include #include "k3-psil-priv.h" @@ -156,3 +157,6 @@ struct psil_ep_map am64_ep_map = { .dst = am64_dst_ep_map, .dst_count = ARRAY_SIZE(am64_dst_ep_map), }; +EXPORT_SYMBOL_GPL(am64_ep_map); + +MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/ti/k3-psil-am654.c b/drivers/dma/ti/k3-psil-am654.c index a896a15908cf..10db638b1178 100644 --- a/drivers/dma/ti/k3-psil-am654.c +++ b/drivers/dma/ti/k3-psil-am654.c @@ -5,6 +5,7 @@ */ #include +#include #include "k3-psil-priv.h" @@ -173,3 +174,6 @@ struct psil_ep_map am654_ep_map = { .dst = am654_dst_ep_map, .dst_count = ARRAY_SIZE(am654_dst_ep_map), }; +EXPORT_SYMBOL_GPL(am654_ep_map); + +MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/ti/k3-psil-j7200.c b/drivers/dma/ti/k3-psil-j7200.c index 5ea63ea74822..b7c638a5d140 100644 --- a/drivers/dma/ti/k3-psil-j7200.c +++ b/drivers/dma/ti/k3-psil-j7200.c @@ -5,6 +5,7 @@ */ #include +#include #include "k3-psil-priv.h" @@ -173,3 +174,6 @@ struct psil_ep_map j7200_ep_map = { .dst = j7200_dst_ep_map, .dst_count = ARRAY_SIZE(j7200_dst_ep_map), }; +EXPORT_SYMBOL_GPL(j7200_ep_map); + +MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/ti/k3-psil-j721e.c b/drivers/dma/ti/k3-psil-j721e.c index 34e3fc565a37..759e4a156acd 100644 --- a/drivers/dma/ti/k3-psil-j721e.c +++ b/drivers/dma/ti/k3-psil-j721e.c @@ -5,6 +5,7 @@ */ #include +#include #include "k3-psil-priv.h" @@ -296,3 +297,6 @@ struct psil_ep_map j721e_ep_map = { .dst = j721e_dst_ep_map, .dst_count = ARRAY_SIZE(j721e_dst_ep_map), }; +EXPORT_SYMBOL_GPL(j721e_ep_map); + +MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/ti/k3-psil-j721s2.c b/drivers/dma/ti/k3-psil-j721s2.c index a488c2250623..fd9e56851e59 100644 --- a/drivers/dma/ti/k3-psil-j721s2.c +++ b/drivers/dma/ti/k3-psil-j721s2.c @@ -4,6 +4,7 @@ */ #include +#include #include "k3-psil-priv.h" @@ -173,3 +174,6 @@ struct psil_ep_map j721s2_ep_map = { .dst = j721s2_dst_ep_map, .dst_count = ARRAY_SIZE(j721s2_dst_ep_map), }; +EXPORT_SYMBOL_GPL(j721s2_ep_map); + +MODULE_LICENSE("GPL v2"); diff --git a/drivers/dma/ti/k3-psil.c b/drivers/dma/ti/k3-psil.c index 761a384093d2..8b6533a1eeeb 100644 --- a/drivers/dma/ti/k3-psil.c +++ b/drivers/dma/ti/k3-psil.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include @@ -101,3 +102,4 @@ int psil_set_new_ep_config(struct device *dev, const char *name, return 0; } EXPORT_SYMBOL_GPL(psil_set_new_ep_config); +MODULE_LICENSE("GPL v2");