Path: blob/master/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1# Copyright 2019 Analogix Semiconductor, Inc.2%YAML 1.23---4$id: http://devicetree.org/schemas/display/bridge/analogix,anx7625.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Analogix ANX7625 SlimPort (4K Mobile HD Transmitter)89maintainers:10- Xin Ji <xji@analogixsemi.com>1112description: |13The ANX7625 is an ultra-low power 4K Mobile HD Transmitter14designed for portable devices.1516properties:17compatible:18const: analogix,anx76251920reg:21maxItems: 12223interrupts:24description: used for interrupt pin B8.25maxItems: 12627enable-gpios:28description: used for power on chip control, POWER_EN pin D2.29maxItems: 13031reset-gpios:32description: used for reset chip control, RESET_N pin B7.33maxItems: 13435vdd10-supply:36description: Regulator that provides the supply 1.0V power.3738vdd18-supply:39description: Regulator that provides the supply 1.8V power.4041vdd33-supply:42description: Regulator that provides the supply 3.3V power.4344analogix,lane0-swing:45$ref: /schemas/types.yaml#/definitions/uint8-array46minItems: 147maxItems: 2048description:49an array of swing register setting for DP tx lane0 PHY.50Registers 0~9 are Swing0_Pre0, Swing1_Pre0, Swing2_Pre0,51Swing3_Pre0, Swing0_Pre1, Swing1_Pre1, Swing2_Pre1, Swing0_Pre2,52Swing1_Pre2, Swing0_Pre3, they are for [Boost control] and53[Swing control] setting.54Registers 0~9, bit 3:0 is [Boost control], these bits control55post cursor manual, increase the [Boost control] to increase56Pre-emphasis value.57Registers 0~9, bit 6:4 is [Swing control], these bits control58swing manual, increase [Swing control] setting to add Vp-p value59for each Swing, Pre.60Registers 10~19 are Swing0_Pre0, Swing1_Pre0, Swing2_Pre0,61Swing3_Pre0, Swing0_Pre1, Swing1_Pre1, Swing2_Pre1, Swing0_Pre2,62Swing1_Pre2, Swing0_Pre3, they are for [R select control] and63[R Termination control] setting.64Registers 10~19, bit 4:0 is [R select control], these bits are65compensation manual, increase it can enhance IO driven strength66and Vp-p.67Registers 10~19, bit 5:6 is [R termination control], these bits68adjust 50ohm impedance of DP tx termination. 00:55 ohm,6901:50 ohm(default), 10:45 ohm, 11:40 ohm.7071analogix,lane1-swing:72$ref: /schemas/types.yaml#/definitions/uint8-array73minItems: 174maxItems: 2075description:76an array of swing register setting for DP tx lane1 PHY.77DP TX lane1 swing register setting same with lane078swing, please refer lane0-swing property description.7980analogix,audio-enable:81type: boolean82description: let the driver enable audio HDMI codec function or not.8384aux-bus:85$ref: /schemas/display/dp-aux-bus.yaml#8687ports:88$ref: /schemas/graph.yaml#/properties/ports8990properties:91port@0:92$ref: /schemas/graph.yaml#/$defs/port-base93unevaluatedProperties: false94description:95MIPI DSI/DPI input.9697properties:98endpoint:99$ref: /schemas/media/video-interfaces.yaml#100type: object101additionalProperties: false102103properties:104remote-endpoint: true105106bus-type:107enum: [7]108default: 1109110data-lanes: true111112port@1:113$ref: /schemas/graph.yaml#/properties/port114description:115Video port for panel or connector.116117required:118- port@0119- port@1120121required:122- compatible123- reg124- vdd10-supply125- vdd18-supply126- vdd33-supply127- ports128129additionalProperties: false130131examples:132- |133#include <dt-bindings/gpio/gpio.h>134135i2c {136#address-cells = <1>;137#size-cells = <0>;138139encoder@58 {140compatible = "analogix,anx7625";141reg = <0x58>;142enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;143reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;144vdd10-supply = <&pp1000_mipibrdg>;145vdd18-supply = <&pp1800_mipibrdg>;146vdd33-supply = <&pp3300_mipibrdg>;147analogix,audio-enable;148analogix,lane0-swing = /bits/ 8 <0x14 0x54 0x64 0x74>;149analogix,lane1-swing = /bits/ 8 <0x14 0x54 0x64 0x74>;150151ports {152#address-cells = <1>;153#size-cells = <0>;154155mipi2dp_bridge_in: port@0 {156reg = <0>;157anx7625_in: endpoint {158remote-endpoint = <&mipi_dsi>;159bus-type = <7>;160data-lanes = <0 1 2 3>;161};162};163164mipi2dp_bridge_out: port@1 {165reg = <1>;166anx7625_out: endpoint {167remote-endpoint = <&panel_in>;168};169};170};171172aux-bus {173panel {174compatible = "innolux,n125hce-gn1";175power-supply = <&pp3300_disp_x>;176backlight = <&backlight_lcd0>;177178port {179panel_in: endpoint {180remote-endpoint = <&anx7625_out>;181};182};183};184};185};186};187188189