From nobody Thu Apr 9 19:21:02 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A6713EF0CF for ; Tue, 3 Mar 2026 15:13:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772550835; cv=none; b=qsnIr066EntVrb4iboCu6pTFZjpDrtWXhEFLvLd8s0ravFsyGyKdAjcx3gDhbteQxQxchy0sQumO7pCX1lyaq1hk8a8cDEe9DdOy7yh0Bcsl1IoJNyDhubXxsue2zffIXRpCjzsUODZsIKtEJUY1e5JX19SO24S3Vnx9VCaW5jM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772550835; c=relaxed/simple; bh=u51znr7imJISDF2aAPlKKydu7adw48rtitqrto52OU0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=daZS/H/r68B3G22HBA+Enlaebpy9LhuqRayXVSPVIZEfdWU+1gh21OmI+jTGLIsehcZO0ds5VJZJDXgYXn7rcZOXx+D7avOBnras7x5dvVH7jm9s0p36xewSsxKQscz+/FqcY6na05MIpTlqZcZzKq9KMISXb2ASoEOD7tEQUbs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=g7reTRUX; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="g7reTRUX" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-483a2338616so36185465e9.0 for ; Tue, 03 Mar 2026 07:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1772550832; x=1773155632; darn=vger.kernel.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=b/1uzkb2dN7kd3Qkoeot6UDS00kHNcaUEjRCBygzqAo=; b=g7reTRUXrVtGMEYIzIvuONNXEXEVuLlkgjZwxTj9HBoYzvJSp/7XPT8BrZYEbMXao6 VdIBVDsTgSVvAuW00lD2LYsSYbZXHvHRG5OM+50tK4WGKt3/I9HUA9Nn04nc4ZiDgO+6 mwkKyTXDeBHeMrTAOQtmQI40xvPU8oR2mEonk1FoLb0Wl3fNCjvs+CmDawaHheCJ6e+G 2+GEdnuUAY7D0Wl6he8SLX24QPtUnfmv/IxHPjnwNhJzAphKpcitqkwuoni5lXgXHSvn DO8tJ4D9vz7RMPvJ6JyPnK4MbgylQP8jQGUJqhnPjH8noUWb4H6vHhRRtNeZg04sRlT9 AAdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772550832; x=1773155632; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=b/1uzkb2dN7kd3Qkoeot6UDS00kHNcaUEjRCBygzqAo=; b=hzvDwx2wjsMfhyV/lJfwgCPQVLhuPNElV6yYXSaS7OJY0LzMTQmltcHd1HArXLO1fU AggWH7ntFV+Rxur89EmS/wu0F5PfiGOtLrVohy0qly0Q6C/fy//Dz13IA9nR7K2Rm10r fI10bQjwUoZtn41qkd6T/sH7WvSNB9eZM+7PEPRo2+7X5rmBhyf/E2mTdL12OujUD1hp gV/S4w53tfxrqq0VD2xSAT6jNIPU7mJ8nEadVZDL7/5siQSqZ1ZD/1u3XSS61k/ekTfx JtR0aRlG8Ev7PxxwFnfZT1X9CZGjh336FTihRxgN9VqL49b2MrocE35DICkLKl6C85Z6 6o/Q== X-Forwarded-Encrypted: i=1; AJvYcCU8iQB3WZ0PACW4I5UuUXwxbxsiVH5LXyjNPx2VH9Dzx949AjpG5TrF33XkEr5DBzMvnyzagrc+N9N+zfI=@vger.kernel.org X-Gm-Message-State: AOJu0YyTHYoA6aGYzL74ItwXymRz3kazw0DIFZxyKYwTM+UCvvkHzXL+ jJ/0W0NbbNq7Ap2P3JlYr37Vw7ILy3n2cbIfV5KydeIgRpzpt7CNBt5vVODwCtkUrsc= X-Gm-Gg: ATEYQzx9B1UBkdQvslC+vNVnWZdiiorH84eXhdzT7GjAJjlqpiZzne751WS6dJxyDRm IBKmtyalsWBGsMKf2D0dRtYMmGIYDNa3R7x9zHvM4faOHqGV9H6FOzMMGHNudcwWd2gCAxhevnD pnv3fQFz1P2MQXpSPj6V60ZxJqmygUjzag5xGHHW9D50f/2UNBROdI4ZEM3dsP/V0wyN2RsSBpp 17Mw4Wu/+QKvcRoVJX5FL/pzaXZw0z1pOAkkwcijIxsV9VdJlPXIDOIbHJLB5CNDeQGaZLkd00+ 8gahkDvGF/Dj6dsvXpgOzFuWLgQRvhfJFuZp7+NZ8HORTMQq8rp1NfHIPgzhZw2JwLiDGGko0hI 1kX/YSFdeDX2PKxuFoyT8D9WFvB1Mzwa5qdqdO5Z7kTAoV6gg/3IsC/rbZU1ERv8ePccjcjYt5I 3XNz8M0IAOjcRsr27yfemh X-Received: by 2002:a05:600c:c04b:10b0:483:79a6:e7e1 with SMTP id 5b1f17b1804b1-483c9ba7e28mr208421115e9.7.1772550831695; Tue, 03 Mar 2026 07:13:51 -0800 (PST) Received: from localhost ([2001:4090:a244:8139:5278:cf5a:3494:5e80]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48516f74a1dsm10512105e9.2.2026.03.03.07.13.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2026 07:13:51 -0800 (PST) From: "Markus Schneider-Pargmann (TI)" Date: Tue, 03 Mar 2026 16:12:59 +0100 Subject: [PATCH 1/6] dt-bindings: remoteproc: k3-r5f: Split up memory regions Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260303-topic-am62a-ioddr-dt-v6-19-v1-1-12fe72bb40d2@baylibre.com> References: <20260303-topic-am62a-ioddr-dt-v6-19-v1-0-12fe72bb40d2@baylibre.com> In-Reply-To: <20260303-topic-am62a-ioddr-dt-v6-19-v1-0-12fe72bb40d2@baylibre.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Suman Anna , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: Vishal Mahaveer , Kevin Hilman , Dhruva Gole , Sebin Francis , Kendall Willis , Akashdeep Kaur , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Markus Schneider-Pargmann (TI)" X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2494; i=msp@baylibre.com; h=from:subject:message-id; bh=u51znr7imJISDF2aAPlKKydu7adw48rtitqrto52OU0=; b=owGbwMvMwCXWejAsc4KoVzDjabUkhsxlv/qNZCSmsZ19u8ro08pvk1aoWlxdk/vxRE+Hztc3H 7llXn9k6yhlYRDjYpAVU2TpTAxN+y+/81jyomWbYeawMoEMYeDiFICJyFsy/HcxFJpW0HDvkyZH RE9cdNd1vZNZ9/c2/AiqFHzvdPud0hGG/4nvDyr+UfRbLNv0pW2/VLO77vxZe5yiJqyYfiXD16a 7hwsA X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 Split up the region reserved for the firmware image in more specific sections to expose the full fixed layout. Especially the LPM metadata section is important for bootloaders as it contains information about how to exit IO+DDR. This is read by the bootloader but is written by the firmware. Signed-off-by: Markus Schneider-Pargmann (TI) --- .../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 18 ++++++++++++++= +++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.y= aml b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml index a927551356e69d3961b3c5c6b72d027fabe83d3c..6aadc61e20f9f4c27f5b9c87ab2= 025a02776c5de 100644 --- a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml +++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml @@ -158,12 +158,28 @@ patternProperties: defined. The reserved memory nodes should be carveout nodes, and should be defined with a "no-map" property as per the bindings in Documentation/devicetree/bindings/reserved-memory/reserved-memor= y.txt + + For IO+DDR low power mode support on AM62x SoCs, additional memo= ry + regions may be defined to partition the DDR_LPM_DATA section: + [0] DMA allocations (required) + [1] IPC resources or firmware image sections + [2] LPM FS stub section + [3] LPM metadata section containing dmEntryPoint and fsCtxtAddr + [4] LPM FS context and reserved sections + [5] DM trace and firmware sections + + The LPM metadata region at index 3 allows the bootloader to dire= ctly + read the LPM metadata address without hardcoded offsets. minItems: 2 maxItems: 8 items: - description: region used for dynamic DMA allocations like vrin= gs and vring buffers - - description: region reserved for firmware image sections + - description: region reserved for firmware image sections or IP= C resources + - description: LPM FS stub binary and X.509 certificate + - description: LPM metadata (dmEntryPoint, fsCtxtAddr) + - description: LPM FS context data and reserved sections + - description: DM RM/PM trace and firmware code/data additionalItems: true =20 # Optional properties: --=20 2.51.0