From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 7DF98C4743C for ; Wed, 23 Jun 2021 18:23:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 46CB86115A for ; Wed, 23 Jun 2021 18:23:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46CB86115A 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=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=c542kOHBCG+NroNlVZG6q7Puyy+1S8/DdnVutY+YM0Y=; b=U7OzPDlTLFWRclypnQY5ELNDhj EoIB4tGe/izRDvAVUni6OwV2JpaPv8XwhIuxj+P2Td3qiMquevdgJQzDju/BlwkWnWYZShCUa90Nb yBpRDOjiu/KavgMwdWZwZfmOOaQeuPvwbjayh352jWz5y9cZKj/IfoasK5V8EnK3zhKpTEAjwFS5m RvqgxEZnT92hct72PbGZBV/iCzgaOMbgpOGG1crMtRvTbieCYSn4hqs5aEeoWPD4LOZf/bx6/DH0M 8Llcc4DF1Cwmcgn5nlP3ACFiQZn+TkGyXOAjg1mztbMAZembQGWFawQ4a/7lHW1NQEAkPDRuNdlRv 8/4mHFQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw7VR-00BbaE-O7; Wed, 23 Jun 2021 18:21:45 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw7VH-00BbY8-WF for linux-arm-kernel@lists.infradead.org; Wed, 23 Jun 2021 18:21:37 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 15NILYWr071228; Wed, 23 Jun 2021 13:21:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1624472494; bh=79nXRFxC4/U2NLmPwObb1ZTUAuFp3i4R/z6Tw5A45Yg=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=gWqDNnWG39W4fdfwRJMo58bET38dQjWrllEIEWkkDFtb77XXaE3nPQ9xS5PEROWg4 S39mN6HWE1DyVoorriK4jjD1nUYRsv4ayhXEPi8UYLhULzCFwpfI08LrRwJ1e0COks IJVxCeltnZH93PbT8W1FvizF9Rpzh+fVzcHGTpmw= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 15NILYHM100800 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 23 Jun 2021 13:21:34 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 23 Jun 2021 13:21:33 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) 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; Wed, 23 Jun 2021 13:21:33 -0500 Received: from [10.250.100.73] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 15NILU5x017357; Wed, 23 Jun 2021 13:21:31 -0500 Subject: Re: [PATCH 2/2] remoteproc: pru: Add support for various PRU cores on K3 AM64x SoCs To: Suman Anna , Bjorn Andersson , Mathieu Poirier , Rob Herring CC: Kishon Vijay Abraham I , Lokesh Vutla , Vignesh Raghavendra , Grzegorz Jaszczyk , Jan Kiszka , , , , References: <20210623173243.7862-1-s-anna@ti.com> <20210623173243.7862-3-s-anna@ti.com> From: Grygorii Strashko Message-ID: Date: Wed, 23 Jun 2021 21:21:22 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210623173243.7862-3-s-anna@ti.com> Content-Language: en-US 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-20210623_112136_176664_91387EF7 X-CRM114-Status: GOOD ( 20.97 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 23/06/2021 20:32, Suman Anna wrote: > The K3 AM64x family of SoCs have a ICSSG IP that is similar to the > version on AM65x SR2.0 SoCs with some minor differences. The AM64x > SoCs contain two instances of this newer ICSSG IP. Each ICSSG processor > subsystem contains 2 primary PRU cores, 2 auxiliary PRU cores called > RTUs, and 2 new auxiliary cores called Transmit PRUs (Tx_PRUs). > > Enhance the existing PRU remoteproc driver to support all these PRU, > RTU and Tx_PRU cores by using specific compatibles. The cores have the > same memory copying limitations as on AM65x, so reuses the custom memcpy > function within the driver's ELF loader implementation. 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: Suman Anna > --- > drivers/remoteproc/pru_rproc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c > index e5778e476245..0ecf2675f5eb 100644 > --- a/drivers/remoteproc/pru_rproc.c > +++ b/drivers/remoteproc/pru_rproc.c > @@ -894,6 +894,9 @@ 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,am642-pru", .data = &k3_pru_data }, > + { .compatible = "ti,am642-rtu", .data = &k3_rtu_data }, > + { .compatible = "ti,am642-tx-pru", .data = &k3_tx_pru_data }, > {}, > }; > MODULE_DEVICE_TABLE(of, pru_rproc_match); > Reviewed-by: Grygorii Strashko -- Best regards, grygorii _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel