wm8775.h 736 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. wm8775.h - definition for wm8775 inputs and outputs
  4. Copyright (C) 2006 Hans Verkuil ([email protected])
  5. */
  6. #ifndef _WM8775_H_
  7. #define _WM8775_H_
  8. /* The WM8775 has 4 inputs and one output. Zero or more inputs
  9. are multiplexed together to the output. Hence there are
  10. 16 combinations.
  11. If only one input is active (the normal case) then the
  12. input values 1, 2, 4 or 8 should be used. */
  13. #define WM8775_AIN1 1
  14. #define WM8775_AIN2 2
  15. #define WM8775_AIN3 4
  16. #define WM8775_AIN4 8
  17. struct wm8775_platform_data {
  18. /*
  19. * FIXME: Instead, we should parameterize the params
  20. * that need different settings between ivtv, pvrusb2, and Nova-S
  21. */
  22. bool is_nova_s;
  23. };
  24. #endif