From patchwork Thu Nov 19 01:05:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 11916297 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=-11.8 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 C75BAC5519F for ; Thu, 19 Nov 2020 01:06:46 +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 3B25722260 for ; Thu, 19 Nov 2020 01:06:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gDu+vFub"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="eozVu1Ay" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B25722260 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=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=0wT8trqeVSh88Gk3q+YCdNr9ddkEprAErR/DyD4BvB8=; b=gDu+vFubjx1lu6hk9WZv1eLsSc +F8ciNm7hK6yKViD4tERg8MIL0ihNxNWBaQru5w91LgDvv23VxRp4U7qLBYq707zXDpsI6f7V+fmy BMK+pwaN54L7uvdK4uqjQEcLEhfwM1k58qr+fuRAsD9hVdrE8OA8+nxzFKwAFQq9Fo/jELK3MDQBt tUzNMROr/tsGOv/rBm0q4iEeLDQktPjASM2iA38/ahf5gZLwP5Vt975+0xK2vS7tHYYgdj7k5mkAa QVqgiGx9I8BBFKGG67enSIpuM37WnD9OygLTMvAsiPbrgTKQgAK9XH3X3j0U8131oN3GAtMq7F5zw rQa2QbTQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfYOU-0000CJ-3a; Thu, 19 Nov 2020 01:05:50 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfYOQ-0000Bu-Re for linux-arm-kernel@lists.infradead.org; Thu, 19 Nov 2020 01:05:47 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0AJ15fnv069950; Wed, 18 Nov 2020 19:05:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1605747941; bh=1gRjiKyj/jZJizdpNerB6Rxx3miu2PjfU9zpoj7KcHQ=; h=From:To:CC:Subject:Date; b=eozVu1Ay3gX0vgWvy6YYxZlmgCsgdOPDXjqfVDo3lYHfMcuO3g71vlaCRXaIE92qa K5QFB7WwfvmHJLF/CGPFUMeviLgT8YrkDI7tAo3gJnXTvOU5PvOHY0BTv62P46heqp e07ZPoXDFFp+1fXLWXvUTuHGzBqXMsEKpHmTQSRo= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0AJ15f3H054074 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 18 Nov 2020 19:05:41 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 18 Nov 2020 19:05:41 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE103.ent.ti.com (10.64.6.24) 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; Wed, 18 Nov 2020 19:05:41 -0600 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 0AJ15f3d074558; Wed, 18 Nov 2020 19:05:41 -0600 Received: from localhost ([10.250.38.244]) by fllv0103.dal.design.ti.com (8.14.7/8.14.7) with ESMTP id 0AJ15fmd076042; Wed, 18 Nov 2020 19:05:41 -0600 From: Suman Anna To: Bjorn Andersson , Mathieu Poirier , Rob Herring Subject: [PATCH 0/3] TI K3 R5F remoteproc support on J7200 SoCs Date: Wed, 18 Nov 2020 19:05:28 -0600 Message-ID: <20201119010531.21083-1-s-anna@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-20201118_200547_100010_C4E6636F X-CRM114-Status: GOOD ( 13.98 ) 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: 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 J7200 SoC family. The J7200 SoCs have 2 R5FSS clusters, and both clusters are capable of supporting either the LockStep or Split-modes like on the existing AM65x and J721E SoCs. The R5FSS IP though is revised compared to K3 AM65x and J721E SoCs and has two new features: 1. TCMs are auto-initialized during module power-up, and the behavior is programmable through a SEC_MMR register bit. 2. The LockStep-mode allows the Core1 TCMs to be combined with the Core0 TCMs effectively doubling the amount of TCMs available. The LockStep-mode on previous SoCs could only use the Core0 TCMs. This combined TCMs appear contiguous at the respective Core0 TCM addresses. The series is based on 5.10-rc1, and can apply on top of the current rproc-next branch as well. Following is the patch summary: - Patch 1 updates the dt-bindings - Patch 2 introduces new SoC data logic and handles the TCM auto-init feature - Patch 3 handles the TCM adjustment logic in Split-mode regards Suman Suman Anna (3): dt-bindings: remoteproc: k3-r5f: Update bindings for J7200 SoCs remoteproc: k3-r5: Extend support to R5F clusters on J7200 SoCs remoteproc: k3-r5: Adjust TCM sizes in Split-mode on J7200 SoCs .../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 2 + drivers/remoteproc/ti_k3_r5_remoteproc.c | 95 ++++++++++++++++++- 2 files changed, 95 insertions(+), 2 deletions(-)