1*e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*e67e8565SEmmanuel Vadot%YAML 1.2 3*e67e8565SEmmanuel Vadot--- 4*e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dsi-host.yaml# 5*e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*e67e8565SEmmanuel Vadot 7*e67e8565SEmmanuel Vadottitle: Unisoc MIPI DSI Controller 8*e67e8565SEmmanuel Vadot 9*e67e8565SEmmanuel Vadotmaintainers: 10*e67e8565SEmmanuel Vadot - Kevin Tang <kevin.tang@unisoc.com> 11*e67e8565SEmmanuel Vadot 12*e67e8565SEmmanuel Vadotproperties: 13*e67e8565SEmmanuel Vadot compatible: 14*e67e8565SEmmanuel Vadot const: sprd,sharkl3-dsi-host 15*e67e8565SEmmanuel Vadot 16*e67e8565SEmmanuel Vadot reg: 17*e67e8565SEmmanuel Vadot maxItems: 1 18*e67e8565SEmmanuel Vadot 19*e67e8565SEmmanuel Vadot interrupts: 20*e67e8565SEmmanuel Vadot maxItems: 2 21*e67e8565SEmmanuel Vadot 22*e67e8565SEmmanuel Vadot clocks: 23*e67e8565SEmmanuel Vadot minItems: 1 24*e67e8565SEmmanuel Vadot 25*e67e8565SEmmanuel Vadot clock-names: 26*e67e8565SEmmanuel Vadot items: 27*e67e8565SEmmanuel Vadot - const: clk_src_96m 28*e67e8565SEmmanuel Vadot 29*e67e8565SEmmanuel Vadot power-domains: 30*e67e8565SEmmanuel Vadot maxItems: 1 31*e67e8565SEmmanuel Vadot 32*e67e8565SEmmanuel Vadot ports: 33*e67e8565SEmmanuel Vadot type: object 34*e67e8565SEmmanuel Vadot 35*e67e8565SEmmanuel Vadot properties: 36*e67e8565SEmmanuel Vadot "#address-cells": 37*e67e8565SEmmanuel Vadot const: 1 38*e67e8565SEmmanuel Vadot 39*e67e8565SEmmanuel Vadot "#size-cells": 40*e67e8565SEmmanuel Vadot const: 0 41*e67e8565SEmmanuel Vadot 42*e67e8565SEmmanuel Vadot port@0: 43*e67e8565SEmmanuel Vadot type: object 44*e67e8565SEmmanuel Vadot description: 45*e67e8565SEmmanuel Vadot A port node with endpoint definitions as defined in 46*e67e8565SEmmanuel Vadot Documentation/devicetree/bindings/media/video-interfaces.txt. 47*e67e8565SEmmanuel Vadot That port should be the input endpoint, usually coming from 48*e67e8565SEmmanuel Vadot the associated DPU. 49*e67e8565SEmmanuel Vadot 50*e67e8565SEmmanuel Vadot required: 51*e67e8565SEmmanuel Vadot - "#address-cells" 52*e67e8565SEmmanuel Vadot - "#size-cells" 53*e67e8565SEmmanuel Vadot - port@0 54*e67e8565SEmmanuel Vadot 55*e67e8565SEmmanuel Vadot additionalProperties: false 56*e67e8565SEmmanuel Vadot 57*e67e8565SEmmanuel Vadotrequired: 58*e67e8565SEmmanuel Vadot - compatible 59*e67e8565SEmmanuel Vadot - reg 60*e67e8565SEmmanuel Vadot - interrupts 61*e67e8565SEmmanuel Vadot - clocks 62*e67e8565SEmmanuel Vadot - clock-names 63*e67e8565SEmmanuel Vadot - ports 64*e67e8565SEmmanuel Vadot 65*e67e8565SEmmanuel VadotadditionalProperties: false 66*e67e8565SEmmanuel Vadot 67*e67e8565SEmmanuel Vadotexamples: 68*e67e8565SEmmanuel Vadot - | 69*e67e8565SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 70*e67e8565SEmmanuel Vadot #include <dt-bindings/clock/sprd,sc9860-clk.h> 71*e67e8565SEmmanuel Vadot dsi: dsi@63100000 { 72*e67e8565SEmmanuel Vadot compatible = "sprd,sharkl3-dsi-host"; 73*e67e8565SEmmanuel Vadot reg = <0x63100000 0x1000>; 74*e67e8565SEmmanuel Vadot interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, 75*e67e8565SEmmanuel Vadot <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; 76*e67e8565SEmmanuel Vadot clock-names = "clk_src_96m"; 77*e67e8565SEmmanuel Vadot clocks = <&pll CLK_TWPLL_96M>; 78*e67e8565SEmmanuel Vadot ports { 79*e67e8565SEmmanuel Vadot #address-cells = <1>; 80*e67e8565SEmmanuel Vadot #size-cells = <0>; 81*e67e8565SEmmanuel Vadot port@0 { 82*e67e8565SEmmanuel Vadot reg = <0>; 83*e67e8565SEmmanuel Vadot dsi_in: endpoint { 84*e67e8565SEmmanuel Vadot remote-endpoint = <&dpu_out>; 85*e67e8565SEmmanuel Vadot }; 86*e67e8565SEmmanuel Vadot }; 87*e67e8565SEmmanuel Vadot }; 88*e67e8565SEmmanuel Vadot }; 89