#include <linux/delay.h>
#include <linux/io.h>
#include <brcm_hw_ids.h>
#include <chipcommon.h>
#include <brcmu_utils.h>
#include "pub.h"
#include "aiutils.h"
#include "pmu.h"
#include "soc.h"
Go to the source code of this file.
#define ALP_CLOCK 20000000 |
Definition at line 56 of file pmu.c.
Definition at line 31 of file pmu.c.
Definition at line 38 of file pmu.c.
Definition at line 53 of file pmu.c.
#define PCTL_ALP_REQ_EN 0x00000080 |
Definition at line 46 of file pmu.c.
#define PCTL_HT_REQ_EN 0x00000100 |
Definition at line 45 of file pmu.c.
#define PCTL_ILP_DIV_EN 0x00000002 |
Definition at line 49 of file pmu.c.
#define PCTL_ILP_DIV_MASK 0xffff0000 |
Definition at line 41 of file pmu.c.
#define PCTL_ILP_DIV_SHIFT 16 |
Definition at line 42 of file pmu.c.
#define PCTL_LPO_SEL 0x00000001 |
Definition at line 50 of file pmu.c.
#define PCTL_NOILP_ON_WAIT 0x00000200 /* rev 1 */ |
Definition at line 44 of file pmu.c.
#define PCTL_PLL_PLLCTL_UPD 0x00000400 /* rev 2 */ |
Definition at line 43 of file pmu.c.
#define PCTL_XTALFREQ_MASK 0x0000007c |
Definition at line 47 of file pmu.c.
#define PCTL_XTALFREQ_SHIFT 2 |
Definition at line 48 of file pmu.c.
#define PMU_XTALFREQ_REG_ILPCTR_MASK 0x00001FFF |
Definition at line 79 of file pmu.c.
#define PMU_XTALFREQ_REG_MEASURE_MASK 0x80000000 |
Definition at line 80 of file pmu.c.
#define PMU_XTALFREQ_REG_MEASURE_SHIFT 31 |
Definition at line 81 of file pmu.c.
#define PMURES_BIT |
( |
|
bit | ) |
(1 << (bit)) |
Definition at line 71 of file pmu.c.
#define PST_ALPAVAIL 0x0008 |
Definition at line 66 of file pmu.c.
#define PST_EXTLPOAVAIL 0x0100 |
Definition at line 59 of file pmu.c.
#define PST_HTAVAIL 0x0004 |
Definition at line 67 of file pmu.c.
#define PST_INTPEND 0x0040 |
Definition at line 61 of file pmu.c.
#define PST_RESINIT 0x0003 |
Definition at line 68 of file pmu.c.
#define PST_SBCLKST 0x0030 |
Definition at line 62 of file pmu.c.
#define PST_SBCLKST_ALP 0x0020 |
Definition at line 64 of file pmu.c.
#define PST_SBCLKST_HT 0x0030 |
Definition at line 65 of file pmu.c.
#define PST_SBCLKST_ILP 0x0010 |
Definition at line 63 of file pmu.c.
#define PST_WDRESET 0x0080 |
Definition at line 60 of file pmu.c.
#define RES4313_AFE_PWRSW_RSRC 7 |
Definition at line 91 of file pmu.c.
#define RES4313_ALP_AVAIL_RSRC 3 |
Definition at line 87 of file pmu.c.
#define RES4313_BB_PLL_PWRSW_RSRC 13 |
Definition at line 97 of file pmu.c.
#define RES4313_BB_PU_RSRC 0 |
Definition at line 84 of file pmu.c.
#define RES4313_BB_PWRSW_RSRC 10 |
Definition at line 94 of file pmu.c.
#define RES4313_BG_PU_RSRC 5 |
Definition at line 89 of file pmu.c.
#define RES4313_HT_AVAIL_RSRC 14 |
Definition at line 98 of file pmu.c.
#define RES4313_ILP_REQ_RSRC 1 |
Definition at line 85 of file pmu.c.
#define RES4313_MACPHY_CLK_AVAIL_RSRC 15 |
Definition at line 99 of file pmu.c.
#define RES4313_MISC_PWRSW_RSRC 12 |
Definition at line 96 of file pmu.c.
#define RES4313_RADIO_PU_RSRC 4 |
Definition at line 88 of file pmu.c.
#define RES4313_RX_PWRSW_RSRC 8 |
Definition at line 92 of file pmu.c.
#define RES4313_SYNTH_PWRSW_RSRC 11 |
Definition at line 95 of file pmu.c.
#define RES4313_TX_PWRSW_RSRC 9 |
Definition at line 93 of file pmu.c.
#define RES4313_VREG1P4_PU_RSRC 6 |
Definition at line 90 of file pmu.c.
#define RES4313_XTAL_PU_RSRC 2 |
Definition at line 86 of file pmu.c.