From: Kartik Nair <contact.kartikn@gmail.com>
To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org
Cc: christian.gromm@microchip.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Kartik Nair <contact.kartikn@gmail.com>
Subject: [PATCH] dt-bindings: misc: add documentation for MediaLB DIM2 controller
Date: Mon, 11 May 2026 00:14:19 +0530 [thread overview]
Message-ID: <20260510184419.98043-1-contact.kartikn@gmail.com> (raw)
Add device tree binding documentation for the MediaLB DIM2 hardware
dependent module. This documents the compatible strings used in
drivers/staging/most/dim2/dim2.c which were previously flagged as
undocumented by checkpatch.
Documented compatible strings:
- fsl,imx6q-mlb150 (Freescale i.MX6Q)
- renesas,mlp (Renesas Gen2)
- renesas,rcar-gen3-mlp (Renesas Gen3)
- xlnx,axi4-os62420_3pin-1.00.a (Xilinx 3-pin)
- xlnx,axi4-os62420_6pin-1.00.a (Xilinx 6-pin)
Signed-off-by: Kartik Nair <contact.kartikn@gmail.com>
---
.../bindings/misc/microchip,most-dim2.yaml | 54 +++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/microchip,most-dim2.yaml
diff --git a/Documentation/devicetree/bindings/misc/microchip,most-dim2.yaml b/Documentation/devicetree/bindings/misc/microchip,most-dim2.yaml
new file mode 100644
index 000000000..213078811
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/microchip,most-dim2.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/microchip,most-dim2.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaLB DIM2 Hardware Dependent Module
+
+maintainers:
+ - Christian Gromm <christian.gromm@microchip.com>
+
+description:
+ The DIM2 is a MediaLB (Media Local Bus) interface controller that
+ provides high-speed communication between devices. It supports
+ synchronous, asynchronous, control, and isochronous data channels.
+
+properties:
+ compatible:
+ enum:
+ - fsl,imx6q-mlb150
+ - renesas,mlp
+ - renesas,rcar-gen3-mlp
+ - xlnx,axi4-os62420_3pin-1.00.a
+ - xlnx,axi4-os62420_6pin-1.00.a
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ minItems: 1
+ maxItems: 2
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ const: mediaLB_int
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ mlb: most@2b600000 {
+ compatible = "fsl,imx6q-mlb150";
+ reg = <0x2b600000 0x4000>;
+ interrupts = <0 53 4>, <0 117 4>;
+ clocks = <&clks 218>;
+ clock-names = "mediaLB_int";
+ };
--
2.50.0
reply other threads:[~2026-05-10 18:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260510184419.98043-1-contact.kartikn@gmail.com \
--to=contact.kartikn@gmail.com \
--cc=christian.gromm@microchip.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox