| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/phy/mixel,mipi-dsi-phy.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Mixel DSI PHY for i.MX8 |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Guido Günther <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The Mixel MIPI-DSI PHY IP block is e.g. found on i.MX8 platforms (along the |
| 14 |
MIPI-DSI IP from Northwest Logic). It represents the physical layer for the |
| 15 |
electrical signals for DSI. |
| 16 |
|
| 17 |
The Mixel PHY IP block found on i.MX8qxp is a combo PHY that can work |
| 18 |
in either MIPI-DSI PHY mode or LVDS PHY mode. |
| 19 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
enum: |
| 23 |
- fsl,imx8mq-mipi-dphy |
| 24 |
- fsl,imx8qxp-mipi-dphy |
| 25 |
|
| 26 |
reg: |
| 27 |
maxItems: 1 |
| 28 |
|
| 29 |
clocks: |
| 30 |
maxItems: 1 |
| 31 |
|
| 32 |
clock-names: |
| 33 |
const: phy_ref |
| 34 |
|
| 35 |
"#phy-cells": |
| 36 |
const: 0 |
| 37 |
|
| 38 |
fsl,syscon: |
| 39 |
$ref: /schemas/types.yaml#/definitions/phandle |
| 40 |
description: | |
| 41 |
A phandle which points to Control and Status Registers(CSR) module. |
| 42 |
|
| 43 |
power-domains: |
| 44 |
maxItems: 1 |
| 45 |
|
| 46 |
required: |
| 47 |
- compatible |
| 48 |
- reg |
| 49 |
- clocks |
| 50 |
- clock-names |
| 51 |
- "#phy-cells" |
| 52 |
- power-domains |
| 53 |
|
| 54 |
allOf: |
| 55 |
- if: |
| 56 |
properties: |
| 57 |
compatible: |
| 58 |
contains: |
| 59 |
const: fsl,imx8mq-mipi-dphy |
| 60 |
then: |
| 61 |
properties: |
| 62 |
fsl,syscon: false |
| 63 |
|
| 64 |
required: |
| 65 |
- assigned-clocks |
| 66 |
- assigned-clock-parents |
| 67 |
- assigned-clock-rates |
| 68 |
|
| 69 |
- if: |
| 70 |
properties: |
| 71 |
compatible: |
| 72 |
contains: |
| 73 |
const: fsl,imx8qxp-mipi-dphy |
| 74 |
then: |
| 75 |
required: |
| 76 |
- fsl,syscon |
| 77 |
|
| 78 |
additionalProperties: false |
| 79 |
|
| 80 |
examples: |
| 81 |
- | |
| 82 |
#include <dt-bindings/clock/imx8mq-clock.h> |
| 83 |
dphy: dphy@30a0030 { |
| 84 |
compatible = "fsl,imx8mq-mipi-dphy"; |
| 85 |
reg = <0x30a00300 0x100>; |
| 86 |
clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>; |
| 87 |
clock-names = "phy_ref"; |
| 88 |
assigned-clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>; |
| 89 |
assigned-clock-parents = <&clk IMX8MQ_VIDEO_PLL1_OUT>; |
| 90 |
assigned-clock-rates = <24000000>; |
| 91 |
#phy-cells = <0>; |
| 92 |
power-domains = <&pgc_mipi>; |
| 93 |
}; |