MediaTek MIPI Display Serial Interface (DSI) PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,dsi-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chun-Kuang Hu <chunkuang.hu@kernel.org>", "Philipp Zabel <p.zabel@pengutronix.de>", "Chunfeng Yun <chunfeng.yun@mediatek.com>"
The MIPI DSI PHY supports up to 4-lane output.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^dsi-phy@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt2701-mipi-tx"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt8173-mipi-tx"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt6893-mipi-tx","mediatek,mt8188-mipi-tx","mediatek,mt8195-mipi-tx","mediatek,mt8365-mipi-tx"Item 2
Exact value (
const):"mediatek,mt8183-mipi-tx"
Rule 4
Exact value (
const):"mediatek,mt2701-mipi-tx"
Rule 5
Exact value (
const):"mediatek,mt8173-mipi-tx"
Rule 6
Exact value (
const):"mediatek,mt8183-mipi-tx"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PLL reference clock
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
#clock-cells — required here #
Exact value (const): 0
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 1
A phandle to the calibration data provided by a nvmem device, if unspecified, default values shall be used.
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"calibration-data"
drive-strength-microamp — not listed as required here #
adjust driving current
Multiple of (multipleOf): 200
Minimum value (minimum): 2000
Maximum value (maximum): 6000
Default value (default): 4600
Required in this object (required): "compatible", "reg", "clocks", "clock-output-names", "#phy-cells", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8173-clk.h>
dsi-phy@10215000 {
compatible = "mediatek,mt8173-mipi-tx";
reg = <0x10215000 0x1000>;
clocks = <&clk26m>;
clock-output-names = "mipi_tx0_pll";
drive-strength-microamp = <4000>;
nvmem-cells = <&mipi_tx_calibration>;
nvmem-cell-names = "calibration-data";
#clock-cells = <0>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2020 MediaTek