ak4641.h 622 B

123456789101112131415161718192021222324252627
  1. /*
  2. * AK4641 ALSA SoC Codec driver
  3. *
  4. * Copyright 2009 Philipp Zabel
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __AK4641_H
  11. #define __AK4641_H
  12. /**
  13. * struct ak4641_platform_data - platform specific AK4641 configuration
  14. * @gpio_power: GPIO to control external power to AK4641
  15. * @gpio_npdn: GPIO connected to AK4641 nPDN pin
  16. *
  17. * Both GPIO parameters are optional.
  18. */
  19. struct ak4641_platform_data {
  20. int gpio_power;
  21. int gpio_npdn;
  22. };
  23. #endif /* __AK4641_H */