From patchwork Wed Jan 22 09:54:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13947069 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 135B9C02181 for ; Wed, 22 Jan 2025 09:58:16 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Aj4nRpIwchXIrjexvYOL05y/b5PvSBzLyScjI+iXpvc=; b=PNjM3Ie2J9WSGgKrc1wbQsFXaw WjmKMv5iyU1lbB1B+TptYE61waf6WRFb/lpQYMzPfsjNtYY80pT3RfHEE6wq8vwHovIdZRBdnwbQg W1GInAICcDe5lp/IoVUY0F8pMkkKzGIjd4vy/8C1MJOiap1HrR46oHB80j/BpVCowG9Sr8qtfQbMM b+FB5bhQef8thrLyqpLeEb6oGT8F0e3mw7wm8MTwMOJ6D3N4JIq+viQUVcBMt73FVN0f92yUmf/cO +CQvp5g3a0uJRsoHgybOChQer826bawvfGa87sZGJi8FtbKJJKleZVVrhZIHeg2drwkStcssHpdcX Tc3+jwrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1taXUp-00000009rhh-00QI; Wed, 22 Jan 2025 09:58:03 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1taXSG-00000009r7z-3rZI for linux-arm-kernel@lists.infradead.org; Wed, 22 Jan 2025 09:55:26 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43624b2d453so72983845e9.2 for ; Wed, 22 Jan 2025 01:55:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1737539723; x=1738144523; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Aj4nRpIwchXIrjexvYOL05y/b5PvSBzLyScjI+iXpvc=; b=M+WvoFHRaLifYIrTIvYZg+oHxHdu+KnQGC/FXgr7DvLtLV5jam7VaPZbNvet9onN4v 5xj3m7TCwRwZZpes8CefmpTO9vTr38288qWKK4Qyrq020aYOoDFM+wBWZYGMKdK/VzSx yFyVfK13JhlY8A3MJXwtYrBsZFCbPGVeR+Q3/7P54cEKyNdA7xrFDBuqOfR4KkQaBQsy 1w9Xx1yQdUuyoUJdIO7PBWcj5xqijvwZiDuikF8j55sArUevK/uniKgNbClxDRuZfxBL fnMhWnceRd11MHOkTrlyqexqmD49pSVRmxcD+zX2ODXNWusQC+g4MvvoIJbFnEeqSKLN O/AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737539723; x=1738144523; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Aj4nRpIwchXIrjexvYOL05y/b5PvSBzLyScjI+iXpvc=; b=bXw5nGbRjiF+k7ypSy5RVm7cgsBqjTKyjQ590Z3c1mm8bJ8RMMJexWnuzHEgKY0LBL 1JdfWISZPVVe9TzRj3j95i7EWLlS+ramXWrS5K9spWekskcRbBspQNRu4p/TTBOebnSU yX0SRvMxaOcSZtM3NdrOPBrAmU/qSU6OrjZn/I6snw+5qBAxVC06B51JdIl55pnWsHWb Ldp+1n979hBhOUWHh+U3IY4nL/1pq09shRDfdmx+7erpcF0qucaygRlEZEN0dP1IvTcp ctT5qulXOg0SnEU1U4p4Bbo38ClQypSYUoCArsMCE4+NJLgNSsnZasHHmTSlpPc+nFOK XL1A== X-Gm-Message-State: AOJu0YxXicWdWenWMJVIUSi9hV9C8FUWGyhUhnWJTURiu4Jn6QLO41IR nUqqNwbdSshtOOCRxxFcGJmejot32uJcHzLfA6CWaj08cQRNiDiQ4X9Bs+NqD3Q= X-Gm-Gg: ASbGncsJnEktLPDLcnfAc24CnV2+FfjoYw6A1jDi2KAsU5uxnlVjdLRjQdogFrqCOiP 1DtIjRp3utPF4Bi8XGQ3x7XLWfk701RGxtNv/RxEuTDICupXZgzb4oh1oiqsgo1UKHdmfLRwLOk aNeMPoeiCOOJDzu4JJQHptTWJRTBl/C/Z/aP8L/xbPE5agp8KuZk4sfLE/Y3QBObEaQeVAu+EK/ 0uZHSd3YQjA6TFBnJSzLOWhrJShlauSdIHp+arrkEc1HF9BNRiS0VmYZUUv9roWkHM= X-Google-Smtp-Source: AGHT+IGOsMe0dJV9o7lF57/4pcu4vQWVPlAoCIketp1VfdTXI6zME1oniG3rGWHLTkoIM4AiRRbSrQ== X-Received: by 2002:a05:6000:4011:b0:38a:4184:152a with SMTP id ffacd0b85a97d-38bf5669eb5mr21886502f8f.28.1737539723122; Wed, 22 Jan 2025 01:55:23 -0800 (PST) Received: from localhost ([2001:4090:a245:80cb:f705:a3ac:14fe:4e1b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438b31c7cc6sm17631285e9.36.2025.01.22.01.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 01:55:22 -0800 (PST) From: Markus Schneider-Pargmann Date: Wed, 22 Jan 2025 10:54:49 +0100 Subject: [PATCH 1/3] arm64: dts: ti: k3-am62a-wakeup: Add r5fss MIME-Version: 1.0 Message-Id: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-1-f74835b91da9@baylibre.com> References: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-0-f74835b91da9@baylibre.com> In-Reply-To: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-0-f74835b91da9@baylibre.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1468; i=msp@baylibre.com; h=from:subject:message-id; bh=4lbgavZsydQCQC3ftLFQIVuXaot+GlmQOz/MdBfvMME=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNInHKhyWbZwlZ+QrczRj/8jz/mbLp/Yt4uv4093/JQyk e8/9ItyO0pZGMQ4GGTFFFnuflj4rk7u+oKIdY8cYeawMoEMYeDiFICJHJzEyHA49Zd91qu5nj8O 8HAsf/zGy+tDwaaX0t0biwVS9yWYJ01h+J8aFuQWYyd16MgJ/fCttqFHm6dxuwcH+J5t7tLqPbG zjh0A X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250122_015524_963529_4BF135A8 X-CRM114-Status: GOOD ( 10.25 ) 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 Add r5fss and core0 nodes to the devicetree. This is the same as present on am62p. Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi index 0b1dd5390cd3f42b0ec56bab042388722b4c22a1..3555d8d8ad3c1999e772376758047f6f3500fb7a 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi @@ -88,4 +88,29 @@ wkup_vtm0: temperature-sensor@b00000 { power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>; #thermal-sensor-cells = <1>; }; + + wkup_r5fss0: r5fss@78000000 { + compatible = "ti,am62-r5fss"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x78000000 0x00 0x78000000 0x8000>, + <0x78100000 0x00 0x78100000 0x8000>; + power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + + wkup_r5fss0_core0: r5f@78000000 { + compatible = "ti,am62-r5f"; + reg = <0x78000000 0x00008000>, + <0x78100000 0x00008000>; + reg-names = "atcm", "btcm"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <121>; + ti,sci-proc-ids = <0x01 0xff>; + resets = <&k3_reset 121 1>; + firmware-name = "am62-wkup-r5f0_0-fw"; + ti,atcm-enable = <1>; + ti,btcm-enable = <1>; + ti,loczrama = <1>; + }; + }; }; From patchwork Wed Jan 22 09:54:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13947078 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 801A1C02181 for ; Wed, 22 Jan 2025 09:59:33 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pOVg2aiPcPsDk/zFMRyqsZSvGPQno8/ayvFwGAKvNig=; b=r20M3o6YObL0PDZjsTdYRUFWDk NYIbcD83JZJRSEtdZH7Hyre1sbQf5d1qSOg3wNhuZY7VeJy16lsV1qvBQpzPQCkbe/3Jl8v2o7baz j+s2z5MZlvQpJ3j6bsZ066G986ybJGNjMySeHGXfUKVAouf+P7HXAL454u3EjibZ8sJ76JO1QWNxW 5GQ2jXuaDqPRyYkj2IiWC/AmU90ZMhDX75KMiD49qrdbx+O6Mui5p9UBmKwE2/YBmX+xUY8W7t7+g eCuTP43C16oCRjFvVk3FDPaK0ZayJQbPHuY4SVh83QZPaUX0HfkFypMb8TFn/XJ4KMqHa/ugcGIHp lFHmosQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1taXW4-00000009rqM-2rml; Wed, 22 Jan 2025 09:59:20 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1taXSH-00000009r87-45tF for linux-arm-kernel@lists.infradead.org; Wed, 22 Jan 2025 09:55:27 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-436249df846so45628445e9.3 for ; Wed, 22 Jan 2025 01:55:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1737539724; x=1738144524; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=pOVg2aiPcPsDk/zFMRyqsZSvGPQno8/ayvFwGAKvNig=; b=b2acQrhz9toZBK7WCmGgq/lMn1Dc02FA08gF19cX6f77Qm5HWbkOXbFsVOsXypPuaF Irnpy2oscw5dZ1WkT8pMU24e2vqSA0rHvhEHtj3dw5Fw7CvSwBSZto31MZhAr6b8qyqc OeakH+P6IYnMVw3tqbIUWfClgx2ucn0OhCM3tcqbbrAwVvIm2c98j1nLLLvyMOdI1+EK mGal08m3ktEzbZEX+JKj9JNEZZLt+uvf/rDuxLGi7iowfvfTaJFMXgMRid/wwt/DmFIR HNIS3bhATkqMilJJGLc1xZKl4xZj43iLta6swOMmMlnGkxzuGQhCTBqQEcdpeG44k3ra JOSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737539724; x=1738144524; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pOVg2aiPcPsDk/zFMRyqsZSvGPQno8/ayvFwGAKvNig=; b=FbISP3stkapYi9On04PPjB+Enl5JN4nePc8OhEMOv55MlsR6l2xWg6dVGcbttkPMM9 pC/ntZ6ZdKq/ubFOnlRr3eWPjL/ANYD56gLE/CJo8DF7N1J0gmUPf8DHj6Zsi6POO1vX sZreJ/49zo7Dw0LHTONZHXX/cI7k1fZEj5fCRRhXpqAKcxiVPPd2n067fMjuJMdbj6By UxXxZpCvapAtgbaOjI0tPZs37LYfxF5TnmVV5FcaG6Qq9Mi/9dHdjKW29ip5NFhx/H87 SQzgBCP984QTUVZ06mRHkGEaXGa/CTjv8d7ptC1tS0IxGE/LouFcIODkSTY65dQ1V9Fs xLIg== X-Gm-Message-State: AOJu0Yw6TATOGehtOySortZ3maCRAyJ1N2MIBkfcYGH99/2vJT/cCxuF kHi+QSoDJpmm9OrM0jLHwV3C0vI3rwzR2x/6sIvtaHEtC/3ooxztmS278kSt154= X-Gm-Gg: ASbGncuW4oqdCdYyHx83WBVmW+8v4pnKSg62WNFIXUqMKvPTPu9d8drrrKs+mzFctSZ gr1UvpSWzGkKRjiEm60bUnscw7kxZKZ8i0lPjWJ7XA4xEk8gpmF0EpcQGPFP/eu8x5Qgt+U5QGT Xga690c93NEbO3CpvRbYjbAx6l3DhVLzMi/UXZ+qHzQ9Y9y5Qqy9WNUfQJhKeaH6hKSUvptrtj1 u+b9BJ+wEIX0abb3eo46nIH7oHKNHrfvJzSENNBLewrX5w8xg9FP5ZW20XdS/y3hb8= X-Google-Smtp-Source: AGHT+IFnvm/CFRqfIFTIUXUXtoh2Q7PT5HxV0OvAXIKP72tokUlzPkbhq8KLMUJ3KzVCF9+2yyxIkA== X-Received: by 2002:a05:600c:1389:b0:431:52f5:f48d with SMTP id 5b1f17b1804b1-43891460bbemr214978685e9.31.1737539724275; Wed, 22 Jan 2025 01:55:24 -0800 (PST) Received: from localhost ([2001:4090:a245:80cb:f705:a3ac:14fe:4e1b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438b31adbccsm18394995e9.19.2025.01.22.01.55.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 01:55:23 -0800 (PST) From: Markus Schneider-Pargmann Date: Wed, 22 Jan 2025 10:54:50 +0100 Subject: [PATCH 2/3] arm64: dts: ti: k3-am62a7-sk: Add r5fss memory region MIME-Version: 1.0 Message-Id: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-2-f74835b91da9@baylibre.com> References: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-0-f74835b91da9@baylibre.com> In-Reply-To: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-0-f74835b91da9@baylibre.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1193; i=msp@baylibre.com; h=from:subject:message-id; bh=4C154e84jVK9Fewi+rzQJ/XiJhKCIZP2v15K8Dx59sY=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNInHKj/Pmv+2n+P4ruO5kqXSWywLvny68Cbq5rnxNZP3 TdB/x/7wY5SFgYxDgZZMUWWux8WvquTu74gYt0jR5g5rEwgQxi4OAVgIqKqDP8rNCLusryfaaxe /TRkjb7ds1XLrrRl5PSkXfWyqDmY/Fmf4Z+qzpvvJ5P/XV74z4hfayLLgqdctiwKi1ZYr41oqr/ UdZATAA== X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250122_015526_017382_161D1779 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. 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 Add the dma memory region for r5fss and list it in the wkup_r5fss0_core0 as memory-region together with the other already present memory region. Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index a6f0d87a50d8a7ebdb61e609e8071d6681dbec9a..627b045e3056661c11e1e72bc955c6368094c973 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -61,6 +61,12 @@ secure_ddr: optee@9e800000 { no-map; }; + wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9c800000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9c800000 0x00 0x100000>; + no-map; + }; + wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 { compatible = "shared-dma-pool"; reg = <0x00 0x9c900000 0x00 0x01e00000>; @@ -737,3 +743,8 @@ dpi1_out: endpoint { }; }; }; + +&wkup_r5fss0_core0 { + memory-region = <&wkup_r5fss0_core0_dma_memory_region>, + <&wkup_r5fss0_core0_memory_region>; +}; From patchwork Wed Jan 22 09:54:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13947079 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 CA42EC02181 for ; Wed, 22 Jan 2025 10:00:53 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bkXU/mbXgXy1UAlTcrbRMbMvk4S34h1r27crXRO7sVE=; b=LxOfprswNE7Yh5tD/j3TFGYGvL pwPiQBZjevRR3U8NH5V6qwOExCnck//iydONknyKlMrnJpFjAgjAh9ZOhVfxgKEaHmNB5A9AOZMj+ p+OEz5iehoqX191pesTRVQU1tiRp36Ac1HtwXQ7Gyo73rYKCiCI1db72zTZN93v7iwFZvdZPs+7+U Rg/dsljYxTBPM3BqPZjXbhOd7VyM9l0RFd5Vaumk2AmFfFStUhvlBuf8P0S+5RWigz9B4MsaRZLaq No3ROAXAAt6hOJYekbnK7j+wEiM5zp9AmvDzYrse5y9JpD8hL1jU2hU8df0Za8XfwSK1BFQPOmwlN qI2/67KA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1taXXK-00000009s1o-1cwC; Wed, 22 Jan 2025 10:00:38 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1taXSJ-00000009r8m-0hId for linux-arm-kernel@lists.infradead.org; Wed, 22 Jan 2025 09:55:28 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-385d7f19f20so3248378f8f.1 for ; Wed, 22 Jan 2025 01:55:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1737539725; x=1738144525; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bkXU/mbXgXy1UAlTcrbRMbMvk4S34h1r27crXRO7sVE=; b=pBiw01NgWEzOcCyapanSGHxq28U9tyQLfrofOX6/vizjcEKuKhKpnyTT6UDYnPbLgT 1hFkMR3TH7oYAOGcpUM38KN4gmjnege/1/c39aUMlFXXYEoKIRyjTtl79OMlB5DmiOEx D4cJjP82U2S8HrZCReUJPoqtplKMydynxd1P6V7GuQp5NqMNCUSm54oAV6y3iU0fHVZz spsLQkdoZ6NLRKUN9OK4OoqQ9Cu2JLlRpdxiESDpYvpoe/eHI4ci7YfI7Q8d0v5uJmxH JI2TNwOHtxxTo8UR5QkYClYYV+R1//mH/5IVCAdnIcYpn8rU8O5NNl/nfTaFkgXOvpsb yyIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737539725; x=1738144525; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bkXU/mbXgXy1UAlTcrbRMbMvk4S34h1r27crXRO7sVE=; b=K2KLsiC/4jleEUsScG0I9OExSaC68hllo6dqxE+UnYYwBcFznDQHb3tPeRG4DC5bIa TYK2/ciZCvie8nL/lEDnGMA78Cyep0dy6yguogSlNXu3c2N8ZGhkZPjb+VxsAk9glEcW 1H4C9nd8iPCaT4VrI6VrhlHifHO6Hal+OvggKfPzoR0O2D2Sc+uScUJJAl2szy7dt2ml za4Tow399sbAlxrop4U9HmjlfxEzmGBuGT9AtYHe8BO/W9tlwLjLxnfEc2PWbNFrJZ2r TBtX+xt5znaTYWCPqq2082ovgI7/y0Ban9a1fG0GnwcihJgpLRdxc9gCUnRYhaAnHNP6 WKaw== X-Gm-Message-State: AOJu0YwWOqFWs/LvSdfUfoJCNHOf5sAa6MdcuS1KPUavJ3D70JSkce/i DDPlGSnuT7Sbj7TQVSo7XezdxneTRnOoAW2co5AieLxhF3tuRnskyNaKEbsS+hc= X-Gm-Gg: ASbGncvycrAn/ojEG5v+aDmgarbfscpGQC9QIbOpQYLHgkhm3NXvYMWVPhGvB77SH4r 2wkqNcRCZX9+D3JaW/By+F7wmE6GlbCKAB0eGXT8KyxP30QfQm9Xfp4OgfjlkxA/Beldco1zFsN +kebhDQCO6pnd/gSJ4KO7gEKWZpd0FtbXrFYuH8cAQz83BISVZ0cOfmXYhFRqvzHqXxJdhz7aia amKhbt9VVV+jfkAb59+cLF4mdFixDs7HfcPu4CUKUAyq7IQgbD4NVSHui/yeC5ROdM= X-Google-Smtp-Source: AGHT+IHi8wKxfGNlGgCMFVgEtLd+Q2y6RmCAks4ExEZmtnW1E5RNCntEk7piIjBdAlsaTXqPWamYWA== X-Received: by 2002:adf:a113:0:b0:38a:8d4c:aad3 with SMTP id ffacd0b85a97d-38bf5664d6bmr14540191f8f.18.1737539725527; Wed, 22 Jan 2025 01:55:25 -0800 (PST) Received: from localhost ([2001:4090:a245:80cb:f705:a3ac:14fe:4e1b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438b1cc8151sm16554205e9.1.2025.01.22.01.55.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2025 01:55:25 -0800 (PST) From: Markus Schneider-Pargmann Date: Wed, 22 Jan 2025 10:54:51 +0100 Subject: [PATCH 3/3] arm64: dts: ti: k3-am62p5-sk: Add r5fss memory region MIME-Version: 1.0 Message-Id: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-3-f74835b91da9@baylibre.com> References: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-0-f74835b91da9@baylibre.com> In-Reply-To: <20250122-topic-dt-updates-am62-wkup-v6-13-v1-0-f74835b91da9@baylibre.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1215; i=msp@baylibre.com; h=from:subject:message-id; bh=foP128Q0vaml+DKn9OpvbU52LDZNwWhrXWTRZEdqdvY=; b=kA0DAAgWJIy04tQVrj8ByyZiAGeQwIOg92yavyDfmN5jBj9NeidWAh9N6a221QeWlhy66MbzW 4h1BAAWCAAdFiEE3fCh7n4e16BYruJBJIy04tQVrj8FAmeQwIMACgkQJIy04tQVrj9VYQEA8SoU V8IaIsZt1Mmz6nO9GOWRwd8gFaSembrqKQYowmgA/2jOBz8u7ih/J2T1iVQqe7465hlN8aZTD56 KZnia46MK X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250122_015527_209101_A314EF9B X-CRM114-Status: GOOD ( 10.18 ) 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 Add the dma memory region for r5fss and list it in the wkup_r5fss0_core0 as memory-region together with the other already present memory region. Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts index 7f3dc39e12bc9ca4a746ff092f946b84a36404b3..cc695c9d662e6f2c41b73ddf4afe0e95888676e4 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts @@ -58,6 +58,12 @@ secure_ddr: optee@9e800000 { no-map; }; + wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9c800000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9c800000 0x00 0x100000>; + no-map; + }; + wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 { compatible = "shared-dma-pool"; reg = <0x00 0x9c900000 0x00 0x01e00000>; @@ -677,3 +683,8 @@ &mcu_gpio0 { &mcu_gpio_intr { status = "reserved"; }; + +&wkup_r5fss0_core0 { + memory-region = <&wkup_r5fss0_core0_dma_memory_region>, + <&wkup_r5fss0_core0_memory_region>; +};