NXP i.MX93 Media blk-ctrl
Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx93-media-blk-ctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"
The i.MX93 MEDIAMIX domain contains control and status registers known as MEDIAMIX Block Control (MEDIAMIX BLK_CTRL). These registers include clocking, reset, and miscellaneous top-level controls for peripherals within the MEDIAMIX domain
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"fsl,imx91-media-blk-ctrl","fsl,imx93-media-blk-ctrl"
Item 2
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
#power-domain-cells — not listed as required here #
Exact value (const): 1
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 10
clock-names — required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 10
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx91-media-blk-ctrl"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):8
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"apb"Item 2
Exact value (
const):"axi"Item 3
Exact value (
const):"nic"Item 4
Exact value (
const):"disp"Item 5
Exact value (
const):"cam"Item 6
Exact value (
const):"lcdif"Item 7
Exact value (
const):"isi"Item 8
Exact value (
const):"csi"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx93-media-blk-ctrl"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):10
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"apb"Item 2
Exact value (
const):"axi"Item 3
Exact value (
const):"nic"Item 4
Exact value (
const):"disp"Item 5
Exact value (
const):"cam"Item 6
Exact value (
const):"pxp"Item 7
Exact value (
const):"lcdif"Item 8
Exact value (
const):"isi"Item 9
Exact value (
const):"csi"Item 10
Exact value (
const):"dsi"
Required in this object (required): "compatible", "reg", "power-domains", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx93-clock.h>
#include <dt-bindings/power/fsl,imx93-power.h>
system-controller@4ac10000 {
compatible = "fsl,imx93-media-blk-ctrl", "syscon";
reg = <0x4ac10000 0x10000>;
power-domains = <&mediamix>;
clocks = <&clk IMX93_CLK_MEDIA_APB>,
<&clk IMX93_CLK_MEDIA_AXI>,
<&clk IMX93_CLK_NIC_MEDIA_GATE>,
<&clk IMX93_CLK_MEDIA_DISP_PIX>,
<&clk IMX93_CLK_CAM_PIX>,
<&clk IMX93_CLK_PXP_GATE>,
<&clk IMX93_CLK_LCDIF_GATE>,
<&clk IMX93_CLK_ISI_GATE>,
<&clk IMX93_CLK_MIPI_CSI_GATE>,
<&clk IMX93_CLK_MIPI_DSI_GATE>;
clock-names = "apb", "axi", "nic", "disp", "cam",
"pxp", "lcdif", "isi", "csi", "dsi";
#power-domain-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)