From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 5E2B642669E for ; Tue, 11 Aug 2026 09:18:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786439936; cv=none; b=Yp3rNTL6v8kxmCLSNvYFOl4jICEHNypowfQ7OOnptEF1Pl9sy1zTRf1LHW4P6k3V9y2q+v6igFFTo2MEXfVbq22BOzZC0dLNbhxn6uqE0Vz1hooNUcelebviwlbGQ3gvcGPcdUtOvgtkRRYQ9XZ0/FTMp+w6l8bqIKJaOXag9SA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786439936; c=relaxed/simple; bh=nEhQ7QxH5UDhqZ7VkjZHRphh7gHdmPGv/DpCTon9ESY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gSf8mWJSv+LOgRvo6eisGfjNFlLJgqIZpnmWK1YgJdk7+uvybIM4sqfLnFY4HPXS26ZE/NnFG+1YwqCYmKUnYyDGfkTxoSiwzsigawLkFxNPOs8J/IrtaUSkImd/YrGgeZA9IkAL0AEvLsOMhVQ5eE/njScTvelW7WY4yLhhv7o= 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=XW30cGn/; arc=none smtp.client-ip=209.85.221.41 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="XW30cGn/" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-480033bdcf4so1616137f8f.2 for ; Tue, 11 Aug 2026 02:18:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786439932; x=1787044732; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=ip7f7YpyHQBOih/urKg6C+Vi1R9PhPg2zCXHgntShvU=; b=XW30cGn/Va1+IyB6XKXcp0UpEH9D0exa3ratMPmp5ZeTR+uABmtumWgEFylopA8X9S YyfKr97wnLRWbbHyYaIufV4cI8V37pyVTna2g66QAlFkvgcfh4QJ2Qm5jfwzzfksRqCa JazC+QdH46jxvvWbw7ma2kFhV7DYf5alM+sxW5nWzj9wwvmzb9zFunSJuIfd69g4nbak cg1J9q0LjFVwQ+j1O1C3xLBNCA1ol4nj3IaLmpysMY/WE/ejMOtz1zQ+OpqkZo86rp22 zRwVZRkg8o/YamvCUtqw2p3aapykLrCRj3NWz16OTTeSNbmn+18lKyfe0SFWdg2FqLAH 5a2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786439932; x=1787044732; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ip7f7YpyHQBOih/urKg6C+Vi1R9PhPg2zCXHgntShvU=; b=lAChX3nTcknM2VAqgo1UpkphEaoWfmbzBjuQjgyLLXxt9157v/PVUHW3H2C3jZz0Yb TWH2MJbGxAX4+DDLwqXNcpTlPEsbNO0x4JHQk+ic4P+zdnuH3dN79JG/R39QJnaZT/Ty ErJowiQIL7Yug1OBS8QXqHmQsuJ5tRaQ4CPxGKLaxgTaQA02Ad6ufsCDr2qEohpNHkFG 3RRW4PvzKRPMHtS2MboFEj8lPBKBuRGefSnpEl0qu1xjH36J4PBWht/qQX5pmJUzv0HG ukZ/b/OCbJG+peQ9f+/QU1JJjDjX/bhj0KS7zgX2J9f7QeTF+/jCq545t66Lk0+PZO0A ioDA== X-Forwarded-Encrypted: i=1; AHgh+Rq9SnQUa1wklMiJExcF6nbQqZy2s5sFRn8bPEyfJCebYil5xhKWTAIY2k+GAhQIOn5/meBbJ2NT1oC+3qo=@vger.kernel.org X-Gm-Message-State: AOJu0Yx6W22ex2H6LnLrPs9o6vluqqYnKIKnR3mITtMW6QWBEbgjtBk8 GI1woj+taVEEjmPePAHluygY+3e2ffwN0tEzuX2SbhRV+C3xb01F+yWK X-Gm-Gg: AR+sD10BKViegrtfhbLnS8/dCv2PK+WP7QAtK/Ikdl+rJWCDNPnvnqCtYuuiaApfCs3 Uz/TE7veyyCNdDE/tGKY58JGWND1IJKOu/5T/uzIYnOwxzgGSRu9x00QQpS5JxnMYMi6yOj+Vi3 wi5KTW3RpsWizJ8tZ1ny87PdA977MjBRwM3EXrqAnkVB/3VZTnhu5Pvr3U4B3uoizR6W6NUKCxc Y8AfHTrYt/ckUVld2o3B38vJj9YXm9M61M9cwUjFxxZI7AREsTG9jRNWPmTxnWNj8KcyQM2yoOA Oksym+nGl25EbZ9ANOrmpJTXwec0tzzha2s1kG+eIDvIjzza3iw46xnB1lUnkIYFiq7Y8Hnhfto f6ZSXBQy10T+TD/2K+eHO0Ed0LaUgQAwC6yQKAkurx9KA9wJDMrp7tDa+qrsH6YsFLzubKUuF5R 8NFSPvjJ1r0CxpmaXrIUb+jk1OZaabSwvAIznsQ3zYEE3Bgc+VRUVJR8ouL2gjEKWgStlh0mvbM Nu2/O8rwl8K6JBo3ZLykcQdmbiX+g== X-Received: by 2002:a5d:5847:0:b0:480:c5:d635 with SMTP id ffacd0b85a97d-4814ad2d100mr3220337f8f.0.1786439932432; Tue, 11 Aug 2026 02:18:52 -0700 (PDT) Received: from localhost.localdomain ([82.137.32.40]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-4814a7171afsm2849418f8f.32.2026.08.11.02.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2026 02:18:51 -0700 (PDT) From: Eduard Bostina To: Conor Dooley , devicetree@vger.kernel.org, Eduard Bostina , Jassi Brar , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Rob Herring Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH] dt-bindings: mailbox: Convert TI Message Manager to DT schema Date: Tue, 11 Aug 2026 09:18:47 +0000 Message-ID: <20260811091847.686229-1-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert the Texas Instruments Message Manager binding to DT schema. Signed-off-by: Eduard Bostina --- .../bindings/mailbox/ti,message-manager.txt | 50 -------------- .../bindings/mailbox/ti,message-manager.yaml | 69 +++++++++++++++++++ 2 files changed, 69 insertions(+), 50 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mailbox/ti,message-manager.txt create mode 100644 Documentation/devicetree/bindings/mailbox/ti,message-manager.yaml diff --git a/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt b/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt deleted file mode 100644 index ebf0e3710cee..000000000000 --- a/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt +++ /dev/null @@ -1,50 +0,0 @@ -Texas Instruments' Message Manager Driver -======================================== - -The Texas Instruments' Message Manager is a mailbox controller that has -configurable queues selectable at SoC(System on Chip) integration. The Message -manager is broken up into queues in different address regions that are called -"proxies" - each instance is unidirectional and is instantiated at SoC -integration level to indicate receive or transmit path. - -Message Manager Device Node: -=========================== -Required properties: --------------------- -- compatible: Shall be: "ti,k2g-message-manager" -- reg-names queue_proxy_region - Map the queue proxy region. - queue_state_debug_region - Map the queue state debug - region. -- reg: Contains the register map per reg-names. -- #mbox-cells Shall be 2. Contains the queue ID and proxy ID in that - order referring to the transfer path. -- interrupt-names: Contains interrupt names matching the rx transfer path - for a given SoC. Receive interrupts shall be of the - format: "rx_". - For ti,k2g-message-manager, this shall contain: - "rx_005", "rx_057" -- interrupts: Contains the interrupt information corresponding to - interrupt-names property. - -Example(K2G): ------------- - - msgmgr: msgmgr@2a00000 { - compatible = "ti,k2g-message-manager"; - #mbox-cells = <2>; - reg-names = "queue_proxy_region", "queue_state_debug_region"; - reg = <0x02a00000 0x400000>, <0x028c3400 0x400>; - interrupt-names = "rx_005", "rx_057"; - interrupts = , - ; - }; - - pmmc: pmmc { - [...] - mbox-names = "rx", "tx"; - # RX queue ID is 5, proxy ID is 2 - # TX queue ID is 0, proxy ID is 0 - mboxes= <&msgmgr 5 2>, - <&msgmgr 0 0>; - [...] - }; diff --git a/Documentation/devicetree/bindings/mailbox/ti,message-manager.yaml b/Documentation/devicetree/bindings/mailbox/ti,message-manager.yaml new file mode 100644 index 000000000000..01d62fc5a7c4 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/ti,message-manager.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mailbox/ti,message-manager.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments Message Manager + +maintainers: + - Eduard Bostina + +description: + The Texas Instruments Message Manager is a mailbox controller that has + configurable queues selectable at SoC (System on Chip) integration. The + Message manager is broken up into queues in different address regions + that are called "proxies" - each instance is unidirectional and is + instantiated at SoC integration level to indicate receive or transmit path. + +properties: + compatible: + const: ti,k2g-message-manager + + reg: + minItems: 2 + maxItems: 2 + + reg-names: + items: + - const: queue_proxy_region + - const: queue_state_debug_region + + "#mbox-cells": + const: 2 + description: + Contains the queue ID and proxy ID in that order referring to the + transfer path. + + interrupts: + minItems: 2 + maxItems: 2 + + interrupt-names: + items: + - const: rx_005 + - const: rx_057 + +required: + - compatible + - reg + - reg-names + - "#mbox-cells" + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include + + msgmgr@2a00000 { + compatible = "ti,k2g-message-manager"; + #mbox-cells = <2>; + reg-names = "queue_proxy_region", "queue_state_debug_region"; + reg = <0x02a00000 0x400000>, <0x028c3400 0x400>; + interrupt-names = "rx_005", "rx_057"; + interrupts = , + ; + }; -- 2.43.0