sta2x11_vip.h 949 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (c) 2011 Wind River Systems, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. * See the GNU General Public License for more details.
  12. *
  13. * Author: Anders Wallin <anders.wallin@windriver.com>
  14. *
  15. */
  16. #ifndef __STA2X11_VIP_H
  17. #define __STA2X11_VIP_H
  18. /**
  19. * struct vip_config - video input configuration data
  20. * @pwr_name: ADV powerdown name
  21. * @pwr_pin: ADV powerdown pin
  22. * @reset_name: ADV reset name
  23. * @reset_pin: ADV reset pin
  24. */
  25. struct vip_config {
  26. const char *pwr_name;
  27. int pwr_pin;
  28. const char *reset_name;
  29. int reset_pin;
  30. int i2c_id;
  31. int i2c_addr;
  32. };
  33. #endif /* __STA2X11_VIP_H */