wm8711.h 684 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * wm8711.h -- WM8711 Soc Audio driver
  4. *
  5. * Copyright 2006 Wolfson Microelectronics
  6. *
  7. * Author: Mike Arthur <linux@wolfsonmicro.com>
  8. *
  9. * Based on wm8731.h
  10. */
  11. #ifndef _WM8711_H
  12. #define _WM8711_H
  13. /* WM8711 register space */
  14. #define WM8711_LOUT1V 0x02
  15. #define WM8711_ROUT1V 0x03
  16. #define WM8711_APANA 0x04
  17. #define WM8711_APDIGI 0x05
  18. #define WM8711_PWR 0x06
  19. #define WM8711_IFACE 0x07
  20. #define WM8711_SRATE 0x08
  21. #define WM8711_ACTIVE 0x09
  22. #define WM8711_RESET 0x0f
  23. #define WM8711_CACHEREGNUM 8
  24. #define WM8711_SYSCLK 0
  25. #define WM8711_DAI 0
  26. struct wm8711_setup_data {
  27. unsigned short i2c_address;
  28. };
  29. #endif