blob: d41e4dca3fcc777cef87cb1b1850ea81a0bd9e84 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 cs5345.h - definition for cs5345 inputs and outputs
4
5 Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl)
6
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007*/
8
9#ifndef _CS5345_H_
10#define _CS5345_H_
11
12/* CS5345 HW inputs */
13#define CS5345_IN_MIC 0
14#define CS5345_IN_1 1
15#define CS5345_IN_2 2
16#define CS5345_IN_3 3
17#define CS5345_IN_4 4
18#define CS5345_IN_5 5
19#define CS5345_IN_6 6
20
21#define CS5345_MCLK_1 0x00
22#define CS5345_MCLK_1_5 0x10
23#define CS5345_MCLK_2 0x20
24#define CS5345_MCLK_3 0x30
25#define CS5345_MCLK_4 0x40
26
27#endif