From nobody Sat Jul 25 03:47:43 2026 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (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 C08003B1EEF for ; Sun, 19 Jul 2026 18:06:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784484422; cv=none; b=ON7HD7/mbI4LowW0ZVN6C2PO1Igd4nWZffioZbsvn2YkCQrdr/jSg4GyYHblw9VcTixhNB2BCa6mhlpMvcteS9HNvMo8a5fe4LBDyTW16rTINoKqR33N12lQvx5Ui9JayELzwduWY/SSr47wxkhUptVIZ0HMJEy91R3y3Nr9DiY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784484422; c=relaxed/simple; bh=nYPW8u6uyTHQUIxZwar3cGnwsnDzXk+4jRi9BdZG3ss=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=L6q6Tf+MaRXbILWDfCHXGhtKyPVqAlIosz9FUGer2ViWOmy8eYh3HoDfSbAD/Px/YmJ9lS3bUY2OTpsOKy+QoGkH3Cod9fRjKy0VyUKjeXW75RJXg+Y6EZlnwo/Xsg4UPOZlPNTVMHj7XEm0lHrh77qxYI/JpZBtR1RIpR93/lg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hDY1bKg9; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hDY1bKg9" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2ceeee8c46bso15780115ad.2 for ; Sun, 19 Jul 2026 11:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784484419; x=1785089219; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:content-type :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=VXKjPNLcmAi6L9Skt9OWsTPDWKtQt0gc05f/bWe+W8E=; b=hDY1bKg9zanKV+wENfMwwjOOu77EUyNCzoMTyzilMPisMWzbRdMmxsL2XNyUvqeQn1 UEOuQlIRFD95Fvu9rpkQcQWiPIgGk3BzUbIuVhE7vMFdlkVfJ6Rnw7Kb+pL8v1O/mGXR ykvkF3ufSLLexzPcXliw07S8WvEMPwmSVTn+J7kqC5D64We+ECOogFpr+iOqpdaruE6I xIh+KOgI4naDgdgMwHF+umEqrsiMEydrRPICA0UA+6p9ayK+vB0o2a5G0BK9nomu6Jmr eUe2BvBTQ/+hIUVyFcVhCPKSApjQYsqlVbN81dxQvA9T1FPJ03I1wAXbQ6Tahf7nVJRl Yd4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784484419; x=1785089219; h=cc:to:message-id:content-transfer-encoding:content-type :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=VXKjPNLcmAi6L9Skt9OWsTPDWKtQt0gc05f/bWe+W8E=; b=Hak1LZjboAxeSR2O66cD482oLzXEpCmJAeUHGa/VFnv71tYZVlrxXyeO/MqW2fsGYI C5QhkA9WhJ+dVzklhZ93WBWgVH62+8fJS423+hhFa0SqZQfaiH9CV+UmFO/9oDIT3g00 736gmkdrWWGyVd7bLJaR9XDZANp6qZBAljVPjUmtiMiLvuML64WiuaAyHaXSChzh/wWF uvKdBgjalpKfvOn2blRmreFyPD0OEKiv6G80BRYq8n7b/XsSKsb05mU8i+MiT37c9xDh i3zxt6paORDqVg1dFMSmPz7jDvsqyII7snRC8Sw7yjnyCjn9OVZ0h76KRQTVPRn5qPfC nfOQ== X-Forwarded-Encrypted: i=1; AHgh+RoWv/x/9nFkHEtk3oKyENoLDLw8HoC8/lX30CZB+zk1YZ3YT60/uxDAPfMJqWxY2OXAd/pMP1it5J7+daE=@vger.kernel.org X-Gm-Message-State: AOJu0Yw5VdP4dQl7Aefy8h/26z+1hyAtS+vRzt/0OfXOJA4m2E0vwO8B tQdkE1vFeNSswsORBL9u66CEzn7cf6aR53Xzi+Kk+vOm0htbxlahF8eD X-Gm-Gg: AfdE7ckdSRcXhSYu1+dSTvtOFuSSLWdo5Fn/ZUaOQNgLU+4yRT2vOgbG1So3iP+JJuZ 0cfvrSr2DLMai+FTKby626UaxshfAFXS+Lnx3sIOP6zyrxKTamrg05TV+/V+G5Ev3izb4Ljm2q3 0wR2KbBv8dIOj1KfyLH4gQxgetaeVfLiVETD5fo5pa1VOkm0ka2Y5CZYD1mHO5JiK9f44kkJzTW 4j/6X1bNR/z5lZcT9WLZUq6/naxL40ul1hGfJoTcw6R53QbLVAxkoC6I1hv47gDtedsQ8QD38ak H+kwFgYnc/9LHLaobpcwgB6tDJSQs2n6cEl2pQNBFhHuFCTuV9N3586YEoW3leKE3RX8D3bqEb4 wbsf/PNkyGcE+ZYEmn+qb8hmnG4H+07M8+62FZ8HFrXNVZ8d7XxRWxGZUyXlGUAXLawedTFyRIa h5JWj/EThcoQ+plrY= X-Received: by 2002:a17:90b:5683:b0:381:fa5:5217 with SMTP id 98e67ed59e1d1-38e4b5d7cbemr8569087a91.7.1784484418607; Sun, 19 Jul 2026 11:06:58 -0700 (PDT) Received: from [172.28.140.252] ([2409:40c2:5429:66ef:148c:83c3:bdaf:6e79]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3142a20b037sm30175126eec.27.2026.07.19.11.06.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2026 11:06:57 -0700 (PDT) From: Bhargav Joshi Date: Sun, 19 Jul 2026 23:36:41 +0530 Subject: [PATCH] dt-bindings: remoteproc: ti,wkup-m3: Convert to DT schema 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: <20260719-ti-wkup_m3-v1-1-848a95b401a5@gmail.com> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXMWw5AMBBA0a3IfGvSkii2IiLVDoZ4pPVKxN4Vn +fj3gscWkIHeXCBxZ0czZOHCAPQnZpaZGS8IeJRwqXI2ErsGLalGmOGRmkpUsON1OCDxWJD5zc ryt9uq3vU63uA+34AR2VqN24AAAA= X-Change-ID: 20260719-ti-wkup_m3-edac718d0d7c To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Suman Anna Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, goledhruva@gmail.com, m-chawdhry@ti.com, daniel.baluta@gmail.com, simona.toaca@nxp.com, j.bhargav.u@gmail.com X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784484407; l=5646; i=j.bhargav.u@gmail.com; h=from:subject:message-id; bh=nYPW8u6uyTHQUIxZwar3cGnwsnDzXk+4jRi9BdZG3ss=; b=QuOz4RhOhj777+xMDHSHDwYenPrrK9x2l/wVHW95ATDA2YgHvue3+fbTIXMEpO2DYGSW8LnvL lnFN60DauCZCq7yePcbfZUIzdemWm2rfEPQtwrMnYqptcRRwx7/t2TK X-Developer-Key: i=j.bhargav.u@gmail.com; a=ed25519; pk=IqNDwUZKECEA+n8wXctFLBbYL9NhFstZNbOznm/nX1k= Convert Texas Instruments Wakeup M3 Remote Processor from text to Dt schema. Add optional resets and reset-names property which was missing from legacy binding. make ti,hwmods deprecated as it no longer needed, it is kept to support older board files without ti,sysc. Signed-off-by: Bhargav Joshi Reviewed-by: Rob Herring (Arm) --- .../bindings/remoteproc/ti,am3352-wkup-m3.yaml | 89 ++++++++++++++++++= ++++ .../bindings/remoteproc/wkup_m3_rproc.txt | 52 ------------- 2 files changed, 89 insertions(+), 52 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/ti,am3352-wkup-m3= .yaml b/Documentation/devicetree/bindings/remoteproc/ti,am3352-wkup-m3.yaml new file mode 100644 index 000000000000..9e8a03acdec4 --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/ti,am3352-wkup-m3.yaml @@ -0,0 +1,89 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/ti,am3352-wkup-m3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM33xx/AM43xx Wakeup M3 Remote Processor + +maintainers: + - Suman Anna + - Bhargav Joshi + +description: + The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-proc= essor + (commonly referred to as Wakeup M3 or CM3) to help with various low power + tasks that cannot be controlled from the MPU. This CM3 processor require= s a + firmware binary to accomplish this. A wkup_m3 device node is used to + represent the Wakeup M3 processor instance within the SoC. It is added a= s a + child node of the parent interconnect bus (l4_wkup) through which it is + accessible to the MPU. + +properties: + compatible: + enum: + - ti,am3352-wkup-m3 + - ti,am4372-wkup-m3 + + reg: + items: + - description: Address range for UMEM + - description: Address range for DMEM + + reg-names: + items: + - const: umem + - const: dmem + + ti,pm-firmware: + $ref: /schemas/types.yaml#/definitions/string + description: + Name of firmware file to be used for loading and booting the wkup_m3 + remote processor. + + resets: + maxItems: 1 + + reset-names: + items: + - const: rstctrl + + ti,hwmods: + $ref: /schemas/types.yaml#/definitions/string + deprecated: true + description: + Name of the hwmod associated with the wkupm3 device. + +required: + - compatible + - reg + - reg-names + - ti,pm-firmware + +dependencies: + resets: [reset-names] + reset-names: [resets] + +additionalProperties: false + +examples: + - | + target-module@0 { + compatible =3D "ti,sysc-omap4", "ti,sysc"; + reg =3D <0x0 0x4>; + reg-names =3D "rev"; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0x00000000 0x00000000 0x4000>, + <0x00080000 0x00080000 0x2000>; + + cpu@0 { + compatible =3D "ti,am3352-wkup-m3"; + reg =3D <0x00000000 0x4000>, + <0x00080000 0x2000>; + reg-names =3D "umem", "dmem"; + resets =3D <&prm_wkup 3>; + reset-names =3D "rstctrl"; + ti,pm-firmware =3D "am335x-pm-firmware.elf"; + }; + }; diff --git a/Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt= b/Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt deleted file mode 100644 index 3a70073797eb..000000000000 --- a/Documentation/devicetree/bindings/remoteproc/wkup_m3_rproc.txt +++ /dev/null @@ -1,52 +0,0 @@ -TI Wakeup M3 Remoteproc Driver -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D - -The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-proces= sor -(commonly referred to as Wakeup M3 or CM3) to help with various low power = tasks -that cannot be controlled from the MPU. This CM3 processor requires a firm= ware -binary to accomplish this. The wkup_m3 remoteproc driver handles the loadi= ng of -the firmware and booting of the CM3. - -Wkup M3 Device Node: -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -A wkup_m3 device node is used to represent the Wakeup M3 processor instance -within the SoC. It is added as a child node of the parent interconnect bus -(l4_wkup) through which it is accessible to the MPU. - -Required properties: --------------------- -- compatible: Should be one of, - "ti,am3352-wkup-m3" for AM33xx SoCs - "ti,am4372-wkup-m3" for AM43xx SoCs -- reg: Should contain the address ranges for the two internal - memory regions, UMEM and DMEM. The parent node should - provide an appropriate ranges property for properly - translating these into bus addresses. -- reg-names: Contains the corresponding names for the two memory - regions. These should be named "umem" & "dmem". -- ti,hwmods: Name of the hwmod associated with the wkupm3 device. -- ti,pm-firmware: Name of firmware file to be used for loading and - booting the wkup_m3 remote processor. - -Example: --------- -/* AM33xx */ -ocp { - l4_wkup: l4_wkup@44c00000 { - compatible =3D "am335-l4-wkup", "simple-bus"; - ranges =3D <0 0x44c00000 0x400000>; - #address-cells =3D <1>; - #size-cells =3D <1>; - - wkup_m3: wkup_m3@100000 { - compatible =3D "ti,am3352-wkup-m3"; - reg =3D <0x100000 0x4000>, - <0x180000 0x2000>; - reg-names =3D "umem", "dmem"; - ti,hwmods =3D "wkup_m3"; - ti,pm-firmware =3D "am335x-pm-firmware.elf"; - }; - }; - - ... -}; --- base-commit: c6859eed755df351a3978b33cb92365f9b3e8f06 change-id: 20260719-ti-wkup_m3-edac718d0d7c Best regards, --=20 Bhargav