From bedbef8ad3e75a304af6361af235302bcc61d06b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 14 May 2024 06:39:01 +0000 Subject: [PATCH] 修改内核路径 --- kernel/include/linux/regulator/machine.h | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/kernel/include/linux/regulator/machine.h b/kernel/include/linux/regulator/machine.h index a459a5e..8a56f03 100644 --- a/kernel/include/linux/regulator/machine.h +++ b/kernel/include/linux/regulator/machine.h @@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * machine.h -- SoC Regulator support, machine/board driver API. * * Copyright (C) 2007, 2008 Wolfson Microelectronics PLC. * * Author: Liam Girdwood <lrg@slimlogic.co.uk> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. * * Regulator Machine/Board Interface. */ @@ -104,6 +101,7 @@ * @system_load: Load that isn't captured by any consumer requests. * * @max_spread: Max possible spread between coupled regulators + * @max_uV_step: Max possible step change in voltage * @valid_modes_mask: Mask of modes which may be configured by consumers. * @valid_ops_mask: Operations which may be performed by consumers. * @@ -156,7 +154,10 @@ int system_load; /* used for coupled regulators */ - int max_spread; + u32 *max_spread; + + /* used for changing voltage in steps */ + int max_uV_step; /* valid regulator operating modes for this machine */ unsigned int valid_modes_mask; -- Gitblit v1.6.2