1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot# Copyright (C) 2019,2020 Lubomir Rintel <lkundrak@v3.sk> 3c66ec88fSEmmanuel Vadot%YAML 1.2 4c66ec88fSEmmanuel Vadot--- 5c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/chrontel,ch7033.yaml# 6c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7c66ec88fSEmmanuel Vadot 8*8bab661aSEmmanuel Vadottitle: Chrontel CH7033 Video Encoder 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadotmaintainers: 11c66ec88fSEmmanuel Vadot - Lubomir Rintel <lkundrak@v3.sk> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotproperties: 14c66ec88fSEmmanuel Vadot compatible: 15c66ec88fSEmmanuel Vadot const: chrontel,ch7033 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot reg: 18c66ec88fSEmmanuel Vadot maxItems: 1 19c66ec88fSEmmanuel Vadot description: I2C address of the device 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot ports: 225def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 23c66ec88fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot properties: 25c66ec88fSEmmanuel Vadot port@0: 265def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 27c66ec88fSEmmanuel Vadot description: | 28c66ec88fSEmmanuel Vadot Video port for RGB input. 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadot port@1: 315def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 32c66ec88fSEmmanuel Vadot description: | 33c66ec88fSEmmanuel Vadot DVI port, should be connected to a node compatible with the 34c66ec88fSEmmanuel Vadot dvi-connector binding. 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot required: 37c66ec88fSEmmanuel Vadot - port@0 38c66ec88fSEmmanuel Vadot - port@1 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadotrequired: 41c66ec88fSEmmanuel Vadot - compatible 42c66ec88fSEmmanuel Vadot - reg 43c66ec88fSEmmanuel Vadot - ports 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel VadotadditionalProperties: false 46c66ec88fSEmmanuel Vadot 47c66ec88fSEmmanuel Vadotexamples: 48c66ec88fSEmmanuel Vadot - | 49c66ec88fSEmmanuel Vadot i2c { 50c66ec88fSEmmanuel Vadot #address-cells = <1>; 51c66ec88fSEmmanuel Vadot #size-cells = <0>; 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel Vadot vga-dvi-encoder@76 { 54c66ec88fSEmmanuel Vadot compatible = "chrontel,ch7033"; 55c66ec88fSEmmanuel Vadot reg = <0x76>; 56c66ec88fSEmmanuel Vadot 57c66ec88fSEmmanuel Vadot ports { 58c66ec88fSEmmanuel Vadot #address-cells = <1>; 59c66ec88fSEmmanuel Vadot #size-cells = <0>; 60c66ec88fSEmmanuel Vadot 61c66ec88fSEmmanuel Vadot port@0 { 62c66ec88fSEmmanuel Vadot reg = <0>; 63c66ec88fSEmmanuel Vadot endpoint { 64c66ec88fSEmmanuel Vadot remote-endpoint = <&lcd0_rgb_out>; 65c66ec88fSEmmanuel Vadot }; 66c66ec88fSEmmanuel Vadot }; 67c66ec88fSEmmanuel Vadot 68c66ec88fSEmmanuel Vadot port@1 { 69c66ec88fSEmmanuel Vadot reg = <1>; 70c66ec88fSEmmanuel Vadot endpoint { 71c66ec88fSEmmanuel Vadot remote-endpoint = <&dvi_in>; 72c66ec88fSEmmanuel Vadot }; 73c66ec88fSEmmanuel Vadot }; 74c66ec88fSEmmanuel Vadot 75c66ec88fSEmmanuel Vadot }; 76c66ec88fSEmmanuel Vadot }; 77c66ec88fSEmmanuel Vadot }; 78