Re: [PATCH v1 2/2] dt-bindings: extcon: Add Realtek DHC RTD SoC Type-C

From: Krzysztof Kozlowski
Date: Thu Aug 24 2023 - 05:57:04 EST


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.



Best regards,
Krzysztof