Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp407074pxu; Fri, 4 Dec 2020 06:17:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzudFMLHyVQ7Z3iMkPXl8fQnLCsuJYhnC8oDgBtnguwLKZNCBIZoAa4f9hmFfQcp4yxQruG X-Received: by 2002:a17:906:4e50:: with SMTP id g16mr7657178ejw.191.1607091468620; Fri, 04 Dec 2020 06:17:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607091468; cv=none; d=google.com; s=arc-20160816; b=p0eBPJTVMaUxzDlUjXWEKNriDoblIwNzzq1yQ63lYHzh+lUD8rBQNPbQNQlmdKMu0e UQaANQYxA4WUFMJDC4nATaI/wT6EyKAKLWKQGBCAbIBWXmc6N7QaDG/b1yN1cu/z+TQ7 cA97VoYHytklCPYIVvivY4ypARKvegNwUeyIG80s3GmX59oZczZWaO/nnOy17WM5Zb7w rqPJy5tcVHKmcYqREZ1M3QLAE0sWC/DkncvdHViBAjOyDg/zbWKx8yiDp6zazCnZOVCN s8Uj5315LYo+ddZtGTVmRtw1+ZeBX8glGLdnJU7eYrYOWTYCT8hDrFM+ldt2Gc23Gdt3 nYIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=S84fLM5R0eFjhFKwNgg6t4YhV/zLIcH5ndZplGJKCzk=; b=hZZuHxF7Ry39PWN0xUSyLOTpWpUftskQfPziYCJ1mzokZytcC09mAbOAVnJR+2VjXf OU+nRfG2mjS4ETY1O9+z27YzBxC+lcIHskw0JBw8wt5pgEPbfDwTH1CfeB2/KS0X+Wn1 ziASzgBxUqJ7s5VglThDmQxSXeZU+5sslk6wRVdy9dos/6Wyx8mfKpzMK4uTJ23hl1q4 ANXNQN1DClj062O56HSGDEYfgcQaTshNyu4um7BCQxhqCoN3ZrtqvTtQ7QVkUSmjSvg8 UB74mhhFJs9pCwdEqqAdJfw7LUglm9537yaX25hIfbbwMWoZfnP5k8kkV2DXnDmPjWpC 06KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FP5hEdFs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a1si1406737ejs.714.2020.12.04.06.17.23; Fri, 04 Dec 2020 06:17:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FP5hEdFs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730311AbgLDOPd (ORCPT + 99 others); Fri, 4 Dec 2020 09:15:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726312AbgLDOPd (ORCPT ); Fri, 4 Dec 2020 09:15:33 -0500 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47697C0613D1 for ; Fri, 4 Dec 2020 06:14:47 -0800 (PST) Received: by mail-qt1-x841.google.com with SMTP id k4so3948125qtj.10 for ; Fri, 04 Dec 2020 06:14:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=S84fLM5R0eFjhFKwNgg6t4YhV/zLIcH5ndZplGJKCzk=; b=FP5hEdFsRSIYWxa3GBQxUIGiNfZW+RsNpvHY7m/q1DyyPbkND79VQBJWckEaVPjjZX sjVd87SJ9MmGox3RADjhpP0A/HOIdjZx5PlqGuF/leZGa8Bw/hx86RIAxlUTGGNwb27a +D1UO8CRuCEHwqrUcs06O+mIP/Kl1f80FHBxnrnHZSHst9PPcCCW59+3D2WWaRDpvh7q dZcTkLPX5qwzBiYsuGZ/FQZBVeSfSHPNXckqXqUBtVGXF1hLAeYjzKbam9vXszZKt3Mi WFbamiWmqxuepukArl5+g2yCh1igyXRSe/T9bOtldmrgSxp+/gqwTn231YA/o7PBoBCl 5cPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=S84fLM5R0eFjhFKwNgg6t4YhV/zLIcH5ndZplGJKCzk=; b=ulKWHNO9Q2ulQVXHl47z29d/qbuDhGPM+DcQvKyxiPlrN050mtPGvOeSk9ocAL5Ns5 jsI2X+h6N4le+NoUce0+vdUWjKmYV79amJgKdIBLBogzOjzXNwptf2yuRSTIwm5TGrvJ +w2E4DAsE6VwAZAtQcqFjVlKKWdRNUuGHG1LuHZs5gwyFYFJxrZrYAvo74V6s07fcLwa sCwGBaQHFUGOiORNT07RCcDs8CQ/5ABEBdN08H5Bfy2G3kjag6sCCrX3ZAqF5LBwotHW qf6JSgVlk9SM2NrB5m0WCdgNy2SY1R1IWodpVYJq0ps3pG6l1QvMkVjQTjvExjIdd3J4 atmA== X-Gm-Message-State: AOAM533i2aXfvK98HJnKtDECOkszCLCfcYFLH6SQKdceCCqUbNOfTakr KoY+g2ORdk1ohLLRxSsIPJXFXVDTbKzF2EMRO2D/Hw== X-Received: by 2002:ac8:6b9a:: with SMTP id z26mr9626192qts.200.1607091286490; Fri, 04 Dec 2020 06:14:46 -0800 (PST) MIME-Version: 1.0 References: <20201119140850.12268-1-grzegorz.jaszczyk@linaro.org> <20201119140850.12268-7-grzegorz.jaszczyk@linaro.org> <20201203185332.GC1392978@xps15> In-Reply-To: <20201203185332.GC1392978@xps15> From: Grzegorz Jaszczyk Date: Fri, 4 Dec 2020 15:14:35 +0100 Message-ID: Subject: Re: [PATCH v2 6/6] remoteproc/pru: Add support for various PRU cores on K3 J721E SoCs To: Mathieu Poirier Cc: Ohad Ben Cohen , Bjorn Andersson , "Anna, Suman" , linux-remoteproc@vger.kernel.org, Rob Herring , Lee Jones , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Bajjuri, Praneeth" , Roger Quadros Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mathieu, On Thu, 3 Dec 2020 at 19:53, Mathieu Poirier wrote: > > On Thu, Nov 19, 2020 at 03:08:50PM +0100, Grzegorz Jaszczyk wrote: > > From: Suman Anna > > > > The K3 J721E family of SoCs have a revised version of the AM65x ICSSG IP > > and contains 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 these new PRU > > and RTU 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 > > Co-developed-by: Grzegorz Jaszczyk > > Signed-off-by: Grzegorz Jaszczyk > > Reviewed-by: Mathieu Poirier Thank you for all your review, Grzegorz > > > --- > > 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 48c1c51e0d42..96f689283a8b 100644 > > --- a/drivers/remoteproc/pru_rproc.c > > +++ b/drivers/remoteproc/pru_rproc.c > > @@ -852,6 +852,9 @@ static const struct of_device_id pru_rproc_match[] = { > > { .compatible = "ti,am654-pru", .data = &k3_pru_data }, > > { .compatible = "ti,am654-rtu", .data = &k3_rtu_data }, > > { .compatible = "ti,am654-tx-pru", .data = &k3_tx_pru_data }, > > + { .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 }, > > {}, > > }; > > MODULE_DEVICE_TABLE(of, pru_rproc_match); > > -- > > 2.29.0 > >