From patchwork Thu Mar 18 21:58:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 12149281 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47D53C433DB for ; Thu, 18 Mar 2021 22:00:35 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 DE32664E41 for ; Thu, 18 Mar 2021 22:00:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE32664E41 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=J+4ogb1QEU7GEWQeO2+qFPFV2efGXy3sDSJ64tM38DA=; b=C53ktwVtEPd0tXQDAP5SUcLk5C yo/C+0E7s3jul2BGR/r42WI68BjwLLnQQuCHgcGaOddb5LRMxsDdJ+Rz5xOWlm0KSmAeDE7JOm2O4 C7CU4F0uaqvI2aqIsSBY5NuG2UAwsGnW6q+WBG9xuuYVpZ9Fad5i2Li3MBHMy1cC7vmmiaVa6JKYM xu6HAMeAMstGjfTfaZyh0I9X0LfKb3VwBhLwtDPSVbGJUrPkzsr+J0uIFeSzokU03JiEQ1DhVoTyb BT+a4ygArRfxj+vtNh7eQ8wHt6OzrU7qisKxxvKBEu35Rc+DLAP69sPtpEI81NCfzfEvr1qGJ2n4w FyMRzSeA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lN0fS-006582-5r; Thu, 18 Mar 2021 21:58:58 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lN0fM-00657V-Cc for linux-arm-kernel@lists.infradead.org; Thu, 18 Mar 2021 21:58:55 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12ILwnlp031737; Thu, 18 Mar 2021 16:58:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1616104729; bh=r0I/5gEUl9u/+u0BQsSSziZQ5jRmsqIYQXTlRPcwgsg=; h=From:To:CC:Subject:Date; b=NugvkazagSkVXvE3hocNAc0n9wB+fzG/McXT7gj4LS0a1NtMAVlQcaxghyUHefuxT qBhvW0OPsfxZlnoD31GGMIALf4+GVXJq1DeFBdghUHvVIx9B4RPMJAe7NghK0RhzZb zbVPeK9wJeUp8kYmtlfJN3I9hIK4Ixrw+1QXzQ0g= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12ILwnBb097713 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 18 Mar 2021 16:58:49 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 18 Mar 2021 16:58:48 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Thu, 18 Mar 2021 16:58:49 -0500 Received: from fllv0103.dal.design.ti.com (fllv0103.dal.design.ti.com [10.247.120.73]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12ILwmu8043227; Thu, 18 Mar 2021 16:58:48 -0500 Received: from localhost ([10.250.32.139]) by fllv0103.dal.design.ti.com (8.14.7/8.14.7) with ESMTP id 12ILwmio096141; Thu, 18 Mar 2021 16:58:48 -0500 From: Suman Anna To: Bjorn Andersson , Mathieu Poirier , Rob Herring Subject: [PATCH 0/2] TI K3 R5F remoteproc support on AM46x SoCs Date: Thu, 18 Mar 2021 16:58:40 -0500 Message-ID: <20210318215842.8196-1-s-anna@ti.com> X-Mailer: git-send-email 2.30.1 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-20210318_215852_825365_EBFB6159 X-CRM114-Status: GOOD ( 11.65 ) 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: , Cc: devicetree@vger.kernel.org, Lokesh Vutla , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi All, The following series enhances the K3 R5F remoteproc driver to add support for the R5F clusters on the newer TI K3 AM64x SoC family. The AM64x SoCs have 2 R5FSS clusters and no DSPs. Both clusters are capable of supporting either the conventional Split-mode or a brand new "Single-CPU" mode. The revised R5FSS IP has the following unique features: 1. The new Single-CPU mode allows the Core1 TCMs to be combined with the Core0 TCMs effectively doubling the amount of TCMs available. This is same behavior as LockStep-mode on J7200 SoCs, but all other previous SoCs could only use the Core0 TCMs. This combined TCMs appear contiguous at the respective Core0 TCM addresses. 2. TCMs are auto-initialized during module power-up, and the behavior is programmable through a SEC_MMR register bit. This is same as on J7200 SoCs, and is not present on earlier AM65x and J721E SoCs. The series is based on 5.12-rc2, and can apply on top of the current rproc-next branch as well. regards Suman Suman Anna (2): dt-bindings: remoteproc: k3-r5f: Update bindings for AM64x SoCs remoteproc: k3-r5: Extend support to R5F clusters on AM64x SoCs .../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 31 +++- drivers/remoteproc/ti_k3_r5_remoteproc.c | 155 ++++++++++++++---- 2 files changed, 152 insertions(+), 34 deletions(-)