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)
39 lines
645 B
C
39 lines
645 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2019 MediaTek Inc.
|
|
*/
|
|
|
|
#ifndef __LINUX_REGULATOR_MT6315_H
|
|
#define __LINUX_REGULATOR_MT6315_H
|
|
|
|
#define MT6315_SLAVE_ID_3 3
|
|
#define MT6315_SLAVE_ID_6 6
|
|
#define MT6315_SLAVE_ID_7 7
|
|
|
|
enum {
|
|
MT6315_ID_6_VBUCK1 = 0,
|
|
MT6315_ID_6_VBUCK3,
|
|
#if defined(CONFIG_MACH_MT6877)
|
|
MT6315_ID_6_VBUCK4,
|
|
#endif
|
|
MT6315_ID_6_MAX,
|
|
};
|
|
|
|
enum {
|
|
MT6315_ID_7_VBUCK1 = 0,
|
|
MT6315_ID_7_VBUCK3,
|
|
#if defined(CONFIG_MACH_MT6893)
|
|
MT6315_ID_7_VBUCK4,
|
|
#endif
|
|
MT6315_ID_7_MAX,
|
|
};
|
|
|
|
enum {
|
|
MT6315_ID_3_VBUCK1 = 0,
|
|
MT6315_ID_3_VBUCK3,
|
|
MT6315_ID_3_VBUCK4,
|
|
MT6315_ID_3_MAX,
|
|
};
|
|
|
|
#endif /* __LINUX_REGULATOR_MT6315_H */
|