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

dt-bindings: display: samsung,exynos-hdmi-ddc: convert to dtschema

parent 5c45a11b
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
Device-Tree bindings for hdmiddc driver

Required properties:
- compatible: value should be one of the following
	1) "samsung,exynos5-hdmiddc" <DEPRECATED>
	2) "samsung,exynos4210-hdmiddc"

- reg: I2C address of the hdmiddc device.

Example:

	hdmiddc {
		compatible = "samsung,exynos4210-hdmiddc";
		reg = <0x50>;
	};
+42 −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/display/samsung/samsung,exynos-hdmi-ddc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos SoC HDMI DDC

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:
      - const: samsung,exynos4210-hdmiddc
      - const: samsung,exynos5-hdmiddc
        deprecated: true

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

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

        ddc@50 {
            compatible = "samsung,exynos4210-hdmiddc";
            reg = <0x50>;
        };
    };