Commit e87d05d8 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring
Browse files

dt-bindings: phy: samsung,exynos-hdmi-phy: convert to dtschema



Convert the Exynos HDMI PHY bindings to DT schema format and put them
next to other PHYs.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220208171823.226211-4-krzysztof.kozlowski@canonical.com
parent 31fc1c63
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
Device-Tree bindings for hdmiphy driver

Required properties:
- compatible: value should be one of the following:
	1) "samsung,exynos5-hdmiphy" <DEPRECATED>
	2) "samsung,exynos4210-hdmiphy".
	3) "samsung,exynos4212-hdmiphy".
- reg: I2C address of the hdmiphy device.

Example:

	hdmiphy {
		compatible = "samsung,exynos4210-hdmiphy";
		reg = <0x38>;
	};
+44 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/samsung,exynos-hdmi-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos SoC HDMI PHY

maintainers:
  - Inki Dae <inki.dae@samsung.com>
  - Joonyoung Shim <jy0922.shim@samsung.com>
  - Seung-Woo Kim <sw0312.kim@samsung.com>
  - Kyungmin Park <kyungmin.park@samsung.com>
  - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

properties:
  compatible:
    oneOf:
      - enum:
          - samsung,exynos4210-hdmiphy
          - samsung,exynos4212-hdmiphy
      - const: samsung,exynos5-hdmiphy
        deprecated: true

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        hdmi-phy@38 {
            compatible = "samsung,exynos4210-hdmiphy";
            reg = <0x38>;
        };
    };