File Index
Files and directories
Sign in
FILE

fsl,imx93-media-blk-ctrl.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml YAML
  1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2%YAML 1.2
  3---
  4$id: http://devicetree.org/schemas/soc/imx/fsl,imx93-media-blk-ctrl.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: NXP i.MX93 Media blk-ctrl
  8
  9maintainers:
 10  - Peng Fan <peng.fan@nxp.com>
 11
 12description:
 13  The i.MX93 MEDIAMIX domain contains control and status registers known
 14  as MEDIAMIX Block Control (MEDIAMIX BLK_CTRL). These registers include
 15  clocking, reset, and miscellaneous top-level controls for peripherals
 16  within the MEDIAMIX domain
 17
 18properties:
 19  compatible:
 20    items:
 21      - enum:
 22          - fsl,imx91-media-blk-ctrl
 23          - fsl,imx93-media-blk-ctrl
 24      - const: syscon
 25
 26  reg:
 27    maxItems: 1
 28
 29  '#power-domain-cells':
 30    const: 1
 31
 32  power-domains:
 33    maxItems: 1
 34
 35  clocks:
 36    minItems: 8
 37    maxItems: 10
 38
 39  clock-names:
 40    minItems: 8
 41    maxItems: 10
 42
 43allOf:
 44  - if:
 45      properties:
 46        compatible:
 47          contains:
 48            const: fsl,imx91-media-blk-ctrl
 49    then:
 50      properties:
 51        clocks:
 52          maxItems: 8
 53        clock-names:
 54          items:
 55            - const: apb
 56            - const: axi
 57            - const: nic
 58            - const: disp
 59            - const: cam
 60            - const: lcdif
 61            - const: isi
 62            - const: csi
 63  - if:
 64      properties:
 65        compatible:
 66          contains:
 67            const: fsl,imx93-media-blk-ctrl
 68    then:
 69      properties:
 70        clocks:
 71          minItems: 10
 72        clock-names:
 73          items:
 74            - const: apb
 75            - const: axi
 76            - const: nic
 77            - const: disp
 78            - const: cam
 79            - const: pxp
 80            - const: lcdif
 81            - const: isi
 82            - const: csi
 83            - const: dsi
 84required:
 85  - compatible
 86  - reg
 87  - power-domains
 88  - clocks
 89  - clock-names
 90
 91additionalProperties: false
 92
 93examples:
 94  - |
 95    #include <dt-bindings/clock/imx93-clock.h>
 96    #include <dt-bindings/power/fsl,imx93-power.h>
 97
 98    system-controller@4ac10000 {
 99      compatible = "fsl,imx93-media-blk-ctrl", "syscon";
100      reg = <0x4ac10000 0x10000>;
101      power-domains = <&mediamix>;
102      clocks = <&clk IMX93_CLK_MEDIA_APB>,
103               <&clk IMX93_CLK_MEDIA_AXI>,
104               <&clk IMX93_CLK_NIC_MEDIA_GATE>,
105               <&clk IMX93_CLK_MEDIA_DISP_PIX>,
106               <&clk IMX93_CLK_CAM_PIX>,
107               <&clk IMX93_CLK_PXP_GATE>,
108               <&clk IMX93_CLK_LCDIF_GATE>,
109               <&clk IMX93_CLK_ISI_GATE>,
110               <&clk IMX93_CLK_MIPI_CSI_GATE>,
111               <&clk IMX93_CLK_MIPI_DSI_GATE>;
112               clock-names = "apb", "axi", "nic", "disp", "cam",
113                             "pxp", "lcdif", "isi", "csi", "dsi";
114      #power-domain-cells = <1>;
115    };
~/ Read-only file preview.