Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/bridge/anx6345.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Analogix ANX6345 eDP Transmitter Device Tree Bindings
0008 
0009 maintainers:
0010   - Torsten Duwe <duwe@lst.de>
0011 
0012 description: |
0013   The ANX6345 is an ultra-low power Full-HD eDP transmitter designed for
0014   portable devices.
0015 
0016 properties:
0017   compatible:
0018     const: analogix,anx6345
0019 
0020   reg:
0021     maxItems: 1
0022     description: base I2C address of the device
0023 
0024   reset-gpios:
0025     maxItems: 1
0026     description: GPIO connected to active low reset
0027 
0028   dvdd12-supply:
0029     description: Regulator for 1.2V digital core power.
0030 
0031   dvdd25-supply:
0032     description: Regulator for 2.5V digital core power.
0033 
0034   ports:
0035     $ref: /schemas/graph.yaml#/properties/ports
0036 
0037     properties:
0038       port@0:
0039         $ref: /schemas/graph.yaml#/properties/port
0040         description:
0041           Video port for LVTTL input
0042 
0043       port@1:
0044         $ref: /schemas/graph.yaml#/properties/port
0045         description:
0046           Video port for eDP output (panel or connector).
0047           May be omitted if EDID works reliably.
0048 
0049     required:
0050       - port@0
0051 
0052 required:
0053   - compatible
0054   - reg
0055   - reset-gpios
0056   - dvdd12-supply
0057   - dvdd25-supply
0058   - ports
0059 
0060 additionalProperties: false
0061 
0062 examples:
0063   - |
0064     i2c0 {
0065       #address-cells = <1>;
0066       #size-cells = <0>;
0067 
0068       anx6345: anx6345@38 {
0069         compatible = "analogix,anx6345";
0070         reg = <0x38>;
0071         reset-gpios = <&pio42 1 /* GPIO_ACTIVE_LOW */>;
0072         dvdd25-supply = <&reg_dldo2>;
0073         dvdd12-supply = <&reg_fldo1>;
0074 
0075         ports {
0076           #address-cells = <1>;
0077           #size-cells = <0>;
0078 
0079           anx6345_in: port@0 {
0080             reg = <0>;
0081             anx6345_in_tcon0: endpoint {
0082               remote-endpoint = <&tcon0_out_anx6345>;
0083             };
0084           };
0085 
0086           anx6345_out: port@1 {
0087             reg = <1>;
0088             anx6345_out_panel: endpoint {
0089               remote-endpoint = <&panel_in_edp>;
0090             };
0091           };
0092         };
0093       };
0094     };