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/allwinner,sun6i-a31-mipi-dsi.yaml

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 # SPDX-License-Identifier: GPL-2.0
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/display/allwinner,sun6i-a31-mipi-dsi.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Allwinner A31 MIPI-DSI Controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Chen-Yu Tsai <wens@csie.org>
   11   - Maxime Ripard <mripard@kernel.org>
   12 
   13 properties:
   14   compatible:
   15     enum:
   16       - allwinner,sun6i-a31-mipi-dsi
   17       - allwinner,sun50i-a64-mipi-dsi
   18 
   19   reg:
   20     maxItems: 1
   21 
   22   interrupts:
   23     maxItems: 1
   24 
   25   clocks:
   26     minItems: 1
   27     items:
   28       - description: Bus Clock
   29       - description: Module Clock
   30 
   31   clock-names:
   32     items:
   33       - const: bus
   34       - const: mod
   35 
   36   resets:
   37     maxItems: 1
   38 
   39   vcc-dsi-supply:
   40     description: VCC-DSI power supply of the DSI encoder
   41 
   42   phys:
   43     maxItems: 1
   44 
   45   phy-names:
   46     const: dphy
   47 
   48   port:
   49     $ref: /schemas/graph.yaml#/properties/port
   50     description:
   51       The port should be the input endpoint, usually coming from the
   52       associated TCON.
   53 
   54 required:
   55   - compatible
   56   - reg
   57   - interrupts
   58   - clocks
   59   - phys
   60   - phy-names
   61   - resets
   62   - vcc-dsi-supply
   63   - port
   64 
   65 allOf:
   66   - $ref: dsi-controller.yaml#
   67   - if:
   68       properties:
   69         compatible:
   70           contains:
   71             const: allwinner,sun6i-a31-mipi-dsi
   72 
   73     then:
   74       properties:
   75         clocks:
   76           minItems: 2
   77 
   78       required:
   79         - clock-names
   80 
   81   - if:
   82       properties:
   83         compatible:
   84           contains:
   85             const: allwinner,sun50i-a64-mipi-dsi
   86 
   87     then:
   88       properties:
   89         clocks:
   90           minItems: 1
   91 
   92 unevaluatedProperties: false
   93 
   94 examples:
   95   - |
   96     dsi0: dsi@1ca0000 {
   97         compatible = "allwinner,sun6i-a31-mipi-dsi";
   98         reg = <0x01ca0000 0x1000>;
   99         interrupts = <0 89 4>;
  100         clocks = <&ccu 23>, <&ccu 96>;
  101         clock-names = "bus", "mod";
  102         resets = <&ccu 4>;
  103         phys = <&dphy0>;
  104         phy-names = "dphy";
  105         vcc-dsi-supply = <&reg_dcdc1>;
  106         #address-cells = <1>;
  107         #size-cells = <0>;
  108 
  109         panel@0 {
  110                 compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
  111                 reg = <0>;
  112                 power-supply = <&reg_display>;
  113                 reset-gpios = <&r_pio 0 5 1>; /* PL05 */
  114                 backlight = <&pwm_bl>;
  115         };
  116 
  117         port {
  118             dsi0_in_tcon0: endpoint {
  119                 remote-endpoint = <&tcon0_out_dsi0>;
  120             };
  121         };
  122     };
  123 
  124 ...

Cache object: ceab4bdf23d789020e15ab026302d0f8


[ 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.