109453600SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
209453600SMaxime Ripard%YAML 1.2
309453600SMaxime Ripard---
409453600SMaxime Ripard$id: http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml#
509453600SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
609453600SMaxime Ripard
709453600SMaxime Ripardtitle: Broadcom VC4 (VideoCore4) DSI Controller
809453600SMaxime Ripard
909453600SMaxime Ripardmaintainers:
1009453600SMaxime Ripard  - Eric Anholt <eric@anholt.net>
1109453600SMaxime Ripard
1224d59795SRob HerringallOf:
1324d59795SRob Herring  - $ref: dsi-controller.yaml#
1424d59795SRob Herring
1509453600SMaxime Ripardproperties:
16fd26eea7SMaxime Ripard  "#clock-cells":
17fd26eea7SMaxime Ripard    const: 1
18fd26eea7SMaxime Ripard
1909453600SMaxime Ripard  compatible:
2009453600SMaxime Ripard    enum:
2100aedfa4SDave Stevenson      - brcm,bcm2711-dsi1
2209453600SMaxime Ripard      - brcm,bcm2835-dsi0
2309453600SMaxime Ripard      - brcm,bcm2835-dsi1
2409453600SMaxime Ripard
2509453600SMaxime Ripard  reg:
2609453600SMaxime Ripard    maxItems: 1
2709453600SMaxime Ripard
2809453600SMaxime Ripard  clocks:
2909453600SMaxime Ripard    items:
3009453600SMaxime Ripard      - description: The DSI PLL clock feeding the DSI analog PHY
3109453600SMaxime Ripard      - description: The DSI ESC clock
3209453600SMaxime Ripard      - description: The DSI pixel clock
3309453600SMaxime Ripard
34fd26eea7SMaxime Ripard  clock-names:
35fd26eea7SMaxime Ripard    items:
36fd26eea7SMaxime Ripard      - const: phy
37fd26eea7SMaxime Ripard      - const: escape
38fd26eea7SMaxime Ripard      - const: pixel
39fd26eea7SMaxime Ripard
4009453600SMaxime Ripard  clock-output-names: true
4109453600SMaxime Ripard    # FIXME: The meta-schemas don't seem to allow it for now
4209453600SMaxime Ripard    # items:
4309453600SMaxime Ripard    #   - description: The DSI byte clock for the PHY
4409453600SMaxime Ripard    #   - description: The DSI DDR2 clock
4509453600SMaxime Ripard    #   - description: The DSI DDR clock
4609453600SMaxime Ripard
4709453600SMaxime Ripard  interrupts:
4809453600SMaxime Ripard    maxItems: 1
4909453600SMaxime Ripard
50*82f811bdSStefan Wahren  power-domains:
51*82f811bdSStefan Wahren    maxItems: 1
52*82f811bdSStefan Wahren
5309453600SMaxime Ripardrequired:
54fd26eea7SMaxime Ripard  - "#clock-cells"
5509453600SMaxime Ripard  - compatible
5609453600SMaxime Ripard  - reg
5709453600SMaxime Ripard  - clocks
58fd26eea7SMaxime Ripard  - clock-names
5909453600SMaxime Ripard  - clock-output-names
6009453600SMaxime Ripard  - interrupts
6109453600SMaxime Ripard
6209453600SMaxime RipardunevaluatedProperties: false
6309453600SMaxime Ripard
6409453600SMaxime Ripardexamples:
6509453600SMaxime Ripard  - |
6609453600SMaxime Ripard    #include <dt-bindings/clock/bcm2835.h>
6709453600SMaxime Ripard
6809453600SMaxime Ripard    dsi1: dsi@7e700000 {
6909453600SMaxime Ripard        compatible = "brcm,bcm2835-dsi1";
7009453600SMaxime Ripard        reg = <0x7e700000 0x8c>;
7109453600SMaxime Ripard        interrupts = <2 12>;
7209453600SMaxime Ripard        #address-cells = <1>;
7309453600SMaxime Ripard        #size-cells = <0>;
7409453600SMaxime Ripard        #clock-cells = <1>;
7509453600SMaxime Ripard
7609453600SMaxime Ripard        clocks = <&clocks BCM2835_PLLD_DSI1>,
7709453600SMaxime Ripard                 <&clocks BCM2835_CLOCK_DSI1E>,
7809453600SMaxime Ripard                 <&clocks BCM2835_CLOCK_DSI1P>;
7909453600SMaxime Ripard        clock-names = "phy", "escape", "pixel";
8009453600SMaxime Ripard
8109453600SMaxime Ripard        clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
8209453600SMaxime Ripard
8309453600SMaxime Ripard    };
8409453600SMaxime Ripard
8509453600SMaxime Ripard...
86