++struct pmu_res_updown_tab_entry {
++ u8 resource; /* The resource number */
++ u16 updown; /* The updown value */
++};
++
++enum pmu_res_depend_tab_task {
++ PMU_RES_DEP_SET = 1,
++ PMU_RES_DEP_ADD,
++ PMU_RES_DEP_REMOVE,
++};
++
++struct pmu_res_depend_tab_entry {
++ u8 resource; /* The resource number */
++ u8 task; /* SET | ADD | REMOVE */
++ u32 depend; /* The depend mask */
++};
++
++static const struct pmu_res_updown_tab_entry pmu_res_updown_tab_4328a0[] = {
++ { .resource = SSB_PLLRES_4328_EXT_SWITCHER_PWM, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_BB_SWITCHER_PWM, .updown = 0x1F01, },
++ { .resource = SSB_PLLRES_4328_BB_SWITCHER_BURST, .updown = 0x010F, },
++ { .resource = SSB_PLLRES_4328_BB_EXT_SWITCHER_BURST, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_ILP_REQUEST, .updown = 0x0202, },
++ { .resource = SSB_PLLRES_4328_RADIO_SWITCHER_PWM, .updown = 0x0F01, },
++ { .resource = SSB_PLLRES_4328_RADIO_SWITCHER_BURST, .updown = 0x0F01, },
++ { .resource = SSB_PLLRES_4328_ROM_SWITCH, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_PA_REF_LDO, .updown = 0x0F01, },
++ { .resource = SSB_PLLRES_4328_RADIO_LDO, .updown = 0x0F01, },
++ { .resource = SSB_PLLRES_4328_AFE_LDO, .updown = 0x0F01, },
++ { .resource = SSB_PLLRES_4328_PLL_LDO, .updown = 0x0F01, },
++ { .resource = SSB_PLLRES_4328_BG_FILTBYP, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_TX_FILTBYP, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_RX_FILTBYP, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_XTAL_PU, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_XTAL_EN, .updown = 0xA001, },
++ { .resource = SSB_PLLRES_4328_BB_PLL_FILTBYP, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_RF_PLL_FILTBYP, .updown = 0x0101, },
++ { .resource = SSB_PLLRES_4328_BB_PLL_PU, .updown = 0x0701, },
++};
++
++static const struct pmu_res_depend_tab_entry pmu_res_depend_tab_4328a0[] = {
++ {
++ /* Adjust ILP Request to avoid forcing EXT/BB into burst mode. */
++ .resource = SSB_PLLRES_4328_ILP_REQUEST,
++ .task = PMU_RES_DEP_SET,
++ .depend = ((1 << SSB_PLLRES_4328_EXT_SWITCHER_PWM) |
++ (1 << SSB_PLLRES_4328_BB_SWITCHER_PWM)),
++ },
++};
++
++static const struct pmu_res_updown_tab_entry pmu_res_updown_tab_4325a0[] = {
++ { .resource = SSB_PLLRES_4325_XTAL_PU, .updown = 0x1501, },
++};
++
++static const struct pmu_res_depend_tab_entry pmu_res_depend_tab_4325a0[] = {
++ {
++ /* Adjust HT-Available dependencies. */
++ .resource = SSB_PLLRES_4325_HT_AVAIL,
++ .task = PMU_RES_DEP_ADD,
++ .depend = ((1 << SSB_PLLRES_4325_RX_PWRSW_PU) |
++ (1 << SSB_PLLRES_4325_TX_PWRSW_PU) |
++ (1 << SSB_PLLRES_4325_LOGEN_PWRSW_PU) |
++ (1 << SSB_PLLRES_4325_AFE_PWRSW_PU)),
++ },
++};
++