mbox series

[0/3] arm64: dts: qcom: rb3gen2: add second USB port

Message ID 20240904-b4-rb3gen2-usb2-v1-0-b858e681195e@linaro.org (mailing list archive)
Headers show
Series arm64: dts: qcom: rb3gen2: add second USB port | expand

Message

Caleb Connolly Sept. 4, 2024, 11:16 a.m. UTC
Make the necessary adjustments to enable the secondary USB controller,
which is routed directly to a micro-USB port. This is intended for
debugging via EUD, and is otherwise useful as a host-facing port with
mass storage or network gadgets, allowing the type-c to be used with a
hub.

Peripheral mode has been tested with a network gadget, but I don't have
the necessary hardware on hand to test host mode.

---
Caleb Connolly (3):
      arm64: dts: qcom: sc7280: convert usb_2 to support multiple ports
      arm64: dts: qcom: qcs6490-rb3gen2: make node names consistent
      arm64: dts: qcom: qcs6490-rb3gen2: describe secondary USB port

 arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 75 ++++++++++++++++++++++++++--
 arch/arm64/boot/dts/qcom/sc7280.dtsi         | 18 +++++--
 2 files changed, 87 insertions(+), 6 deletions(-)
---
base-commit: ecc768a84f0b8e631986f9ade3118fa37852fef0

// Caleb (they/them)

Comments

Rob Herring (Arm) Sept. 4, 2024, 1:36 p.m. UTC | #1
On Wed, 04 Sep 2024 13:16:23 +0200, Caleb Connolly wrote:
> Make the necessary adjustments to enable the secondary USB controller,
> which is routed directly to a micro-USB port. This is intended for
> debugging via EUD, and is otherwise useful as a host-facing port with
> mass storage or network gadgets, allowing the type-c to be used with a
> hub.
> 
> Peripheral mode has been tested with a network gadget, but I don't have
> the necessary hardware on hand to test host mode.
> 
> ---
> Caleb Connolly (3):
>       arm64: dts: qcom: sc7280: convert usb_2 to support multiple ports
>       arm64: dts: qcom: qcs6490-rb3gen2: make node names consistent
>       arm64: dts: qcom: qcs6490-rb3gen2: describe secondary USB port
> 
>  arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 75 ++++++++++++++++++++++++++--
>  arch/arm64/boot/dts/qcom/sc7280.dtsi         | 18 +++++--
>  2 files changed, 87 insertions(+), 6 deletions(-)
> ---
> base-commit: ecc768a84f0b8e631986f9ade3118fa37852fef0
> 
> // Caleb (they/them)
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y qcom/qcs6490-rb3gen2.dtb' for 20240904-b4-rb3gen2-usb2-v1-0-b858e681195e@linaro.org:

arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtb: usb@8cf8800: usb@8c00000:ports:port@1: 'reg' is a required property
	from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml#
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtb: usb@8cf8800: usb@8c00000: Unevaluated properties are not allowed ('ports' was unexpected)
	from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml#
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtb: usb@8cf8800: usb@8c00000: Unevaluated properties are not allowed ('ports' was unexpected)
	from schema $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml#
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtb: usb@8c00000: ports:port@1: 'reg' is a required property
	from schema $id: http://devicetree.org/schemas/usb/snps,dwc3.yaml#
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtb: usb@8c00000: Unevaluated properties are not allowed ('ports' was unexpected)
	from schema $id: http://devicetree.org/schemas/usb/snps,dwc3.yaml#
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtb: connector-usb2: compatible: 'oneOf' conditional failed, one must be fixed:
	['gpio-usb-b-connector'] is too short
	'gpio-usb-b-connector' is not one of ['usb-a-connector', 'usb-b-connector', 'usb-c-connector']
	'samsung,usb-connector-11pin' was expected
	from schema $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtb: connector-usb2: 'anyOf' conditional failed, one must be fixed:
	'vbus-gpios' is a required property
	'id-gpios' is a required property
	from schema $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dtb: connector-usb2: Unevaluated properties are not allowed ('compatible', 'id-gpio', 'vbus-gpio' were unexpected)
	from schema $id: http://devicetree.org/schemas/connector/usb-connector.yaml#