sta2x11_vip.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. * You should have received a copy of the GNU General Public License
  14. * along with this program; if not, write to the Free Software
  15. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  16. *
  17. * Author: Anders Wallin <anders.wallin@windriver.com>
  18. *
  19. */
  20. #ifndef __STA2X11_VIP_H
  21. #define __STA2X11_VIP_H
  22. /**
  23. * struct vip_config - video input configuration data
  24. * @pwr_name: ADV powerdown name
  25. * @pwr_pin: ADV powerdown pin
  26. * @reset_name: ADV reset name
  27. * @reset_pin: ADV reset pin
  28. */
  29. struct vip_config {
  30. const char *pwr_name;
  31. int pwr_pin;
  32. const char *reset_name;
  33. int reset_pin;
  34. int i2c_id;
  35. int i2c_addr;
  36. };
  37. #endif /* __STA2X11_VIP_H */