<div dir="ltr"><div dir="ltr">Hi Maxime,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Maxime Ripard <maxime@cerno.tech> 于2021年3月24日周三 下午7:13写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Feb 22, 2021 at 09:28:21PM +0800, Kevin Tang wrote:<br>
> From: Kevin Tang <<a href="mailto:kevin.tang@unisoc.com" target="_blank">kevin.tang@unisoc.com</a>><br>
> <br>
> Adds MIPI DSI Controller<br>
> support for Unisoc's display subsystem.<br>
> <br>
> Cc: Orson Zhai <<a href="mailto:orsonzhai@gmail.com" target="_blank">orsonzhai@gmail.com</a>><br>
> Cc: Chunyan Zhang <<a href="mailto:zhang.lyra@gmail.com" target="_blank">zhang.lyra@gmail.com</a>><br>
> Signed-off-by: Kevin Tang <<a href="mailto:kevin.tang@unisoc.com" target="_blank">kevin.tang@unisoc.com</a>><br>
> Reviewed-by: Rob Herring <<a href="mailto:robh@kernel.org" target="_blank">robh@kernel.org</a>><br>
> ---<br>
>  .../display/sprd/sprd,sharkl3-dsi-host.yaml   | 102 ++++++++++++++++++<br>
>  1 file changed, 102 insertions(+)<br>
>  create mode 100644 Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml<br>
> <br>
> diff --git a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml<br>
> new file mode 100644<br>
> index 000000000..d439f688f<br>
> --- /dev/null<br>
> +++ b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml<br>
> @@ -0,0 +1,102 @@<br>
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)<br>
> +%YAML 1.2<br>
> +---<br>
> +$id: <a href="http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dsi-host.yaml#" rel="noreferrer" target="_blank">http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dsi-host.yaml#</a><br>
> +$schema: <a href="http://devicetree.org/meta-schemas/core.yaml#" rel="noreferrer" target="_blank">http://devicetree.org/meta-schemas/core.yaml#</a><br>
> +<br>
> +title: Unisoc MIPI DSI Controller<br>
> +<br>
> +maintainers:<br>
> +  - Kevin Tang <<a href="mailto:kevin.tang@unisoc.com" target="_blank">kevin.tang@unisoc.com</a>><br>
> +<br>
> +properties:<br>
> +  compatible:<br>
> +    const: sprd,sharkl3-dsi-host<br>
> +<br>
> +  reg:<br>
> +    maxItems: 1<br>
> +<br>
> +  interrupts:<br>
> +    maxItems: 2<br>
> +<br>
> +  clocks:<br>
> +    minItems: 1<br>
> +<br>
> +  clock-names:<br>
> +    items:<br>
> +      - const: clk_src_96m<br>
> +<br>
> +  power-domains:<br>
> +    maxItems: 1<br>
> +<br>
> +  ports:<br>
> +    type: object<br>
> +<br>
> +    properties:<br>
> +      "#address-cells":<br>
> +        const: 1<br>
> +<br>
> +      "#size-cells":<br>
> +        const: 0<br>
> +<br>
> +      port@0:<br>
> +        type: object<br>
> +        description:<br>
> +          A port node with endpoint definitions as defined in<br>
> +          Documentation/devicetree/bindings/media/video-interfaces.txt.<br>
> +          That port should be the input endpoint, usually coming from<br>
> +          the associated DPU.<br>
> +      port@1:<br>
> +        type: object<br>
> +        description:<br>
> +          A port node with endpoint definitions as defined in<br>
> +          Documentation/devicetree/bindings/media/video-interfaces.txt.<br>
> +          That port should be the output endpoint, usually output to<br>
> +          the associated panel.<br>
<br>
The DSI generic binding asks that peripherals that are controlled<br>
through a DCS be a subnode of the MIPI-DSI bus, not through a port<br>
endpoint.<br></blockquote><div> Our DSI controller don't support DCS now...</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Maxime<br>
</blockquote></div></div>