From: harshdaniel66356@gmail.com
To: parthiban.veerasooran@microchip.com,
christian.gromm@microchip.com, gregkh@linuxfoundation.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org
Cc: linux-staging@lists.linux.dev, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Harsh Daniel <harshdaniel66356@gmail.com>
Subject: [PATCH v2] media: dt-bindings: fsl,imx6q-mlb150: Fix clock-names schema
Date: Fri, 30 Jan 2026 23:03:02 +0530 [thread overview]
Message-ID: <20260130173302.281984-1-harshdaniel66356@gmail.com> (raw)
From: Harsh Daniel <harshdaniel66356@gmail.com>
The error was due to minItems and maxItems defined twice
in file fsl,imx6q-mlb150.yaml. It was defined both in clocks and
clock-names.
I've removed minItems and maxItems from clock-names and
run "make dt_binding_check" and yamllint to check for errors in
all three created files.
Signed-off-by: Harsh Daniel <harshdaniel66356@gmail.com>
---
.../bindings/media/fsl,imx6q-mlb150.yaml | 71 +++++++++++++++++++
.../bindings/media/renesas,mlp.yaml | 65 +++++++++++++++++
.../media/xilinx/xlnx,axi4-os62420.yaml | 60 ++++++++++++++++
MAINTAINERS | 3 +
4 files changed, 199 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/fsl,imx6q-mlb150.yaml
create mode 100644 Documentation/devicetree/bindings/media/renesas,mlp.yaml
create mode 100644 Documentation/devicetree/bindings/media/xilinx/xlnx,axi4-os62420.yaml
diff --git a/Documentation/devicetree/bindings/media/fsl,imx6q-mlb150.yaml b/Documentation/devicetree/bindings/media/fsl,imx6q-mlb150.yaml
new file mode 100644
index 000000000000..b4e538cdb8cc
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/fsl,imx6q-mlb150.yaml
@@ -0,0 +1,71 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/fsl,imx6q-mlb150.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale i.MX6Q MediaLB DIM2 Controller
+
+maintainers:
+ - Andrey Shvetsov <andrey.shvetsov@k2l.de>
+
+description: |
+ MediaLB DIM2 module found in Freescale i.MX6Q SoCs.
+
+properties:
+ compatible:
+ const: fsl,imx6q-mlb150
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ items:
+ - description: MediaLB Interrupt
+ - description: AHB0 Interrupt
+
+ clocks:
+ minItems: 1
+ maxItems: 2
+
+ clock-names:
+ items:
+ - const: mlb
+ - const: pll8_mlb
+
+ microchip,clock-speed:
+ $ref: /schemas/types.yaml#/definitions/string
+ enum:
+ - 256fs
+ - 512fs
+ - 1024fs
+ - 2048fs
+ - 3072fs
+ - 4096fs
+ - 6144fs
+ - 8192fs
+ description: DIM2 clock speed.
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+ - microchip,clock-speed
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ mlb@218e000 {
+ compatible = "fsl,imx6q-mlb150";
+ reg = <0x0218e000 0x4000>;
+ interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>,
+ <0 151 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks 1>, <&clks 2>;
+ clock-names = "mlb", "pll8_mlb";
+ microchip,clock-speed = "2048fs";
+ };
diff --git a/Documentation/devicetree/bindings/media/renesas,mlp.yaml b/Documentation/devicetree/bindings/media/renesas,mlp.yaml
new file mode 100644
index 000000000000..dfd9045d87f2
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/renesas,mlp.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/renesas,mlp.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Renesas MediaLB DIM2 Controller
+
+maintainers:
+ - Andrey Shvetsov <andrey.shvetsov@k2l.de>
+
+description: |
+ MediaLB DIM2 module found in Renesas R-Car Gen2 and Gen3 SoCs.
+
+properties:
+ compatible:
+ enum:
+ - renesas,mlp
+ - renesas,rcar-gen3-mlp
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ items:
+ - description: MediaLB Interrupt
+ - description: AHB0 Interrupt
+
+ clocks:
+ maxItems: 1
+
+ microchip,clock-speed:
+ $ref: /schemas/types.yaml#/definitions/string
+ enum:
+ - 256fs
+ - 512fs
+ - 1024fs
+ - 2048fs
+ - 3072fs
+ - 4096fs
+ - 6144fs
+ - 8192fs
+ description: DIM2 clock speed.
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - microchip,clock-speed
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ mlp@e6050000 {
+ compatible = "renesas,mlp";
+ reg = <0xe6050000 0x1000>;
+ interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg 123>;
+ microchip,clock-speed = "2048fs";
+ };
diff --git a/Documentation/devicetree/bindings/media/xilinx/xlnx,axi4-os62420.yaml b/Documentation/devicetree/bindings/media/xilinx/xlnx,axi4-os62420.yaml
new file mode 100644
index 000000000000..dd4ac5c6ccf3
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/xilinx/xlnx,axi4-os62420.yaml
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/xilinx/xlnx,axi4-os62420.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Xilinx MediaLB DIM2 Controller
+
+maintainers:
+ - Andrey Shvetsov <andrey.shvetsov@k2l.de>
+
+description: |
+ MediaLB DIM2 module found in Xilinx FPGAs.
+
+properties:
+ compatible:
+ enum:
+ - xlnx,axi4-os62420_3pin-1.00.a
+ - xlnx,axi4-os62420_6pin-1.00.a
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ items:
+ - description: MediaLB Interrupt
+ - description: AHB0 Interrupt
+
+ microchip,clock-speed:
+ $ref: /schemas/types.yaml#/definitions/string
+ enum:
+ - 256fs
+ - 512fs
+ - 1024fs
+ - 2048fs
+ - 3072fs
+ - 4096fs
+ - 6144fs
+ - 8192fs
+ description: DIM2 clock speed.
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - microchip,clock-speed
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ dim2@e6050000 {
+ compatible = "xlnx,axi4-os62420_3pin-1.00.a";
+ reg = <0x43c00000 0x10000>;
+ interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>,
+ <0 145 IRQ_TYPE_LEVEL_HIGH>;
+ microchip,clock-speed = "2048fs";
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 5b11839cba9d..914693621b3b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -17650,6 +17650,9 @@ M: Christian Gromm <christian.gromm@microchip.com>
S: Maintained
F: Documentation/ABI/testing/configfs-most
F: Documentation/ABI/testing/sysfs-bus-most
+F: Documentation/devicetree/bindings/media/fsl,imx6q-mlb150.yaml
+F: Documentation/devicetree/bindings/media/renesas,mlp.yaml
+F: Documentation/devicetree/bindings/media/xilinx/xlnx,axi4-os62420.yaml
F: drivers/most/
F: drivers/staging/most/
F: include/linux/most.h
--
2.52.0
next reply other threads:[~2026-01-30 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-30 17:33 harshdaniel66356 [this message]
2026-02-05 13:30 ` [PATCH v2] media: dt-bindings: fsl,imx6q-mlb150: Fix clock-names schema Krzysztof Kozlowski
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=20260130173302.281984-1-harshdaniel66356@gmail.com \
--to=harshdaniel66356@gmail.com \
--cc=christian.gromm@microchip.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=parthiban.veerasooran@microchip.com \
--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