pcm1789.h 493 B

1234567891011121314151617
  1. // SPDX-License-Identifier: GPL-2.0
  2. // Definitions for PCM1789 audio driver
  3. // Copyright (C) 2018 Bootlin
  4. // Mylène Josserand <[email protected]>
  5. #ifndef __PCM1789_H__
  6. #define __PCM1789_H__
  7. #define PCM1789_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \
  8. SNDRV_PCM_FMTBIT_S16_LE)
  9. extern const struct regmap_config pcm1789_regmap_config;
  10. int pcm1789_common_init(struct device *dev, struct regmap *regmap);
  11. void pcm1789_common_exit(struct device *dev);
  12. #endif