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=-14.1 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,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 088FBC49EA5 for ; Thu, 24 Jun 2021 19:42:50 +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 CA98F60232 for ; Thu, 24 Jun 2021 19:42:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA98F60232 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GURd2B3ymnZcfe0lO21458oxQwKML4XAp9oAcxYwOgY=; b=NBQlnt9pk3bT5P 4Z1+ksUtddlHiLELQCjyeknwVzmvXFFCGSA6lI1mqWZvaOGLMwhtxxx8zfhyrNE44jVnLYRz/p9O+ Vd6oLgLiwOfpwy5lNkWbSrzyEQDUOK+KZDWzHVhVNQUegbycdEepq4boqCSH7eKktO5H2xirMoukb 3ixWxLT4IlOlMXCzAljwLmT/6XG6+YkrTw4J6i1SBCRuap9pXwEx7tHAosbFhfUjvp5Mnssl6GTBN sw5F+IdPhMCQIMNiPt1BBi2HzjUkMO6cEcqTw7gwKZvmpg5W+1w3Z3416ncMTWWvjMWKIe+nrKIn5 lC3vuhgPqzGcncoGuztg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwVDt-00G5kd-9J; Thu, 24 Jun 2021 19:41:13 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwVDo-00G5jJ-L6 for linux-arm-kernel@lists.infradead.org; Thu, 24 Jun 2021 19:41:10 +0000 Received: by mail-pf1-x42d.google.com with SMTP id x16so6052256pfa.13 for ; Thu, 24 Jun 2021 12:41:07 -0700 (PDT) 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=+xafYqSgVD8nUH+DnQ+8KYkIuJ1/DagxEHzExEHv1Yk=; b=s1ELRsJ1L3/affpkUOzjF8ZJlTUHW0ZrN/RcHFSj4l2+sYgfbmXfU24TmlKgOmSCQk FQL1L17D95/uRY/UEILoJRT16xm0mbvWMkboQYmaJXXXukYIIDAcy0XHxIrdvbbywQGB 15l9Ii95uFNiMZoqSA4ufg2Wnbi/pvMszX1on4/IFXOvcs+fVZJ3VRczx2d9PlshXNpr lpfTlnxOpL51j8c/p+xq2Y1oR392KHHfa74lrgoPFjeGGrVDVrv4Vo8hK4N3o+f8GLiF 4YfDkoAoOJT9WwNMGbirr0Yly+LqTGTnJm7q0hzxF1mN1GdRuflsOWMmN9y+Mn4eNTXp dydw== 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=+xafYqSgVD8nUH+DnQ+8KYkIuJ1/DagxEHzExEHv1Yk=; b=c0DVCriaPfzp9BkP4JRYzgMtqrYH2ew6MNDXrtKJxr9OzrOdmui5ivNt1sozQt5m0T kknq8YdshO3f77HN7wHIlchgPb0i/lIbciHaImsVB/QUNFjjfpf4vMQ4VIRFFjAFOpEn BqSx4zkx3dosQQcqiHTLUfS+Aw+dI5r7qYQhQQR3aMYYUyBQ9aXB1wy9YYcLNbS9WBA3 FF1cr4NtLF0dIy6N5Yt2yE1p0aj4c1ule5DopKZu1NhgdZz2lXjnBPv8i2ErvVcwCp7k bokrz/k1nrHfu/Dzb8PS0n1hqkbtIeoHwPouaoefBiLosn5iE7Kvh+Ajs1FgBSWNQpcT 3A+g== X-Gm-Message-State: AOAM5329HL/YHp9tfMz/6OboDygdykueCRHLRaSmhub8mnIn6gIE1XPS Fthxs6VUKtGeF11WrGzsPP5iqw== X-Google-Smtp-Source: ABdhPJwUVFpzX28kDds82ZORVhxGs12hO3Flayw0ggl9RAz91JOqJAMu9/GsvdTHoLtcOZIXf44n1A== X-Received: by 2002:a62:1d84:0:b029:304:5af1:65f6 with SMTP id d126-20020a621d840000b02903045af165f6mr4825181pfd.80.1624563667240; Thu, 24 Jun 2021 12:41:07 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id cu4sm3364755pjb.40.2021.06.24.12.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 12:41:06 -0700 (PDT) Date: Thu, 24 Jun 2021 13:41:04 -0600 From: Mathieu Poirier To: Suman Anna Cc: Bjorn Andersson , Rob Herring , Kishon Vijay Abraham I , Lokesh Vutla , Vignesh Raghavendra , Grzegorz Jaszczyk , Jan Kiszka , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/2] remoteproc: pru: Add support for various PRU cores on K3 AM64x SoCs Message-ID: <20210624194104.GB1090275@p14s> References: <20210623173243.7862-1-s-anna@ti.com> <20210623173243.7862-3-s-anna@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210623173243.7862-3-s-anna@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_124108_771924_0D89E3D8 X-CRM114-Status: GOOD ( 20.03 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jun 23, 2021 at 12:32:42PM -0500, 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 }, > {}, Reviewed-by: Mathieu Poirier > }; > MODULE_DEVICE_TABLE(of, pru_rproc_match); > -- > 2.30.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel