From nobody Sat Feb 7 14:16:26 2026 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 BD4E630DEA7 for ; Fri, 30 Jan 2026 14:15:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769782502; cv=none; b=BCWGCGsT4eVbYDoqGbm8Xh5xCoILvHYQfeWvleOVXzHmWOZl1+tS0594xGfFKYoaVmZGbIVuceZpkRVYiVQR/ItGCgLKUqIz9t/LaIk3JWkPOf6RfNyywdVrP1QvXvSGzoQ/YISRuvYUxS6a6o3ttIu1c8KMPXEPsPb552ecOLk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769782502; c=relaxed/simple; bh=ZQNLiLUufyo5YCPAJ7rq/9+z0iR/t+atuR1eiajnQxE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pTIf8sANjoZMm6FrGWvf5vFlC9HDLBHFIANTF1p9kGz5nBOHXhH0/JCqLjz3JgMuAY8jkmHllQFg0N0sMDhdKdXAhHPB7DnUMbHFPgy7RD2hq9Zd0VKzfyfuFlst+Q725zehjb1ErliN5XQF4OMtDnJRKdsXzo7K95nO57bN7XM= 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=CfaJBIK/; arc=none smtp.client-ip=209.85.214.177 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="CfaJBIK/" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-29f102b013fso21407545ad.2 for ; Fri, 30 Jan 2026 06:15:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769782500; x=1770387300; 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; bh=uQK1I5Ac6NF6GP/+rHIsUY33ZO05kpOE1J5MiW6DuqE=; b=CfaJBIK/cAbF6dtHrW5+QvhShOCxBVj11mLvprobk5/J8CyAim5dlIrlZNry+RJdls KfyJoRKfVbTnp2F7jfXcDS6kG5FfKbDXDRSGVyfdNpD/MHdxaNZU/LZuHjhCGFjsukiT XeaDIRHc/elku03qQtpCPJOde1o1nsJ3HZpcRRJO799Z6nYXLCYtwSVH92xNDmeQuXXX Gi7Gkqr6pWiztRedH+qwwzI4OzjxR3qm4CN0AsAUpC+GcIZSeeqtpyrukXfUY7zJmptd EJ2qTeGyHF2UWGUWAeIVMLxtLL5aevwE34nlLuRrwy68v1XHXjbf4+gdE7VuJndDpeBO P4ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769782500; x=1770387300; 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; bh=uQK1I5Ac6NF6GP/+rHIsUY33ZO05kpOE1J5MiW6DuqE=; b=bVPFA50N0pRLD/iiJYYoW6O9/9xwmJBZkxU5746yEv/K1MSUXD+rqJKSn8wX2QDwk6 AYGcm8UrFoVi6fZLdQ+8309+MuGMvOG7FVebeUo58++n74o9M53vVmxGp0mifO60rjwI 20mG0u2eEEDHBGC6TRm/XdXx1Wm/uawazcKeRSH3IyB3o5uaRN08O8K6MTTSZlXdcl+9 J2UfZ9SD1rAmtjSjmTb+XShpZQcYZbRYit4LBCEku0dKtBA8cf79LxOv1+nWqFJodGww VbwAMG5ov8K4pNbvF6xREhFNXrSpPXCRhZ4A7IT2Tu2D9Y8RxNled41nS4GXe2ER9zko kbKA== X-Forwarded-Encrypted: i=1; AJvYcCXqChYBgRYMmnkfa+0LrLRq1DpVwoHqNlZDNXsxStAJodhkzHcMRlUCsQhMuVRm9ptJLEkbYZuZKXBOIZw=@vger.kernel.org X-Gm-Message-State: AOJu0Yz0gQ2wDwKtcKD/cRL/vnYwFGVcMT5FhOmfhNsth8RNeFAmHE7T n5VKc6onQG/iB3N3R314Cs3iSM99g5iI9MoECoTPQTGpU8/KL5+oY6cr X-Gm-Gg: AZuq6aK6Hf4PlmzAzRbLAxrbDDx6GvswrSvx5JFtBNtBXj9MHIjSDLkbe5QOSWMZPtZ tcL4YHwVy3OttRZ6oAnbbddgtX6YGjxlQjcZ48tERF/SH+s4z8bGLVaLD8w7/o/VhofR19068cU Bi8HL0S8o5kLhzV4tYi3tEoF0WhAyI3Mg1z2KuAV3Ff9DjGXsvYUKmY2u6KoYxGeXU3VLeaLtRw qM3p7Tss2TRyvtQ9+Rqg3eHTnTubmrbLnuMI6OtmdeENrnY8JgcS4d+QY9e1TQhKpQE8FuLnmma +8cr/Hb+U40WZ35Z0/MUNIQd/w3yIl9WeFIPuC/A35ICcQLMVee6Pz8h2oY5Mar5+k4g3+KGuFh tOr8XAjN64BvMMYQV4o9mhOegGlNeFoFgxJb5Jn3hWNgCm6rhrm0XhfYpILmNQaqAOazhprAON4 5IWXP7MS6SQKymfEIomw== X-Received: by 2002:a17:902:d2cd:b0:2a0:c1f6:6bc2 with SMTP id d9443c01a7336-2a8d9a62841mr29266825ad.59.1769782499842; Fri, 30 Jan 2026 06:14:59 -0800 (PST) Received: from fedora ([2401:4900:88bb:affb:d123:d77f:d55f:ab1d]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a88b3eecc5sm81195155ad.17.2026.01.30.06.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jan 2026 06:14:59 -0800 (PST) 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 Subject: [PATCH] dt-bindings: media: Add bindings for dim2 compatible strings. Date: Fri, 30 Jan 2026 19:44:42 +0530 Message-ID: <20260130141442.139640-1-harshdaniel66356@gmail.com> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Harsh Daniel Add device tree bindings for the compatible strings used in the staging/most/dim2 driver to resolve checkpatch warnings: - fsl,imx6q-mlb150 - renesas,mlp and renesas,rcar-gen3-mlp - xlnx,axi4-os62420_3pin-1.00.a and xlnx,axi4-os62420_6pin-1.00.a These bindings document the MediaLB DIM2 module found in Freescale i.MX6Q, Renesas R-Car, and Xilinx FPGA platforms. Signed-off-by: Harsh Daniel --- .../bindings/media/fsl,imx6q-mlb150.yaml | 73 +++++++++++++++++++ .../bindings/media/renesas,mlp.yaml | 65 +++++++++++++++++ .../media/xilinx/xlnx,axi4-os62420.yaml | 60 +++++++++++++++ MAINTAINERS | 3 + 4 files changed, 201 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/fsl,imx6q-mlb15= 0.yaml create mode 100644 Documentation/devicetree/bindings/media/renesas,mlp.yaml create mode 100644 Documentation/devicetree/bindings/media/xilinx/xlnx,axi= 4-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..2d0aab3d2286 --- /dev/null +++ b/Documentation/devicetree/bindings/media/fsl,imx6q-mlb150.yaml @@ -0,0 +1,73 @@ +# 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 + +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: + minItems: 1 + maxItems: 2 + 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 + + mlb@218e000 { + compatible =3D "fsl,imx6q-mlb150"; + reg =3D <0x0218e000 0x4000>; + interrupts =3D <0 150 IRQ_TYPE_LEVEL_HIGH>, + <0 151 IRQ_TYPE_LEVEL_HIGH>; + clocks =3D <&clks 1>, <&clks 2>; + clock-names =3D "mlb", "pll8_mlb"; + microchip,clock-speed =3D "2048fs"; + }; diff --git a/Documentation/devicetree/bindings/media/renesas,mlp.yaml b/Doc= umentation/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 + +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 + + mlp@e6050000 { + compatible =3D "renesas,mlp"; + reg =3D <0xe6050000 0x1000>; + interrupts =3D , + ; + clocks =3D <&cpg 123>; + microchip,clock-speed =3D "2048fs"; + }; diff --git a/Documentation/devicetree/bindings/media/xilinx/xlnx,axi4-os624= 20.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 + +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 + + dim2@e6050000 { + compatible =3D "xlnx,axi4-os62420_3pin-1.00.a"; + reg =3D <0x43c00000 0x10000>; + interrupts =3D <0 144 IRQ_TYPE_LEVEL_HIGH>, + <0 145 IRQ_TYPE_LEVEL_HIGH>; + microchip,clock-speed =3D "2048fs"; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 5b11839cba9d..914693621b3b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -17650,6 +17650,9 @@ M: Christian Gromm 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 --=20 2.52.0