Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp6545442ioo; Thu, 2 Jun 2022 08:33:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5zH6Bf6aCzm6o9Sk57vDPhD63yaLHRlC9I3D4ugvsSYCkGOKMwehrN4p3grPuYJtlq809 X-Received: by 2002:a05:6402:2714:b0:42a:ec89:ca72 with SMTP id y20-20020a056402271400b0042aec89ca72mr5936602edd.243.1654183983172; Thu, 02 Jun 2022 08:33:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654183983; cv=none; d=google.com; s=arc-20160816; b=uHDCVGS2J1iKczZDMslZyl8KL3cAsD3movre1OUdK6pDOHMMFYQdBypZZ4mVrUE8XZ Qb+E5AUGxg1EQV9y+2TW3TLFkw8zyv4LjqIfj8btZE/yJiCw4Qt2fHyr7JBnt3PtAm4D dZkbiFmfLqrvsvcLHItWvHm2r3TkM+xEwvlKThig+Ed/D1p2fMmRIcQcZShdJPEZDIW7 JIaUAa6H1M4Ykg8dQOB6ztYIfU7Neczq635j54e3Z48Ni1oCx5evCSkEdsDaN6sHeyaH PxAK8ozEQImJuhJZgguMytNASoJG8/HK3lMNpLfLWkdhn8vd19+Vjme+RbD9rnSk+vwN VZ1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TcQDl1uLZdWGzW+QJb1P8sNXIjyeW2FbcvT3/624XIc=; b=OuB1ZKq0LsK68gfWE/sSDflMwA7Wm4d3LlYhSJCzog5ImcUNYKjft4rLIsvzF9twxl 2V3NgOwDU1uELQ6I5lK0VrpKW2piKx+lRvONot6PwvBk0g7rS06udESNgfd7WbDh4kRH iNL9REtFvdmocNnL5H0Lz5HiyBlLEDG2GctD7KxmWsk11RqFg7bgUnXn4djlVyYqWppd jnIxZp3cxVAiRspIKkUeK4HwE8b5kINrmyYcWv509KuHfijoPIMq83Wf55f878vrxEvu MHBnqpPqnPkhRAWp0y08LteSnn7WrrlHaj8mBOAMe/UvqoW3vn079uWDxmuNvlwOGVuY MeRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mHLvqJR4; 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 d3-20020a17090648c300b006fec271359asi4935332ejt.57.2022.06.02.08.32.36; Thu, 02 Jun 2022 08:33:03 -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=mHLvqJR4; 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 S233607AbiFBKTr (ORCPT + 99 others); Thu, 2 Jun 2022 06:19:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233517AbiFBKTg (ORCPT ); Thu, 2 Jun 2022 06:19:36 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB4A297508; Thu, 2 Jun 2022 03:19:34 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 252AJWqb046218; Thu, 2 Jun 2022 05:19:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1654165172; bh=TcQDl1uLZdWGzW+QJb1P8sNXIjyeW2FbcvT3/624XIc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mHLvqJR4ibQhNzkAHBXIyfQs/QK3js6geuKBjizOn1AYZ/6r/JQE3Pgd7OdO17r6e n7YsV35yZU6DmPRznwyBcCnHr3TYRuqr5O/HWKBclgGK3rXNx2AZg3h00Nxh4a/MET 58mbFEiSI8wqP220q+WgBHQGvMrHx5pKLZjq2mr0= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 252AJWJM009737 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 2 Jun 2022 05:19:32 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 2 Jun 2022 05:19:32 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.2308.14 via Frontend Transport; Thu, 2 Jun 2022 05:19:32 -0500 Received: from a0393678ub.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 252AJKGF063560; Thu, 2 Jun 2022 05:19:29 -0500 From: Kishon Vijay Abraham I To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski CC: Suman Anna , , , Subject: [PATCH v2 3/3] remoteproc: pru: Add support for various PRU cores on K3 AM62x SoCs Date: Thu, 2 Jun 2022 15:49:20 +0530 Message-ID: <20220602101920.12504-4-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220602101920.12504-1-kishon@ti.com> References: <20220602101920.12504-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 K3 AM62x family of SoC has one PRUSS-M instance and it has two Programmable Real-Time Units (PRU0 and PRU1). This does not support Industrial Communications Subsystem features like Ethernet. Enhance the existing PRU remoteproc driver to support the PRU cores by using specific compatibles. The initial names for the firmware images for each PRU core are retrieved from DT nodes, and can be adjusted through sysfs if required. Signed-off-by: Kishon Vijay Abraham I --- drivers/remoteproc/pru_rproc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c index 1777a01fa84e..128bf9912f2c 100644 --- a/drivers/remoteproc/pru_rproc.c +++ b/drivers/remoteproc/pru_rproc.c @@ -897,6 +897,7 @@ static const struct of_device_id pru_rproc_match[] = { { .compatible = "ti,j721e-pru", .data = &k3_pru_data }, { .compatible = "ti,j721e-rtu", .data = &k3_rtu_data }, { .compatible = "ti,j721e-tx-pru", .data = &k3_tx_pru_data }, + { .compatible = "ti,am625-pru", .data = &k3_pru_data }, {}, }; MODULE_DEVICE_TABLE(of, pru_rproc_match); -- 2.17.1