Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id AB467C3DA4A for ; Mon, 19 Aug 2024 08:34:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=btqGYn1qSTnoHXYrr5y+jucxA3bpHfUKF3KyFXFLW6A=; b=DPZqojGxyI4VuN6Z4lpbgdsKf5 VSerOC1dv7DvYVvUXLzpWXgrY+Oj1FW7LKiv+SbI4/v7QdExbCZsI4ZufjxDPOnfklqRzqFBQyYtS 0iSvc3vC4gFKZcpRqup5woVoIc8hU6z5ajxJNr/H0RmFvQQk0U8ajVr6cCuSN+1K0LrZ+3SZAxcKZ kR24ZiKCbSwNKjNKJQ9PySN0VbHOhQEH+rtxUrmao2iCXWtpZxOliLDNV2YUvpKiS6OhP/w6MWaC+ SHbqUvr935jkMrsb0H1n3cTEB/o268xtjfxyIUKB9QoxfqwPL5TKZ0lhM5dh6FB3ZBpIuVz3kWQET bFjoHDMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfxqO-00000000mx3-12u9; Mon, 19 Aug 2024 08:34:28 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sfxpi-00000000mom-0IPY for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 08:33:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1724056421; x=1726648421; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bhYkbt/NfI1H8kYRGifKW3wSQpR5N/5WLn+jI521hXs=; b=ZUPsHP7xoa5bFiztIh5KPvKXnb7MExVMqMIxz4IgVimxMDYPBGPPRJyLHVwDRHAf fRbME7VBYPoeQAa5eGTuszO1hzqxPBbfC/cKVf8LAqYASpPGiRFMm7Ao82DQAlNv 0dN8ayldlAaZM+oNg0RW6PnwBCoNs7WwiCmEyDQ1D2Q=; X-AuditID: ac14000a-03251700000021bc-fd-66c30364c81f Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id A4.27.08636.46303C66; Mon, 19 Aug 2024 10:33:40 +0200 (CEST) Received: from [172.25.39.28] (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Mon, 19 Aug 2024 10:33:39 +0200 Message-ID: <04bba41d-7e7f-4c3f-9f92-1b4165968c12@phytec.de> Date: Mon, 19 Aug 2024 10:33:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v11 0/9] TI K3 M4F support on AM62 and AM64 SoCs To: Andrew Davis , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Philipp Zabel , Hari Nagalla CC: , , , References: <20240802152109.137243-1-afd@ti.com> Content-Language: en-US From: Wadim Egorov In-Reply-To: <20240802152109.137243-1-afd@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Berlix.phytec.de (172.25.0.12) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsWyRpKBRzeF+XCawZI/FhbvT01kt9jWYWOx Zu85Jov5R86xWmw/0MlusfzzbHaLl7PusVlsenyN1eLyrjlsFs3nlSy27jnAZPHmx1kmi7v3 TrBY/N+zg93i/9kP7A78HptWdbJ53Lm2h81j85J6j/6/Bh7Hb2xn8vi8SS6ALYrLJiU1J7Ms tUjfLoEr43fDN+aCRZIVD9/fYmxg3C3cxcjBISFgIjHlfVEXIxeHkMASJonmvVfYIZy7jBKz Dm1g6WLk5OAVsJHo/vKBCcRmEVCVOPv/EVRcUOLkzCdgtqiAvMT9WzPYQWxhAReJz5O7mUAG iQhMY5Y4O3MKG4jDLNDHKNE98QMrSJWQgIHEtq2bmUFsZgFxiVtP5oNtYBNQl7iz4RtYDaeA oUTL5o8sEDUWEovfHGSHsOUlmrfOZoaYIy/x4tJysBoJIHvaudfMEHaoxNYv25kmMArPQnLs LCTrZiEZOwvJ2AWMLKsYhXIzk7NTizKz9QoyKktSk/VSUjcxgqJShIFrB2PfHI9DjEwcjIcY JTiYlUR4u18eTBPiTUmsrEotyo8vKs1JLT7EKM3BoiTOu7ojOFVIID2xJDU7NbUgtQgmy8TB KdXAKDPFaDlDaLv9tdNdTX75pR+8dG6Wfn/q16b3ZK7FZKHbvsdZuYuPKHwt3NmyYfcy3ZVO JjIrnEK7/8/2zy31rnA9lBvIXhuhEK4ZL+d0zcP1+F23prtlLqufHjFrtVj5ipf3kLyhgnXK /1uzgi/0KrxlVzuwrfH1eacCrTUsp5/6P/t15+wtJZbijERDLeai4kQAk74BbLgCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_013346_563734_6A097CBB X-CRM114-Status: GOOD ( 20.84 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am 02.08.24 um 17:21 schrieb Andrew Davis: > Hello all, > > This is the continuation of the M4F RProc support series from here[0]. > I'm helping out with the upstream task for Hari and so versions (v8+) > is a little different than the previous(v7-) postings[0]. Most notable > change I've introduced being the patches factoring out common support > from the current K3 R5 and DSP drivers have been dropped. I'd like > to do that re-factor *after* getting this driver in shape, that way > we have 3 similar drivers to factor out from vs trying to make those > changes in parallel with the series adding M4 support. > > Anyway, details on our M4F subsystem can be found the > the AM62 TRM in the section on the same: > > AM62x Technical Reference Manual (SPRUIV7A – MAY 2022) > https://www.ti.com/lit/pdf/SPRUIV7A > > Thanks, > Andrew > > [0] https://lore.kernel.org/linux-arm-kernel/20240202175538.1705-5-hnagalla@ti.com/T/ > > Changes for v11: > - Added patch [2/9] factoring out a common function > - Addressed comments by Mathieu from v10 > - Rebased on v6.11-rc1 > - Small reworks in driver for readability Tested on a AM62x & AM64x using phycore-am62x & phycore-am64x, so Tested-by: Wadim Egorov > > Changes for v10: > - Rebased on v6.10-rc3 > - Added AM64 M4 support in DT > - Addressed comments by Mathieu from v9 > > Changes for v9: > - Fixed reserved-memory.yaml text in [1/5] > - Split dts patch into one for SoC and one for board enable > - Corrected DT property order and formatting [4/5][5/5] > > Andrew Davis (1): > remoteproc: k3: Factor out TI-SCI processor control OF get function > > Hari Nagalla (7): > dt-bindings: remoteproc: k3-m4f: Add K3 AM64x SoCs > arm64: dts: ti: k3-am62: Add M4F remoteproc node > arm64: dts: ti: k3-am625-sk: Add M4F remoteproc node > arm64: dts: ti: k3-am64: Add M4F remoteproc node > arm64: dts: ti: k3-am642-sk: Add M4F remoteproc node > arm64: dts: ti: k3-am642-evm: Add M4F remoteproc node > arm64: defconfig: Enable TI K3 M4 remoteproc driver > > Martyn Welch (1): > remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem > > .../bindings/remoteproc/ti,k3-m4f-rproc.yaml | 125 ++++ > arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 13 + > .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 19 + > arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 13 + > arch/arm64/boot/dts/ti/k3-am642-evm.dts | 19 + > arch/arm64/boot/dts/ti/k3-am642-sk.dts | 19 + > arch/arm64/configs/defconfig | 1 + > drivers/remoteproc/Kconfig | 13 + > drivers/remoteproc/Makefile | 1 + > drivers/remoteproc/ti_k3_dsp_remoteproc.c | 28 +- > drivers/remoteproc/ti_k3_m4_remoteproc.c | 667 ++++++++++++++++++ > drivers/remoteproc/ti_k3_r5_remoteproc.c | 28 +- > drivers/remoteproc/ti_sci_proc.h | 26 + > 13 files changed, 918 insertions(+), 54 deletions(-) > create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,k3-m4f-rproc.yaml > create mode 100644 drivers/remoteproc/ti_k3_m4_remoteproc.c >