[Linux-stm32] [PATCH 1/4] dt-bindings: usb: typec: add bindings for stm32g0 controller
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed Jul 6 07:06:13 UTC 2022
On 04/07/2022 11:08, Fabrice Gasnier wrote:
> On 7/4/22 09:55, Krzysztof Kozlowski wrote:
>> On 01/07/2022 12:04, Fabrice Gasnier wrote:
>>>
>>> Then I no longer get this warning upon build. But the dtbs_check complains:
>>> ---
>>> connector: ports: 'port at 0' is a required property
>>> From schema: ..
>>> Documentation/devicetree/bindings/connector/usb-connector.yaml
>>>
>>> So It looks like to me there's something missing to handle the single
>>> port case in usb-connector.yaml, when using the "ports".
>>>
>>> Maybe usb-connector could be updated to handle "port" (w/o unit-addr) ?
>>
>> Not really, the dtc warning looks false-positive. Especially that you
>> need port at 1 for USB 3.0 (super speed), unless you do not support it?
>
> Hi Krzysztof,
>
> Having USB2.0 High speed port only is perfectly valid. port at 1 is
> optional to support USB3.0 as you mention.
>
> I've no opinion regarding a possible false positive warning. I'd like to
> sort this out, perhaps Rob has some recommendation regarding this ?
I would propose to skip the DTC warning and stick to the schema with
only one port at 0.
Best regards,
Krzysztof
More information about the Linux-stm32
mailing list