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)
31 lines
622 B
C
31 lines
622 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __ADAU1373_H__
|
|
#define __ADAU1373_H__
|
|
|
|
enum adau1373_pll_src {
|
|
ADAU1373_PLL_SRC_MCLK1 = 0,
|
|
ADAU1373_PLL_SRC_BCLK1 = 1,
|
|
ADAU1373_PLL_SRC_BCLK2 = 2,
|
|
ADAU1373_PLL_SRC_BCLK3 = 3,
|
|
ADAU1373_PLL_SRC_LRCLK1 = 4,
|
|
ADAU1373_PLL_SRC_LRCLK2 = 5,
|
|
ADAU1373_PLL_SRC_LRCLK3 = 6,
|
|
ADAU1373_PLL_SRC_GPIO1 = 7,
|
|
ADAU1373_PLL_SRC_GPIO2 = 8,
|
|
ADAU1373_PLL_SRC_GPIO3 = 9,
|
|
ADAU1373_PLL_SRC_GPIO4 = 10,
|
|
ADAU1373_PLL_SRC_MCLK2 = 11,
|
|
};
|
|
|
|
enum adau1373_pll {
|
|
ADAU1373_PLL1 = 0,
|
|
ADAU1373_PLL2 = 1,
|
|
};
|
|
|
|
enum adau1373_clk_src {
|
|
ADAU1373_CLK_SRC_PLL1 = 0,
|
|
ADAU1373_CLK_SRC_PLL2 = 1,
|
|
};
|
|
|
|
#endif
|