89 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dsi-host.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Unisoc MIPI DSI Controller8 9maintainers:10 - Kevin Tang <kevin.tang@unisoc.com>11 12properties:13 compatible:14 const: sprd,sharkl3-dsi-host15 16 reg:17 maxItems: 118 19 interrupts:20 maxItems: 221 22 clocks:23 minItems: 124 25 clock-names:26 items:27 - const: clk_src_96m28 29 power-domains:30 maxItems: 131 32 ports:33 type: object34 35 properties:36 "#address-cells":37 const: 138 39 "#size-cells":40 const: 041 42 port@0:43 type: object44 description:45 A port node with endpoint definitions as defined in46 Documentation/devicetree/bindings/media/video-interfaces.txt.47 That port should be the input endpoint, usually coming from48 the associated DPU.49 50 required:51 - "#address-cells"52 - "#size-cells"53 - port@054 55 additionalProperties: false56 57required:58 - compatible59 - reg60 - interrupts61 - clocks62 - clock-names63 - ports64 65additionalProperties: false66 67examples:68 - |69 #include <dt-bindings/interrupt-controller/arm-gic.h>70 #include <dt-bindings/clock/sprd,sc9860-clk.h>71 dsi: dsi@63100000 {72 compatible = "sprd,sharkl3-dsi-host";73 reg = <0x63100000 0x1000>;74 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,75 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;76 clock-names = "clk_src_96m";77 clocks = <&pll CLK_TWPLL_96M>;78 ports {79 #address-cells = <1>;80 #size-cells = <0>;81 port@0 {82 reg = <0>;83 dsi_in: endpoint {84 remote-endpoint = <&dpu_out>;85 };86 };87 };88 };89