icnss2: Add support to vote for SMPS

This change will add support to vote for SMPS node if
regulator handle is provided in DTS source.

Change-Id: I7519b6c2b93c85a4f4bf7e26ca0b72ef03df094b
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
This commit is contained in:
Sandeep Singh 2021-06-07 15:41:19 +05:30 • committed by Gerrit - the friendly Code Review server
commit 1d1b0056f9

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
*/
#include <linux/clk.h>
#include <linux/delay.h>
@ -26,6 +26,7 @@ static struct icnss_vreg_cfg icnss_adrestea_vreg_list[] = {
{"vdd-1.3-rfa", 1304000, 1304000, 0, 0, 0, false, true},
{"vdd-3.3-ch1", 3312000, 3312000, 0, 0, 0, false, true},
{"vdd-3.3-ch0", 3312000, 3312000, 0, 0, 0, false, true},
{"vdd-smps", 984000, 984000, 0, 0, 0, false, true},
};
static struct icnss_clk_cfg icnss_clk_list[] = {