0114-dt-bindings-usb-mtu3-remove-dummy-clocks-and-add-opt.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From 2c90367440a0dbf9962e7a7f701b0e7a320d325a Mon Sep 17 00:00:00 2001
  2. From: Chunfeng Yun <[email protected]>
  3. Date: Fri, 13 Oct 2017 17:10:48 +0800
  4. Subject: [PATCH 114/224] dt-bindings: usb: mtu3: remove dummy clocks and add
  5. optional ones
  6. Remove dummy clocks for usb wakeup and add optional ones for
  7. mcu_bus and dma_bus bus.
  8. Signed-off-by: Chunfeng Yun <[email protected]>
  9. Signed-off-by: Felipe Balbi <[email protected]>
  10. ---
  11. Documentation/devicetree/bindings/usb/mediatek,mtu3.txt | 10 ++++------
  12. 1 file changed, 4 insertions(+), 6 deletions(-)
  13. --- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
  14. +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
  15. @@ -14,9 +14,9 @@ Required properties:
  16. - vusb33-supply : regulator of USB avdd3.3v
  17. - clocks : a list of phandle + clock-specifier pairs, one for each
  18. entry in clock-names
  19. - - clock-names : must contain "sys_ck" and "ref_ck" for clock of controller;
  20. - "wakeup_deb_p0" and "wakeup_deb_p1" are optional, they are
  21. - depends on "mediatek,enable-wakeup"
  22. + - clock-names : must contain "sys_ck" for clock of controller,
  23. + the following clocks are optional:
  24. + "ref_ck", "mcu_ck" and "dam_ck";
  25. - phys : a list of phandle + phy specifier pairs
  26. - dr_mode : should be one of "host", "peripheral" or "otg",
  27. refer to usb/generic.txt
  28. @@ -65,9 +65,7 @@ ssusb: usb@11271000 {
  29. clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>,
  30. <&pericfg CLK_PERI_USB0>,
  31. <&pericfg CLK_PERI_USB1>;
  32. - clock-names = "sys_ck", "ref_ck",
  33. - "wakeup_deb_p0",
  34. - "wakeup_deb_p1";
  35. + clock-names = "sys_ck", "ref_ck";
  36. vusb33-supply = <&mt6397_vusb_reg>;
  37. vbus-supply = <&usb_p0_vbus>;
  38. extcon = <&extcon_usb>;