swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: d1221cea11fca0f6946bdd032a45b22cecfc0f99 authored by Linus Torvalds on 13 September 2022, 13:11:38 UTC
Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Tip revision: d1221ce
cs5345.h
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
    cs5345.h - definition for cs5345 inputs and outputs

    Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl)

*/

#ifndef _CS5345_H_
#define _CS5345_H_

/* CS5345 HW inputs */
#define CS5345_IN_MIC 0
#define CS5345_IN_1   1
#define CS5345_IN_2   2
#define CS5345_IN_3   3
#define CS5345_IN_4   4
#define CS5345_IN_5   5
#define CS5345_IN_6   6

#define CS5345_MCLK_1   0x00
#define CS5345_MCLK_1_5 0x10
#define CS5345_MCLK_2   0x20
#define CS5345_MCLK_3   0x30
#define CS5345_MCLK_4   0x40

#endif
back to top