mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
cnss2: Use empty tables for default regulators and clocks
Current default regulator and clock tables are for MSM platform only. Use empty tables for non-MSM platforms by default so that proper regulators and clocks can be added later based on platforms. Change-Id: I2705d8ca2a0fde636f346f01e677a762b4cf92b7 Signed-off-by: Yue Ma <yuem@codeaurora.org>
This commit is contained in:
parent
7141e265d8
commit
7e108a73af
1 changed files with 9 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. */
|
||||
/* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved. */
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/delay.h>
|
||||
|
|
@ -13,6 +13,7 @@
|
|||
#include "debug.h"
|
||||
#include "bus.h"
|
||||
|
||||
#if IS_ENABLED(CONFIG_ARCH_QCOM)
|
||||
static struct cnss_vreg_cfg cnss_vreg_list[] = {
|
||||
{"vdd-wlan-core", 1300000, 1300000, 0, 0, 0},
|
||||
{"vdd-wlan-io", 1800000, 1800000, 0, 0, 0},
|
||||
|
|
@ -34,6 +35,13 @@ static struct cnss_vreg_cfg cnss_vreg_list[] = {
|
|||
static struct cnss_clk_cfg cnss_clk_list[] = {
|
||||
{"rf_clk", 0, 0},
|
||||
};
|
||||
#else
|
||||
static struct cnss_vreg_cfg cnss_vreg_list[] = {
|
||||
};
|
||||
|
||||
static struct cnss_clk_cfg cnss_clk_list[] = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#define CNSS_VREG_INFO_SIZE ARRAY_SIZE(cnss_vreg_list)
|
||||
#define CNSS_CLK_INFO_SIZE ARRAY_SIZE(cnss_clk_list)
|
||||
|
|
|
|||
Loading…
Reference in a new issue