]> git.baikalelectronics.ru Git - uboot.git/commit
phy: stm32-usbphyc: use connector for vbus-supply with phy-stm32-usbphyc
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 14 Sep 2021 12:31:16 +0000 (14:31 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:19:59 +0000 (08:19 +0200)
commit377d3269acfd30a4c57c5dc2c872a3b41fa4290e
tree755f1dfad5fa7bf0f1681093b3700bba65b240fb
parentfe0fa8c6bc04a0b0221d41b973098e22bc6f3925
phy: stm32-usbphyc: use connector for vbus-supply with phy-stm32-usbphyc

The vbus-supply is an optional property of sub-node connector node.
and no more in the usb phyc node (in first proposed binding).

This regulator for USB VBUS may be needed for host mode.

See the latest kernel binding for details in
Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml.

  usbphyc_port0: usb-phy@0 {
      reg = <0>;
      phy-supply = <&vdd_usb>;
      #phy-cells = <0>;
      connector {
          compatible = "usb-a-connector";
          vbus-supply = <&vbus_sw>;
      };
  };

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/phy/phy-stm32-usbphyc.c