RE: [PATCH v1 2/2] dt-bindings: extcon: Add Realtek DHC RTD SoC Type-C
From: Stanley Chang[昌育德]
Date: Thu Aug 24 2023 - 06:06:28 EST
Hi Krzysztof,
> On 24/08/2023 11:23, Stanley Chang[昌育德] wrote:
> >>>
> >>>>>
> >>>>> And I will add “connector” to the title.
> >>>>> title: Realtek DHC RTD SoCs USB Type-C Connector detection
> >>>>
> >>>> So usb...
> >>>
> >>> I refer to this binding, and it is in folder bindings/extcon.
> >>> docs/devicetree/bindings/extcon/extcon-usbc-cros-ec.yaml
> >>> Title: ChromeOS EC USB Type-C Cable and Accessory Detection
> >>
> >> So maybe it should be moved as well?
> >>
> >> extcon is a Linux framework. If you think extcon is a type of
> >> hardware, then please tell me what it is exactly. Please define it.
> >> And then I wonder why the name "extcon" is anyhow connected to Type-C
> USB.
> >>
> >
> > Well, from my point of view. extcon stands for External Connector.
>
> For connectors we have separate directory - connector. So no, it is not an
> external connector.
>
> Anyway type "external connector" to Wikipedia or some hardware
> manufacturer website and find me examples of such hardware. It does not
> exist.
>
> > HDMI connector, micro USB connector, type-c connector are all a kind of
> hardware, they are external connectors.
>
> You did not write here bindings for connector...
>
> > I think the Type-C connector is a kind of extcon.
>
> There is no such thing as extcon. Otherwise please show me datasheets using
> this name. Show me Wikipedia article.
>
> > Of course, I agree that Type-C is part of USB.
> >
> > So this binding can be usb or extcon, I don't think it is strictly restricted.
>
Well~
I have no position to argue this issue.
I agree to move this binding to usb directory
But what's up with this directory "Documentation/devicetree/bindings/extcon/" ?
What binding can be placed in this directory?
Thanks,
Stanley