cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

adau1977.h (689B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * ADAU1977/ADAU1978/ADAU1979 driver
      4 *
      5 * Copyright 2014 Analog Devices Inc.
      6 *  Author: Lars-Peter Clausen <lars@metafoo.de>
      7 */
      8
      9#ifndef __SOUND_SOC_CODECS_ADAU1977_H__
     10#define __SOUND_SOC_CODECS_ADAU1977_H__
     11
     12#include <linux/regmap.h>
     13
     14struct device;
     15
     16enum adau1977_type {
     17	ADAU1977,
     18	ADAU1978,
     19	ADAU1979,
     20};
     21
     22int adau1977_probe(struct device *dev, struct regmap *regmap,
     23	enum adau1977_type type, void (*switch_mode)(struct device *dev));
     24
     25extern const struct regmap_config adau1977_regmap_config;
     26
     27enum adau1977_clk_id {
     28	ADAU1977_SYSCLK,
     29};
     30
     31enum adau1977_sysclk_src {
     32	ADAU1977_SYSCLK_SRC_MCLK,
     33	ADAU1977_SYSCLK_SRC_LRCLK,
     34};
     35
     36#endif