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/brcm,bcm2835-dsi0.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Broadcom VC4 (VideoCore4) DSI Controller
0008 
0009 maintainers:
0010   - Eric Anholt <eric@anholt.net>
0011 
0012 allOf:
0013   - $ref: dsi-controller.yaml#
0014 
0015 properties:
0016   "#clock-cells":
0017     const: 1
0018 
0019   compatible:
0020     enum:
0021       - brcm,bcm2711-dsi1
0022       - brcm,bcm2835-dsi0
0023       - brcm,bcm2835-dsi1
0024 
0025   reg:
0026     maxItems: 1
0027 
0028   clocks:
0029     items:
0030       - description: The DSI PLL clock feeding the DSI analog PHY
0031       - description: The DSI ESC clock
0032       - description: The DSI pixel clock
0033 
0034   clock-names:
0035     items:
0036       - const: phy
0037       - const: escape
0038       - const: pixel
0039 
0040   clock-output-names: true
0041     # FIXME: The meta-schemas don't seem to allow it for now
0042     # items:
0043     #   - description: The DSI byte clock for the PHY
0044     #   - description: The DSI DDR2 clock
0045     #   - description: The DSI DDR clock
0046 
0047   interrupts:
0048     maxItems: 1
0049 
0050   power-domains:
0051     maxItems: 1
0052 
0053 required:
0054   - "#clock-cells"
0055   - compatible
0056   - reg
0057   - clocks
0058   - clock-names
0059   - clock-output-names
0060   - interrupts
0061 
0062 unevaluatedProperties: false
0063 
0064 examples:
0065   - |
0066     #include <dt-bindings/clock/bcm2835.h>
0067 
0068     dsi1: dsi@7e700000 {
0069         compatible = "brcm,bcm2835-dsi1";
0070         reg = <0x7e700000 0x8c>;
0071         interrupts = <2 12>;
0072         #address-cells = <1>;
0073         #size-cells = <0>;
0074         #clock-cells = <1>;
0075 
0076         clocks = <&clocks BCM2835_PLLD_DSI1>,
0077                  <&clocks BCM2835_CLOCK_DSI1E>,
0078                  <&clocks BCM2835_CLOCK_DSI1P>;
0079         clock-names = "phy", "escape", "pixel";
0080 
0081         clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
0082 
0083     };
0084 
0085 ...