Samsung S5P/Exynos SoC MIPI CSIS/DSIM DPHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,mipi-video-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Marek Szyprowski <m.szyprowski@samsung.com>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
For samsung,s5pv210-mipi-video-phy compatible PHYs the second cell in the
PHY specifier identifies the PHY and its meaning is as follows::
0 - MIPI CSIS 0,
1 - MIPI DSIM 0,
2 - MIPI CSIS 1,
3 - MIPI DSIM 1.
samsung,exynos5420-mipi-video-phy and samsung,exynos5433-mipi-video-phy
support additional fifth PHY::
4 - MIPI CSIS 2.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,s5pv210-mipi-video-phy", "samsung,exynos5420-mipi-video-phy", "samsung,exynos5433-mipi-video-phy", "samsung,exynos7870-mipi-video-phy"
#phy-cells — required here #
Exact value (const): 1
syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Deprecated (deprecated): true
Phandle to PMU system controller interface, valid only for samsung,s5pv210-mipi-video-phy and samsung,exynos5420-mipi-video-phy (if not a child of PMU).
samsung,pmu-syscon — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Deprecated (deprecated): true
Phandle to PMU system controller interface, valid for samsung,exynos5433-mipi-video-phy and samsung,exynos7870-mipi-video-phy (if not a child of PMU).
samsung,disp-sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to DISP system controller interface, valid for samsung,exynos5433-mipi-video-phy and samsung,exynos7870-mipi-video-phy.
samsung,cam0-sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to CAM0 system controller interface, valid for samsung,exynos5433-mipi-video-phy and samsung,exynos7870-mipi-video-phy.
samsung,cam1-sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to CAM1 system controller interface, valid for samsung,exynos5433-mipi-video-phy.
Required in this object (required): "compatible", "#phy-cells"
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)Allowed values (
enum):"samsung,s5pv210-mipi-video-phy","samsung,exynos5420-mipi-video-phy"When the condition matches (
then) #Properties and child nodes (
properties)
samsung,pmu-syscon— not listed as required here
false— Not permitted by this property rule.
samsung,disp-sysreg— not listed as required here
false— Not permitted by this property rule.
samsung,cam0-sysreg— not listed as required here
false— Not permitted by this property rule.
samsung,cam1-sysreg— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-mipi-video-phy"When the condition matches (
then) #Properties and child nodes (
properties)
syscon— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"samsung,disp-sysreg","samsung,cam0-sysreg","samsung,cam1-sysreg"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos7870-mipi-video-phy"When the condition matches (
then) #Properties and child nodes (
properties)
syscon— not listed as required here
false— Not permitted by this property rule.
samsung,cam1-sysreg— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"samsung,disp-sysreg","samsung,cam0-sysreg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
phy {
compatible = "samsung,exynos5433-mipi-video-phy";
#phy-cells = <1>;
samsung,cam0-sysreg = <&syscon_cam0>;
samsung,cam1-sysreg = <&syscon_cam1>;
samsung,disp-sysreg = <&syscon_disp>;
};
phy {
compatible = "samsung,s5pv210-mipi-video-phy";
syscon = <&pmu_system_controller>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause