uclass-id.h 553 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2013 Google, Inc
  3. *
  4. * (C) Copyright 2012
  5. * Pavel Herrmann <morpheus.ibis@gmail.com>
  6. *
  7. * SPDX-License-Identifier: GPL-2.0+
  8. */
  9. #ifndef _DM_UCLASS_ID_H
  10. #define _DM_UCLASS_ID_H
  11. /* TODO(sjg@chromium.org): this could be compile-time generated */
  12. enum uclass_id {
  13. /* These are used internally by driver model */
  14. UCLASS_ROOT = 0,
  15. UCLASS_DEMO,
  16. UCLASS_TEST,
  17. UCLASS_TEST_FDT,
  18. UCLASS_TEST_BUS,
  19. /* U-Boot uclasses start here */
  20. UCLASS_GPIO, /* Bank of general-purpose I/O pins */
  21. UCLASS_COUNT,
  22. UCLASS_INVALID = -1,
  23. };
  24. #endif