xusb-padctl-dummy.c 674 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0
  5. */
  6. #include <common.h>
  7. #include <errno.h>
  8. #include <asm/arch-tegra/xusb-padctl.h>
  9. struct tegra_xusb_phy * __weak tegra_xusb_phy_get(unsigned int type)
  10. {
  11. return NULL;
  12. }
  13. int __weak tegra_xusb_phy_prepare(struct tegra_xusb_phy *phy)
  14. {
  15. return -ENOSYS;
  16. }
  17. int __weak tegra_xusb_phy_enable(struct tegra_xusb_phy *phy)
  18. {
  19. return -ENOSYS;
  20. }
  21. int __weak tegra_xusb_phy_disable(struct tegra_xusb_phy *phy)
  22. {
  23. return -ENOSYS;
  24. }
  25. int __weak tegra_xusb_phy_unprepare(struct tegra_xusb_phy *phy)
  26. {
  27. return -ENOSYS;
  28. }
  29. void __weak tegra_xusb_padctl_init(const void *fdt)
  30. {
  31. }