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

adav80x.h (721B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * header file for ADAV80X parts
      4 *
      5 * Copyright 2011 Analog Devices Inc.
      6 */
      7
      8#ifndef _ADAV80X_H
      9#define _ADAV80X_H
     10
     11#include <linux/regmap.h>
     12
     13struct device;
     14
     15extern const struct regmap_config adav80x_regmap_config;
     16int adav80x_bus_probe(struct device *dev, struct regmap *regmap);
     17
     18enum adav80x_pll_src {
     19	ADAV80X_PLL_SRC_XIN,
     20	ADAV80X_PLL_SRC_XTAL,
     21	ADAV80X_PLL_SRC_MCLKI,
     22};
     23
     24enum adav80x_pll {
     25	ADAV80X_PLL1 = 0,
     26	ADAV80X_PLL2 = 1,
     27};
     28
     29enum adav80x_clk_src {
     30	ADAV80X_CLK_XIN = 0,
     31	ADAV80X_CLK_MCLKI = 1,
     32	ADAV80X_CLK_PLL1 = 2,
     33	ADAV80X_CLK_PLL2 = 3,
     34	ADAV80X_CLK_XTAL = 6,
     35
     36	ADAV80X_CLK_SYSCLK1 = 6,
     37	ADAV80X_CLK_SYSCLK2 = 7,
     38	ADAV80X_CLK_SYSCLK3 = 8,
     39};
     40
     41#endif