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