Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5814451rwb; Tue, 1 Aug 2023 08:15:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlEaltG/gVZZqks0jzOojofFmq3KlsBWO6YgbMiHvLs8V4yP7PyW4XK6TVPIz7CfBBgomROf X-Received: by 2002:a05:6a20:a1a0:b0:13d:6c5a:1887 with SMTP id r32-20020a056a20a1a000b0013d6c5a1887mr5752536pzk.20.1690902901086; Tue, 01 Aug 2023 08:15:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690902901; cv=none; d=google.com; s=arc-20160816; b=Gqp7e2Wq5pSKMsApJHMQSu/2doxmhIsGy3OsrFzCZqCYMSNmP5ZNR1ft8cxk0zXZxb O9w4LlawbmuMi7rJsN/poOUkP8A8tC1YnFe2eTiaQsR+BFIOAJUvxrJCtX7mllo1gMFf 3500GsDxwGtX4Lc+b8iHm1zjfYovtDlrCgxH5oiYmHJHnMgaqiBKnQIRybFORwvKkdGc 4iiLlp7d1q2+gPf++SFP2jvHo8ZuTpsU/f00surpEXklC5kECLoIML9SmwUfTvWywAlE 2g+EdWlCkbVYmG2P54QRmmZB7E9uNxIlo71bgOuD5zgslVI6Rni0eVBb6kHsXiKIfTKu xx+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=W/F51boW0s52ykPrOys8Lt+Gz7rqGfuRoOXlgbyvudQ=; fh=dKGwvIlc2/9/DbHJf0BOk6otEw9zJJ/d0UxNR1bxVT4=; b=cHnIplAClYahUXfVTG/wOCcksoTWBRDpevHAPn4A1hGpX8ZzI3I+YycMPd2Iwk0+vJ ff1Bq7Tbuagof8cevBdSlSdEa2cS8f7Swqbgx9aLg/PIzaYZfE76cV44K54hT1KXZDsx /HnIV0y0q0x4VO7R/Fw4Imxd7aWdupjs/4nDZjRMYh0zySojAD8kxOoDj0ot2NOGk4g2 Ak1RzFeI/knfurzRcnIc0I1DpUUZ2afM58PXbfVjZohVDItOwrZX1frD+aY912eGi8yl XIe8RD3UQBQplTFlIc3ETCFpBFV3QRI/roSnPWDUubk9trYx/mfwra22tPNjznSmELdO DQ4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Kj5QwuC+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l20-20020a635714000000b0055337ca9cefsi8899764pgb.857.2023.08.01.08.14.47; Tue, 01 Aug 2023 08:15:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Kj5QwuC+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbjHAOLt (ORCPT + 99 others); Tue, 1 Aug 2023 10:11:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233891AbjHAOLn (ORCPT ); Tue, 1 Aug 2023 10:11:43 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A46CE2728; Tue, 1 Aug 2023 07:11:33 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 371EBM2R070104; Tue, 1 Aug 2023 09:11:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690899082; bh=W/F51boW0s52ykPrOys8Lt+Gz7rqGfuRoOXlgbyvudQ=; h=From:To:CC:Subject:Date; b=Kj5QwuC+CxoGWdlnsJiyf70niUD3ikWSuRaA89Q6FlSuN0nkyXSrJzSg5S3tnhOtG KYCopODz/gMtc+Ijimk12oOWcZW15doscugwxmnnsnIvIJcPHm49aiDOLhL4g7vs2v kxPCE5CAgZE1KgaUrfDDdaOeZ1Nh1cL1ZkyDU5eQ= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 371EBMmC000732 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 1 Aug 2023 09:11:22 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 1 Aug 2023 09:11:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 1 Aug 2023 09:11:21 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 371EBLMm039003; Tue, 1 Aug 2023 09:11:21 -0500 From: Hari Nagalla To: , , , CC: , Subject: [PATCH v4 0/3] TI K3 M4F support on AM64x and AM62x SoCs Date: Tue, 1 Aug 2023 09:11:14 -0500 Message-ID: <20230801141117.2559-1-hnagalla@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following series introduces K3 M4F remoteproc driver support for AM64x and AM62x SoC families. These SoCs have a ARM Cortex M4F core in the MCU voltage domain. For safety oriented applications, this core is operated independently with out any IPC to other cores on the SoC. However, for non safety applications, some customers use it as a remote processor and so linux remote proc support is extended to the M4F core. See AM64x Technical Reference Manual (SPRUIM2C – SEPTEMBER 2021) for further details: https://www.ti.com/lit/pdf/SPRUIM2 Hari Nagalla (1): dt-bindings: remoteproc: k3-m4f: Add bindings for K3 AM64x SoCs Martyn Welch (2): remoteproc: k3: Split out functions common with M4 driver remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem .../bindings/remoteproc/ti,k3-m4f-rproc.yaml | 123 ++++ drivers/remoteproc/Kconfig | 13 + drivers/remoteproc/Makefile | 3 +- drivers/remoteproc/ti_k3_common.c | 513 +++++++++++++++ drivers/remoteproc/ti_k3_common.h | 108 ++++ drivers/remoteproc/ti_k3_dsp_remoteproc.c | 598 +----------------- drivers/remoteproc/ti_k3_m4_remoteproc.c | 333 ++++++++++ 7 files changed, 1121 insertions(+), 570 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-m4f-rproc.yaml create mode 100644 drivers/remoteproc/ti_k3_common.c create mode 100644 drivers/remoteproc/ti_k3_common.h create mode 100644 drivers/remoteproc/ti_k3_m4_remoteproc.c -- 2.34.1