1*74ba9207SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */ 2b5dcee22SMauro Carvalho Chehab /* 3b5dcee22SMauro Carvalho Chehab cs5345.h - definition for cs5345 inputs and outputs 4b5dcee22SMauro Carvalho Chehab 5b5dcee22SMauro Carvalho Chehab Copyright (C) 2007 Hans Verkuil (hverkuil@xs4all.nl) 6b5dcee22SMauro Carvalho Chehab 7b5dcee22SMauro Carvalho Chehab */ 8b5dcee22SMauro Carvalho Chehab 9b5dcee22SMauro Carvalho Chehab #ifndef _CS5345_H_ 10b5dcee22SMauro Carvalho Chehab #define _CS5345_H_ 11b5dcee22SMauro Carvalho Chehab 12b5dcee22SMauro Carvalho Chehab /* CS5345 HW inputs */ 13b5dcee22SMauro Carvalho Chehab #define CS5345_IN_MIC 0 14b5dcee22SMauro Carvalho Chehab #define CS5345_IN_1 1 15b5dcee22SMauro Carvalho Chehab #define CS5345_IN_2 2 16b5dcee22SMauro Carvalho Chehab #define CS5345_IN_3 3 17b5dcee22SMauro Carvalho Chehab #define CS5345_IN_4 4 18b5dcee22SMauro Carvalho Chehab #define CS5345_IN_5 5 19b5dcee22SMauro Carvalho Chehab #define CS5345_IN_6 6 20b5dcee22SMauro Carvalho Chehab 21b5dcee22SMauro Carvalho Chehab #define CS5345_MCLK_1 0x00 22b5dcee22SMauro Carvalho Chehab #define CS5345_MCLK_1_5 0x10 23b5dcee22SMauro Carvalho Chehab #define CS5345_MCLK_2 0x20 24b5dcee22SMauro Carvalho Chehab #define CS5345_MCLK_3 0x30 25b5dcee22SMauro Carvalho Chehab #define CS5345_MCLK_4 0x40 26b5dcee22SMauro Carvalho Chehab 27b5dcee22SMauro Carvalho Chehab #endif 28