1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/simple-bridge.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Transparent non-programmable DRM bridges 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 11c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotdescription: | 14c66ec88fSEmmanuel Vadot This binding supports transparent non-programmable bridges that don't require 15c66ec88fSEmmanuel Vadot any configuration, with a single input and a single output. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadotproperties: 18c66ec88fSEmmanuel Vadot compatible: 19c66ec88fSEmmanuel Vadot oneOf: 20c66ec88fSEmmanuel Vadot - items: 21c66ec88fSEmmanuel Vadot - enum: 22c66ec88fSEmmanuel Vadot - ti,ths8134a 23c66ec88fSEmmanuel Vadot - ti,ths8134b 24c66ec88fSEmmanuel Vadot - const: ti,ths8134 25*354d7675SEmmanuel Vadot - items: 26*354d7675SEmmanuel Vadot - const: corpro,gm7123 27*354d7675SEmmanuel Vadot - const: adi,adv7123 28c66ec88fSEmmanuel Vadot - enum: 29c66ec88fSEmmanuel Vadot - adi,adv7123 30c66ec88fSEmmanuel Vadot - dumb-vga-dac 31c66ec88fSEmmanuel Vadot - ti,opa362 32c66ec88fSEmmanuel Vadot - ti,ths8134 33c66ec88fSEmmanuel Vadot - ti,ths8135 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot ports: 365def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 375def4c47SEmmanuel Vadot 38c66ec88fSEmmanuel Vadot properties: 39c66ec88fSEmmanuel Vadot port@0: 405def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 41c66ec88fSEmmanuel Vadot description: The bridge input 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot port@1: 445def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 45c66ec88fSEmmanuel Vadot description: The bridge output 46c66ec88fSEmmanuel Vadot 47c66ec88fSEmmanuel Vadot required: 48c66ec88fSEmmanuel Vadot - port@0 49c66ec88fSEmmanuel Vadot - port@1 50c66ec88fSEmmanuel Vadot 51c66ec88fSEmmanuel Vadot enable-gpios: 52c66ec88fSEmmanuel Vadot maxItems: 1 53c66ec88fSEmmanuel Vadot description: GPIO controlling bridge enable 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadot vdd-supply: 56c66ec88fSEmmanuel Vadot description: Power supply for the bridge 57c66ec88fSEmmanuel Vadot 58c66ec88fSEmmanuel Vadotrequired: 59c66ec88fSEmmanuel Vadot - compatible 60c66ec88fSEmmanuel Vadot - ports 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel VadotadditionalProperties: false 63c66ec88fSEmmanuel Vadot 64c66ec88fSEmmanuel Vadotexamples: 65c66ec88fSEmmanuel Vadot - | 66c66ec88fSEmmanuel Vadot bridge { 67c66ec88fSEmmanuel Vadot compatible = "ti,ths8134a", "ti,ths8134"; 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel Vadot ports { 70c66ec88fSEmmanuel Vadot #address-cells = <1>; 71c66ec88fSEmmanuel Vadot #size-cells = <0>; 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot port@0 { 74c66ec88fSEmmanuel Vadot reg = <0>; 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadot vga_bridge_in: endpoint { 77c66ec88fSEmmanuel Vadot remote-endpoint = <&tcon0_out_vga>; 78c66ec88fSEmmanuel Vadot }; 79c66ec88fSEmmanuel Vadot }; 80c66ec88fSEmmanuel Vadot 81c66ec88fSEmmanuel Vadot port@1 { 82c66ec88fSEmmanuel Vadot reg = <1>; 83c66ec88fSEmmanuel Vadot 84c66ec88fSEmmanuel Vadot vga_bridge_out: endpoint { 85c66ec88fSEmmanuel Vadot remote-endpoint = <&vga_con_in>; 86c66ec88fSEmmanuel Vadot }; 87c66ec88fSEmmanuel Vadot }; 88c66ec88fSEmmanuel Vadot }; 89c66ec88fSEmmanuel Vadot }; 90c66ec88fSEmmanuel Vadot 91c66ec88fSEmmanuel Vadot... 92