media: dt-bindings: fsl,imx6q-mlb150: Fix clock-names schema
Subsystems (6)
PATCH v2 1/1 media: dt-bindings: fsl,imx6q-mlb150: Fix clock-names schema
From: Harsh Daniel <[email protected]>
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.
--- .../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
Documentation/devicetree/bindings/media/fsl,imx6q-mlb150.yaml new file +71 -0
@@ -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 <[email protected]> + +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"; + };
Documentation/devicetree/bindings/media/renesas,mlp.yaml new file +65 -0
65 lines not on this page · raw message
Documentation/devicetree/bindings/media/xilinx/xlnx,axi4-os62420.yaml new file +60 -0
60 lines not on this page · raw message
MAINTAINERS +3 -0
@@ -17650,6 +17650,9 @@ M: Christian Gromm <[email protected]> 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
Signature · 1 line
2.52.0
Quoted 5 lines · On Fri, Jan 30, 2026 at 11:03:02PM +0530, [email protected] wrote:
From: Harsh Daniel <[email protected]>
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.
Huh? You claim you fix something but you just added three files.
Please open git log and check what you are doing before you post it.
Best regards,
Krzysztof