1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/samsung,mipi-video-phy.yaml# 5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7c9ccf3a3SEmmanuel Vadottitle: Samsung S5P/Exynos SoC MIPI CSIS/DSIM DPHY 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 11c9ccf3a3SEmmanuel Vadot - Marek Szyprowski <m.szyprowski@samsung.com> 12c9ccf3a3SEmmanuel Vadot - Sylwester Nawrocki <s.nawrocki@samsung.com> 13c9ccf3a3SEmmanuel Vadot 14c9ccf3a3SEmmanuel Vadotdescription: | 15c9ccf3a3SEmmanuel Vadot For samsung,s5pv210-mipi-video-phy compatible PHYs the second cell in the 16c9ccf3a3SEmmanuel Vadot PHY specifier identifies the PHY and its meaning is as follows:: 17c9ccf3a3SEmmanuel Vadot 0 - MIPI CSIS 0, 18c9ccf3a3SEmmanuel Vadot 1 - MIPI DSIM 0, 19c9ccf3a3SEmmanuel Vadot 2 - MIPI CSIS 1, 20c9ccf3a3SEmmanuel Vadot 3 - MIPI DSIM 1. 21c9ccf3a3SEmmanuel Vadot 22c9ccf3a3SEmmanuel Vadot samsung,exynos5420-mipi-video-phy and samsung,exynos5433-mipi-video-phy 23c9ccf3a3SEmmanuel Vadot support additional fifth PHY:: 24c9ccf3a3SEmmanuel Vadot 4 - MIPI CSIS 2. 25c9ccf3a3SEmmanuel Vadot 26c9ccf3a3SEmmanuel Vadotproperties: 27c9ccf3a3SEmmanuel Vadot compatible: 28c9ccf3a3SEmmanuel Vadot enum: 29c9ccf3a3SEmmanuel Vadot - samsung,s5pv210-mipi-video-phy 30c9ccf3a3SEmmanuel Vadot - samsung,exynos5420-mipi-video-phy 31c9ccf3a3SEmmanuel Vadot - samsung,exynos5433-mipi-video-phy 32c9ccf3a3SEmmanuel Vadot 33c9ccf3a3SEmmanuel Vadot "#phy-cells": 34c9ccf3a3SEmmanuel Vadot const: 1 35c9ccf3a3SEmmanuel Vadot 36c9ccf3a3SEmmanuel Vadot syscon: 37c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 38*cb7aa33aSEmmanuel Vadot deprecated: true 39c9ccf3a3SEmmanuel Vadot description: 40c9ccf3a3SEmmanuel Vadot Phandle to PMU system controller interface, valid only for 41*cb7aa33aSEmmanuel Vadot samsung,s5pv210-mipi-video-phy and samsung,exynos5420-mipi-video-phy (if 42*cb7aa33aSEmmanuel Vadot not a child of PMU). 43c9ccf3a3SEmmanuel Vadot 44c9ccf3a3SEmmanuel Vadot samsung,pmu-syscon: 45c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 46*cb7aa33aSEmmanuel Vadot deprecated: true 47c9ccf3a3SEmmanuel Vadot description: 48c9ccf3a3SEmmanuel Vadot Phandle to PMU system controller interface, valid for 49*cb7aa33aSEmmanuel Vadot samsung,exynos5433-mipi-video-phy (if not a child of PMU). 50c9ccf3a3SEmmanuel Vadot 51c9ccf3a3SEmmanuel Vadot samsung,disp-sysreg: 52c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 53c9ccf3a3SEmmanuel Vadot description: 54c9ccf3a3SEmmanuel Vadot Phandle to DISP system controller interface, valid for 55c9ccf3a3SEmmanuel Vadot samsung,exynos5433-mipi-video-phy. 56c9ccf3a3SEmmanuel Vadot 57c9ccf3a3SEmmanuel Vadot samsung,cam0-sysreg: 58c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 59c9ccf3a3SEmmanuel Vadot description: 60c9ccf3a3SEmmanuel Vadot Phandle to CAM0 system controller interface, valid for 61c9ccf3a3SEmmanuel Vadot samsung,exynos5433-mipi-video-phy. 62c9ccf3a3SEmmanuel Vadot 63c9ccf3a3SEmmanuel Vadot samsung,cam1-sysreg: 64c9ccf3a3SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 65c9ccf3a3SEmmanuel Vadot description: 66c9ccf3a3SEmmanuel Vadot Phandle to CAM1 system controller interface, valid for 67c9ccf3a3SEmmanuel Vadot samsung,exynos5433-mipi-video-phy. 68c9ccf3a3SEmmanuel Vadot 69c9ccf3a3SEmmanuel Vadotrequired: 70c9ccf3a3SEmmanuel Vadot - compatible 71c9ccf3a3SEmmanuel Vadot - "#phy-cells" 72c9ccf3a3SEmmanuel Vadot 73c9ccf3a3SEmmanuel VadotallOf: 74c9ccf3a3SEmmanuel Vadot - if: 75c9ccf3a3SEmmanuel Vadot properties: 76c9ccf3a3SEmmanuel Vadot compatible: 77c9ccf3a3SEmmanuel Vadot contains: 78c9ccf3a3SEmmanuel Vadot enum: 79c9ccf3a3SEmmanuel Vadot - samsung,s5pv210-mipi-video-phy 80c9ccf3a3SEmmanuel Vadot - samsung,exynos5420-mipi-video-phy 81c9ccf3a3SEmmanuel Vadot then: 82c9ccf3a3SEmmanuel Vadot properties: 83c9ccf3a3SEmmanuel Vadot samsung,pmu-syscon: false 84c9ccf3a3SEmmanuel Vadot samsung,disp-sysreg: false 85c9ccf3a3SEmmanuel Vadot samsung,cam0-sysreg: false 86c9ccf3a3SEmmanuel Vadot samsung,cam1-sysreg: false 87c9ccf3a3SEmmanuel Vadot else: 88c9ccf3a3SEmmanuel Vadot properties: 89c9ccf3a3SEmmanuel Vadot syscon: false 90c9ccf3a3SEmmanuel Vadot required: 91c9ccf3a3SEmmanuel Vadot - samsung,disp-sysreg 92c9ccf3a3SEmmanuel Vadot - samsung,cam0-sysreg 93c9ccf3a3SEmmanuel Vadot - samsung,cam1-sysreg 94c9ccf3a3SEmmanuel Vadot 95c9ccf3a3SEmmanuel VadotadditionalProperties: false 96c9ccf3a3SEmmanuel Vadot 97c9ccf3a3SEmmanuel Vadotexamples: 98c9ccf3a3SEmmanuel Vadot - | 99c9ccf3a3SEmmanuel Vadot phy { 100c9ccf3a3SEmmanuel Vadot compatible = "samsung,exynos5433-mipi-video-phy"; 101c9ccf3a3SEmmanuel Vadot #phy-cells = <1>; 102c9ccf3a3SEmmanuel Vadot samsung,cam0-sysreg = <&syscon_cam0>; 103c9ccf3a3SEmmanuel Vadot samsung,cam1-sysreg = <&syscon_cam1>; 104c9ccf3a3SEmmanuel Vadot samsung,disp-sysreg = <&syscon_disp>; 105c9ccf3a3SEmmanuel Vadot }; 106c9ccf3a3SEmmanuel Vadot 107c9ccf3a3SEmmanuel Vadot - | 108c9ccf3a3SEmmanuel Vadot phy { 109c9ccf3a3SEmmanuel Vadot compatible = "samsung,s5pv210-mipi-video-phy"; 110c9ccf3a3SEmmanuel Vadot syscon = <&pmu_system_controller>; 111c9ccf3a3SEmmanuel Vadot #phy-cells = <1>; 112c9ccf3a3SEmmanuel Vadot }; 113