rt5640.h 514 B

12345678910111213141516171819202122
  1. /*
  2. * linux/sound/rt5640.h -- Platform data for RT5640
  3. *
  4. * Copyright 2011 Realtek Microelectronics
  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 __LINUX_SND_RT5640_H
  11. #define __LINUX_SND_RT5640_H
  12. struct rt5640_platform_data {
  13. /* IN1 & IN2 can optionally be differential */
  14. bool in1_diff;
  15. bool in2_diff;
  16. int ldo1_en; /* GPIO for LDO1_EN */
  17. };
  18. #endif