The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/display/rockchip/rockchip-lvds.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Rockchip RK3288 LVDS interface
    2 ================================
    3 
    4 Required properties:
    5 - compatible: matching the soc type, one of
    6         - "rockchip,rk3288-lvds";
    7         - "rockchip,px30-lvds";
    8 
    9 - reg: physical base address of the controller and length
   10         of memory mapped region.
   11 - clocks: must include clock specifiers corresponding to entries in the
   12         clock-names property.
   13 - clock-names: must contain "pclk_lvds"
   14 
   15 - avdd1v0-supply: regulator phandle for 1.0V analog power
   16 - avdd1v8-supply: regulator phandle for 1.8V analog power
   17 - avdd3v3-supply: regulator phandle for 3.3V analog power
   18 
   19 - rockchip,grf: phandle to the general register files syscon
   20 - rockchip,output: "rgb", "lvds" or "duallvds", This describes the output interface
   21 
   22 - phys: LVDS/DSI DPHY (px30 only)
   23 - phy-names: name of the PHY, must be "dphy" (px30 only)
   24 
   25 Optional properties:
   26 - pinctrl-names: must contain a "lcdc" entry.
   27 - pinctrl-0: pin control group to be used for this controller.
   28 
   29 Required nodes:
   30 
   31 The lvds has two video ports as described by
   32         Documentation/devicetree/bindings/media/video-interfaces.txt
   33 Their connections are modeled using the OF graph bindings specified in
   34         Documentation/devicetree/bindings/graph.txt.
   35 
   36 - video port 0 for the VOP input, the remote endpoint maybe vopb or vopl
   37 - video port 1 for either a panel or subsequent encoder
   38 
   39 Example:
   40 
   41 lvds_panel: lvds-panel {
   42         compatible = "auo,b101ean01";
   43         enable-gpios = <&gpio7 21 GPIO_ACTIVE_HIGH>;
   44         data-mapping = "jeida-24";
   45 
   46         ports {
   47                 panel_in_lvds: endpoint {
   48                         remote-endpoint = <&lvds_out_panel>;
   49                 };
   50         };
   51 };
   52 
   53 For Rockchip RK3288:
   54 
   55         lvds: lvds@ff96c000 {
   56                 compatible = "rockchip,rk3288-lvds";
   57                 rockchip,grf = <&grf>;
   58                 reg = <0xff96c000 0x4000>;
   59                 clocks = <&cru PCLK_LVDS_PHY>;
   60                 clock-names = "pclk_lvds";
   61                 pinctrl-names = "lcdc";
   62                 pinctrl-0 = <&lcdc_ctl>;
   63                 avdd1v0-supply = <&vdd10_lcd>;
   64                 avdd1v8-supply = <&vcc18_lcd>;
   65                 avdd3v3-supply = <&vcca_33>;
   66                 rockchip,output = "rgb";
   67                 ports {
   68                         #address-cells = <1>;
   69                         #size-cells = <0>;
   70 
   71                         lvds_in: port@0 {
   72                                 reg = <0>;
   73 
   74                                 lvds_in_vopb: endpoint@0 {
   75                                         reg = <0>;
   76                                         remote-endpoint = <&vopb_out_lvds>;
   77                                 };
   78                                 lvds_in_vopl: endpoint@1 {
   79                                         reg = <1>;
   80                                         remote-endpoint = <&vopl_out_lvds>;
   81                                 };
   82                         };
   83 
   84                         lvds_out: port@1 {
   85                                 reg = <1>;
   86 
   87                                 lvds_out_panel: endpoint {
   88                                         remote-endpoint = <&panel_in_lvds>;
   89                                 };
   90                         };
   91                 };
   92         };

Cache object: df1c2a1b53084d876309d5cb12c87532


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.