Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4450506ioa; Wed, 27 Apr 2022 04:16:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybLmVPRG6/u60YQ2uIO0Iz4dHRMnabbToxRVOiVFGVngEAJDxr1x6G70M6Hg0BPafNABJX X-Received: by 2002:a17:902:ea0b:b0:15c:e202:1f01 with SMTP id s11-20020a170902ea0b00b0015ce2021f01mr22682843plg.21.1651058170235; Wed, 27 Apr 2022 04:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651058170; cv=none; d=google.com; s=arc-20160816; b=wt+ZizYdLOW3KtCENQ5lakCs6WeLCM20BvpSuyx+zYPPEPASC/xiwnzMav+aPonqwG ZT2PttaENP0z3DcNjacqof1k8M2O6ZjoFd8kzO56BHh3pZQFchg4bZUoPF5p3QsPDP+q VTzDaU8rVNW1LA8rY9b2lsdPW+h/+xfrPOmEMoCPbSHqqH3l+fnCCNkbKB+DjArEosoS ao7hOzV1bO6LPCu949a6PLHl7YQepaYqMKndZ2E7ovgwZfSRjoSiS4twSMuWjghbB+dj ELG9OM6e+HoX44AeMxShnpHERtCt0EqWafKu29+Kf9A05Gj4eJcJManj+5vEWmQxqbe2 y8LQ== 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=o4OdbDz6uH03t8FSx+kd6fT846C9IB/Fko+G/S9oAVHQ5Uqy7lX9nYk7cGBojst+N8 2/VIKE03hVqLhTk0o+ySSDBUYfo4R5VZU0HYMJRckyZ7YAZDlD5tLdcCd0L6lB+ds4MR UZb6hll2FgqzKzLFJZ2hLVKKYgjlcbHUcEVv8fJR/DtQTGP52KU0ytGfY4WbRkEd4cvX 7BStJ4AclHCI4mUI03DFm5EFBIzqjOXvMHUUNx6Ut7jDTNJimlwbm87uvtv14/7yBkQy ZH0S9tT7zIIklc1ba9qZYHdWXEkG0Mh0liWaJlyfgQ5ooe04c0sh7qCb9szMh31eC5kv 3YgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GgEh65q1; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e18-20020a170902ef5200b00153b2d1649asi1206937plx.162.2022.04.27.04.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:16:10 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GgEh65q1; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 80EF130673B; Wed, 27 Apr 2022 03:09:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359447AbiD0Iik (ORCPT + 99 others); Wed, 27 Apr 2022 04:38:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359430AbiD0Iif (ORCPT ); Wed, 27 Apr 2022 04:38:35 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8342641F97; Wed, 27 Apr 2022 01:35:23 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23R8ZL58087677; Wed, 27 Apr 2022 03:35:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1651048521; bh=TcQDl1uLZdWGzW+QJb1P8sNXIjyeW2FbcvT3/624XIc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=GgEh65q1nIjXl5IwxCMkDtl3VqjIgQET0SDvkhpY7XpczUrKI+BK4Ep0uiHBFnvrv C3wvQMxRGKaTQQi9m+yJpa+dbyNeLQw9vmwJESCHiHEeco0N8cH7sVrMXP7cd/vdmi ayuhWZ2J/c4tDIXxM4L+Wv3lOYXDjeW4U2ZIQeK4= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23R8ZLtd103096 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 Apr 2022 03:35:21 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 27 Apr 2022 03:35:21 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) 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; Wed, 27 Apr 2022 03:35:21 -0500 Received: from a0393678ub.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23R8ZBCh009219; Wed, 27 Apr 2022 03:35:18 -0500 From: Kishon Vijay Abraham I To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski CC: Suman Anna , , , , Kishon Vijay Abraham I Subject: [PATCH 2/2] remoteproc: pru: Add support for various PRU cores on K3 AM62x SoCs Date: Wed, 27 Apr 2022 14:05:09 +0530 Message-ID: <20220427083509.14458-3-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220427083509.14458-1-kishon@ti.com> References: <20220427083509.14458-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=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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