18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci    cs5345.h - definition for cs5345 inputs and outputs
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci    Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl)
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci*/
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifndef _CS5345_H_
108c2ecf20Sopenharmony_ci#define _CS5345_H_
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci/* CS5345 HW inputs */
138c2ecf20Sopenharmony_ci#define CS5345_IN_MIC 0
148c2ecf20Sopenharmony_ci#define CS5345_IN_1   1
158c2ecf20Sopenharmony_ci#define CS5345_IN_2   2
168c2ecf20Sopenharmony_ci#define CS5345_IN_3   3
178c2ecf20Sopenharmony_ci#define CS5345_IN_4   4
188c2ecf20Sopenharmony_ci#define CS5345_IN_5   5
198c2ecf20Sopenharmony_ci#define CS5345_IN_6   6
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#define CS5345_MCLK_1   0x00
228c2ecf20Sopenharmony_ci#define CS5345_MCLK_1_5 0x10
238c2ecf20Sopenharmony_ci#define CS5345_MCLK_2   0x20
248c2ecf20Sopenharmony_ci#define CS5345_MCLK_3   0x30
258c2ecf20Sopenharmony_ci#define CS5345_MCLK_4   0x40
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci#endif
28