<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Maxime Ripard <maxime@cerno.tech> 于2021年4月7日周三 下午6:46写道:<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 Wed, Mar 31, 2021 at 09:49:14AM +0800, Kevin Tang wrote:<br>
> Hi Maxime,<br>
> <br>
> Maxime Ripard <maxime@cerno.tech> 于2021年3月24日周三 下午7:13写道:<br>
> <br>
> > 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<br>
> > Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml<br>
> > ><br>
> > > diff --git<br>
> > a/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml<br>
> > b/Documentation/devicetree/bindings/display/sprd/sprd,sharkl3-dsi-host.yaml<br>
> > > new file mode 100644<br>
> > > index 000000000..d439f688f<br>
> > > --- /dev/null<br>
> > > +++<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:<br>
> > <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>
> ><br>
>  Our DSI controller don't support DCS now...<br>
<br>
I'm not sure I follow you, you mentionned in the patch 4 that you were<br>
testing for a device to be in command mode, how would that work without<br>
DCS support?<br></blockquote><div>Sorry, I see DCS as DSC, pls ignore my previous comments.</div><div><br></div><div>dsi input node is display controller and dsi output node is panel,</div><div>I still don't understand what it has to do with dcs? and it seems that other vendors also like this.</div><div><br></div><div>can you help provide some cases?</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>