extcon-sandbox.c 360 B

1234567891011121314151617
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (c) 2022 Svyatoslav Ryhel <clamor95@gmail.com>
  4. */
  5. #include <dm.h>
  6. static const struct udevice_id sandbox_extcon_ids[] = {
  7. { .compatible = "sandbox,extcon" },
  8. { /* sentinel */ }
  9. };
  10. U_BOOT_DRIVER(extcon_sandbox) = {
  11. .name = "extcon_sandbox",
  12. .id = UCLASS_EXTCON,
  13. .of_match = sandbox_extcon_ids,
  14. };