Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp723368pxu; Thu, 3 Dec 2020 10:58:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsSxEmv/zMVxCnW17LkZXHhJeLBtZUA6zQwA7Hc1JU1ENDIt7QZgWgJFs/4tMK7kz5ovAF X-Received: by 2002:a17:906:9888:: with SMTP id zc8mr3722894ejb.42.1607021925155; Thu, 03 Dec 2020 10:58:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607021925; cv=none; d=google.com; s=arc-20160816; b=XTJs0Izpm/MXbRODjBNbFOPra6LazDbXDpMZ2IfvoBEPBWiImzqXJEWWb7NNcobZ/u VJstNcjkJAjXLqZQdk4QO1Bw7xyDb/1M8jXhT6L0oLjG6G8V6eWKwuC6aOiAvHzrFWLm thjMghpcE+vAOiFYVN+STjkb05fuL6igoHohwCpsz15rRW0wgj2vZ3M1AnNrka77wc0E 1wlpsXfhMiChTnROPg0IpapxMJs0rHmoMMpjki0mUndl+qbxrASohl+h0dxGU0LAedFz DZW6iDlsvgD6tS8x9L6NC0SHYAGaSFeCyLEkwFdptWWdQes1AsRag/rpn4fygdav6oeQ mXzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EE5mMvmXrxXfB4VeSZLs7H6jR6pEvdX9Wrji0Qr5SPY=; b=0fovNssUTfD3Aa2AMchZXgK/QIJwP7l7nk7cjXIf7SGFtj3FBpsNy+03aZXlZa1IcR sT/y0gf5VcZvLlWDt1TgHFadE9eYggJB3p33bGoH+PNmYAp84d7daiiJA4qTr+b7dg3Q 0YRUYaMhwv/Kf4IKlppErpekUFd2UF1RYE30Jdel2jOYDbjlyKIc2MvTuqF3qw3Dy4zJ LbR826cplhHAVjBP/EQUksTHRzB+FjQ1LTF0+8nj7PvqaZZmPS+OzHnHLJcpcE3MFlad IYYGTOJTiuo9m/eDH5skMsLAQbjG/dfAKBTk4YmzUPyNnUyXutqJmtFZrLZyaCT6lBRj 9uXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YxGDh8Ky; 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 i1si1594425ejz.363.2020.12.03.10.58.21; Thu, 03 Dec 2020 10:58:45 -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=YxGDh8Ky; 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 S1729198AbgLCSyQ (ORCPT + 99 others); Thu, 3 Dec 2020 13:54:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727730AbgLCSyP (ORCPT ); Thu, 3 Dec 2020 13:54:15 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D54CC061A51 for ; Thu, 3 Dec 2020 10:53:35 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id o4so1973353pgj.0 for ; Thu, 03 Dec 2020 10:53:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=EE5mMvmXrxXfB4VeSZLs7H6jR6pEvdX9Wrji0Qr5SPY=; b=YxGDh8Kyih68g640dh1sCWyrR96R29Pes5pSYET8gCr/BYmJ2n0Ul0U232/U/ZHvOZ T5/ymRdWa54KSSgyFjLr3gShxL3i4BmFXbonKFqW6yD3Qbd+PSTkO2Q0x68SXOL8i3C5 1JzNWr8XGWr8W8pz+ZZ2yzV7qyXnZ1V1vanh3dZb9ZAz02Ymae/971r7DnbW/Xfae6R/ /xBLexklnQEfz3SDZWdgtjJ+RzjkucE9To0SXRE+TRA5q9jZzoLwmf864VVemeeQEGxm s2/rS34GDB5z+R/fV9aczjw1lW7JMmyF2EZK5ioTzzIK2vwvwWQ+hrySnD4PTFRddNuJ qwjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EE5mMvmXrxXfB4VeSZLs7H6jR6pEvdX9Wrji0Qr5SPY=; b=jVac83Ez3B1N7Hdl2sRRTJ1P1sAwN1MHy3I4i71OIyBNwnOO6wD+xi5MFyY6nwzEO0 K85MkE2ImS/SA+DQ3os3a858GlfG5GY2rAfbb/tmxR9+fsXWs7FFdX1pTl7CYFmPMthf i/ZAfW3twh1KIgNSdsn2xV4UwEuYXQeOpeKCToaIqMHnD4NJRM9w5hKs53xpFrAN20gB +VOJ6XEu5VbLyO6DUr/mVCP3Rbail008Nno4ahOLULTkJA6LaGVDjNRIU9Z7C7TuB5ya X7t14B8wwSMJIe++ptGqtUzwUsny9v4For3SyHh02m+XwZwbRt7tyBxkTP/KTw8Yv/nh Heuw== X-Gm-Message-State: AOAM533VoIcqzUKJf8UrTa8ekpeVH1/YpwCd1TCdQ3Jyg7iJsGXAVfe8 ax2yPatpTikTlIa4KyQxSwdppw== X-Received: by 2002:a63:e44:: with SMTP id 4mr4161760pgo.162.1607021614654; Thu, 03 Dec 2020 10:53:34 -0800 (PST) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id m77sm2513701pfd.105.2020.12.03.10.53.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2020 10:53:34 -0800 (PST) Date: Thu, 3 Dec 2020 11:53:32 -0700 From: Mathieu Poirier To: Grzegorz Jaszczyk Cc: ohad@wizery.com, bjorn.andersson@linaro.org, s-anna@ti.com, linux-remoteproc@vger.kernel.org, robh+dt@kernel.org, lee.jones@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, praneeth@ti.com, rogerq@ti.com Subject: Re: [PATCH v2 6/6] remoteproc/pru: Add support for various PRU cores on K3 J721E SoCs Message-ID: <20201203185332.GC1392978@xps15> References: <20201119140850.12268-1-grzegorz.jaszczyk@linaro.org> <20201119140850.12268-7-grzegorz.jaszczyk@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201119140850.12268-7-grzegorz.jaszczyk@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 >