db9bcd7bd9
Add support to dump client's GDSC registers when client passes a regulator(GDSC) handle to clock dump functions. While at it, increase the GDSC regmap size to include all GDSC registers. And for legacy HW, that only supports single GDSCR per GDSC, 'qcom,no-config-gdscr' flag can be specified in GDSC DT node to decrease the regmap size and map only single GDSCR. Change-Id: Ia03c647deae9ffe9df93be60abd901bef25c3503 Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
12 lines
273 B
C
12 lines
273 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __QCOM_GDSC_DEBUG_H__
|
|
#define __QCOM_GDSC_DEBUG_H__
|
|
|
|
void gdsc_debug_print_regs(struct regulator *regulator);
|
|
|
|
#endif /* __QCOM_GDSC_DEBUG_H__ */
|