mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 11:11:22 -04:00
Revert "staging: brcm80211: separate hndpmu functionality for brcmsmac driver"
This reverts commit 29811f9d89 as it depends on
another patch that was not yet applied.
Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d7918e6c65
commit
c142eae26d
@@ -38,7 +38,6 @@ BRCMSMAC_OFILES := \
|
||||
wlc_channel.o \
|
||||
wlc_main.o \
|
||||
wlc_phy_shim.o \
|
||||
wlc_pmu.o \
|
||||
wlc_rate.o \
|
||||
wlc_stf.o \
|
||||
phy/wlc_phy_cmn.o \
|
||||
@@ -53,6 +52,7 @@ BRCMSMAC_OFILES := \
|
||||
../util/bcmotp.o \
|
||||
../util/bcmsrom.o \
|
||||
../util/hnddma.o \
|
||||
../util/hndpmu.o \
|
||||
../util/nicpci.o \
|
||||
../util/qmath.o \
|
||||
../util/nvram/nvram_ro.o
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2011 Broadcom Corporation
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
||||
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
||||
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef WLC_PMU_H_
|
||||
#define WLC_PMU_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <siutils.h>
|
||||
|
||||
/*
|
||||
* LDO selections used in si_pmu_set_ldo_voltage
|
||||
*/
|
||||
#define SET_LDO_VOLTAGE_LDO1 1
|
||||
#define SET_LDO_VOLTAGE_LDO2 2
|
||||
#define SET_LDO_VOLTAGE_LDO3 3
|
||||
#define SET_LDO_VOLTAGE_PAREF 4
|
||||
#define SET_LDO_VOLTAGE_CLDO_PWM 5
|
||||
#define SET_LDO_VOLTAGE_CLDO_BURST 6
|
||||
#define SET_LDO_VOLTAGE_CBUCK_PWM 7
|
||||
#define SET_LDO_VOLTAGE_CBUCK_BURST 8
|
||||
#define SET_LDO_VOLTAGE_LNLDO1 9
|
||||
#define SET_LDO_VOLTAGE_LNLDO2_SEL 10
|
||||
|
||||
extern void si_pmu_set_ldo_voltage(si_t *sih, u8 ldo, u8 voltage);
|
||||
extern u16 si_pmu_fast_pwrup_delay(si_t *sih);
|
||||
extern void si_pmu_sprom_enable(si_t *sih, bool enable);
|
||||
extern u32 si_pmu_chipcontrol(si_t *sih, uint reg, u32 mask, u32 val);
|
||||
extern u32 si_pmu_regcontrol(si_t *sih, uint reg, u32 mask, u32 val);
|
||||
extern u32 si_pmu_ilp_clock(si_t *sih);
|
||||
extern u32 si_pmu_alp_clock(si_t *sih);
|
||||
extern void si_pmu_pllupd(si_t *sih);
|
||||
extern void si_pmu_spuravoid(si_t *sih, u8 spuravoid);
|
||||
extern u32 si_pmu_pllcontrol(si_t *sih, uint reg, u32 mask, u32 val);
|
||||
extern void si_pmu_init(si_t *sih);
|
||||
extern void si_pmu_chip_init(si_t *sih);
|
||||
extern void si_pmu_pll_init(si_t *sih, u32 xtalfreq);
|
||||
extern void si_pmu_res_init(si_t *sih);
|
||||
extern void si_pmu_swreg_init(si_t *sih);
|
||||
extern u32 si_pmu_measure_alpclk(si_t *sih);
|
||||
extern bool si_pmu_is_otp_powered(si_t *sih);
|
||||
extern void si_pmu_otp_power(si_t *sih, bool on);
|
||||
|
||||
#endif /* WLC_PMU_H_ */
|
||||
Reference in New Issue
Block a user