Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
26 lines
561 B
C
26 lines
561 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __INCLUDED_TEA6420__
|
|
#define __INCLUDED_TEA6420__
|
|
|
|
/* input pins */
|
|
#define TEA6420_OUTPUT1 1
|
|
#define TEA6420_OUTPUT2 2
|
|
#define TEA6420_OUTPUT3 3
|
|
#define TEA6420_OUTPUT4 4
|
|
|
|
/* output pins */
|
|
#define TEA6420_INPUT1 1
|
|
#define TEA6420_INPUT2 2
|
|
#define TEA6420_INPUT3 3
|
|
#define TEA6420_INPUT4 4
|
|
#define TEA6420_INPUT5 5
|
|
#define TEA6420_INPUT6 6
|
|
|
|
/* gain on the output pins, ORed with the output pin */
|
|
#define TEA6420_GAIN0 0x00
|
|
#define TEA6420_GAIN2 0x20
|
|
#define TEA6420_GAIN4 0x40
|
|
#define TEA6420_GAIN6 0x60
|
|
|
|
#endif
|