From patchwork Mon Aug 3 10:11:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 11697837 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 557E21392 for ; Mon, 3 Aug 2020 10:11:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2EB9F206D7 for ; Mon, 3 Aug 2020 10:11:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NDCFLO3/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="ik1BlGK3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2EB9F206D7 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=tKkVFV8rW2h/Ti/b/QtcA2aVefItp+00QQyhRvFq6Xk=; b=NDCFLO3/iRn95Q9XGpa3PM7w/g EycXYAVVAsju4OPiowUiRZxaSZOxgYpdjlE85yR+vHY6ULJfcl0MJ0TGYE+P49K42O+lnYoZXZGc1 0kN2H2LkxpjARjAnyKfaDxMeZM9VVytyluBp4pN5+xJ5QpgtCMy1vjtDSfsNpFqBDvnhaWCs0LOU3 xI45UE5Ht06t2BDcW2WLpLwMVU0QHVmZVoFRU1Ewf7M4eh41WZncDfwDXioZy3n4JjHCqy1QAIlK0 a79Muftwv5FN49m6uUL/IkvL9Pn/boQYhFbJIglMvOxZPTpl3iqoebVgAcJTdQFoEckK7tlQxk2h+ qXs9yHTg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2XQ6-0005rJ-Jp; Mon, 03 Aug 2020 10:10:14 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2XQ4-0005qr-6p for linux-arm-kernel@lists.infradead.org; Mon, 03 Aug 2020 10:10:13 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 073AA8nG086234; Mon, 3 Aug 2020 05:10:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1596449408; bh=f81INNybJwHaQhrKDUJ2Qj0demoIazMnorfGf8irLLg=; h=From:To:CC:Subject:Date; b=ik1BlGK3YHblUIAqPMb4w5eEaRS04WKAOg3OzWtaRai+nXn78l8mxcvimNrgNaAqH qln3sQ9pxXSc1NaugE4S4sgKB0qkYFtkuBKZeeWAYfFZmxi50ggjb+ZngtjEeptKEu r/MfVS0K/ztJVli47BJ8qauKlkj45Fxf7wcKLi6o= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 073AA8QK081826 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 3 Aug 2020 05:10:08 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 3 Aug 2020 05:10:08 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 3 Aug 2020 05:10:08 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 073AA51F062951; Mon, 3 Aug 2020 05:10:06 -0500 From: Peter Ujfalusi To: Subject: [PATCH 0/2] dmaengine: ti: k3-psil: Add support for j7200 Date: Mon, 3 Aug 2020 13:11:26 +0300 Message-ID: <20200803101128.20885-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200803_061012_332614_370AC4E0 X-CRM114-Status: GOOD ( 10.34 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [198.47.23.248 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nm@ti.com, grygorii.strashko@ti.com, lokeshvutla@ti.com, nsekhar@ti.com, linux-kernel@vger.kernel.org, kishon@ti.com, dmaengine@vger.kernel.org, dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, j7200 uses the same DMA hardware but have different set of peripherals, needing different PSI-L thread map compared to j721e. To simplify the runtime PSI-L map selection we will switch to use soc_device_match. See J7200 Technical Reference Manual (SPRUIU1, June 2020) for further details: https://www.ti.com/lit/pdf/spruiu1 Regards, Peter --- Peter Ujfalusi (2): dmaengine: ti: k3-psil: Use soc_device_match to get the psil map dmaengine: ti: k3-psil: add map for j7200 drivers/dma/ti/Makefile | 5 +- drivers/dma/ti/k3-psil-j7200.c | 175 +++++++++++++++++++++++++++++++++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c | 20 +++- 4 files changed, 195 insertions(+), 6 deletions(-) create mode 100644 drivers/dma/ti/k3-psil-j7200.c