android_kernel_samsung_sm8650/drivers/regulator/qti-fixed-regulator.c
David Collins 8e130374fe regulator: add QTI fixed voltage regulator driver
Add a new QTI fixed voltage regulator driver that is derived from
the fixed voltage regulator driver.  Use this to provide support
for proxy consumer voting and debug features required on Qualcomm
Technologies, Inc. boards.  Implement this driver as a wrapper
around fixed.c with #ifdef directives so that future updates to
fixed.c are applied automatically to qti-fixed-regulator.c.

Add support to enforce proxy consumer requests defined in device
tree for qti-fixed-regulator devices.  These can be used to ensure
that regulators are not accidentally disabled before all consumers
have had a chance to make their own requests.

Change-Id: If4cf664b3f6a8214256a4b2de753f7ff27aa864e
Signed-off-by: David Collins <collinsd@codeaurora.org>
2022-05-27 15:28:42 -07:00

6 lines
158 B
C

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2020, The Linux Foundation. All rights reserved. */
#define QTI_FIXED_REGULATOR
#include "fixed.c"