tpa6130a2-plat.h 971 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * TPA6130A2 driver platform header
  3. *
  4. * Copyright (C) Nokia Corporation
  5. *
  6. * Written by Peter Ujfalusi <peter.ujfalusi@nokia.com>
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License
  10. * version 2 as published by the Free Software Foundation.
  11. *
  12. * This program is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. * 02110-1301 USA
  21. */
  22. #ifndef TPA6130A2_PLAT_H
  23. #define TPA6130A2_PLAT_H
  24. enum tpa_model {
  25. TPA6130A2,
  26. TPA6140A2,
  27. };
  28. struct tpa6130a2_platform_data {
  29. enum tpa_model id;
  30. int power_gpio;
  31. };
  32. #endif