mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
regulator: ab8500: Drop AB8540/9540 support
The AB8540 was an evolved version of the AB8500, but it was never mass produced or put into products, only reference designs exist. The upstream support was never completed and it is unlikely that this will happen so drop the support for now to simplify maintenance of the AB8500. Cc: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
60cc43fc88
commit
ec1ba3e519
File diff suppressed because it is too large
Load Diff
@ -49,47 +49,7 @@ enum ab8505_regulator_id {
|
|||||||
AB8505_NUM_REGULATORS,
|
AB8505_NUM_REGULATORS,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* AB9540 regulators */
|
/* AB8500 and AB8505 register initialization */
|
||||||
enum ab9540_regulator_id {
|
|
||||||
AB9540_LDO_AUX1,
|
|
||||||
AB9540_LDO_AUX2,
|
|
||||||
AB9540_LDO_AUX3,
|
|
||||||
AB9540_LDO_AUX4,
|
|
||||||
AB9540_LDO_INTCORE,
|
|
||||||
AB9540_LDO_TVOUT,
|
|
||||||
AB9540_LDO_USB,
|
|
||||||
AB9540_LDO_AUDIO,
|
|
||||||
AB9540_LDO_ANAMIC1,
|
|
||||||
AB9540_LDO_ANAMIC2,
|
|
||||||
AB9540_LDO_DMIC,
|
|
||||||
AB9540_LDO_ANA,
|
|
||||||
AB9540_SYSCLKREQ_2,
|
|
||||||
AB9540_SYSCLKREQ_4,
|
|
||||||
AB9540_NUM_REGULATORS,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* AB8540 regulators */
|
|
||||||
enum ab8540_regulator_id {
|
|
||||||
AB8540_LDO_AUX1,
|
|
||||||
AB8540_LDO_AUX2,
|
|
||||||
AB8540_LDO_AUX3,
|
|
||||||
AB8540_LDO_AUX4,
|
|
||||||
AB8540_LDO_AUX5,
|
|
||||||
AB8540_LDO_AUX6,
|
|
||||||
AB8540_LDO_INTCORE,
|
|
||||||
AB8540_LDO_TVOUT,
|
|
||||||
AB8540_LDO_AUDIO,
|
|
||||||
AB8540_LDO_ANAMIC1,
|
|
||||||
AB8540_LDO_ANAMIC2,
|
|
||||||
AB8540_LDO_DMIC,
|
|
||||||
AB8540_LDO_ANA,
|
|
||||||
AB8540_LDO_SDIO,
|
|
||||||
AB8540_SYSCLKREQ_2,
|
|
||||||
AB8540_SYSCLKREQ_4,
|
|
||||||
AB8540_NUM_REGULATORS,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* AB8500, AB8505, and AB9540 register initialization */
|
|
||||||
struct ab8500_regulator_reg_init {
|
struct ab8500_regulator_reg_init {
|
||||||
int id;
|
int id;
|
||||||
u8 mask;
|
u8 mask;
|
||||||
@ -185,121 +145,6 @@ enum ab8505_regulator_reg {
|
|||||||
AB8505_NUM_REGULATOR_REGISTERS,
|
AB8505_NUM_REGULATOR_REGISTERS,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* AB9540 registers */
|
|
||||||
enum ab9540_regulator_reg {
|
|
||||||
AB9540_REGUREQUESTCTRL1,
|
|
||||||
AB9540_REGUREQUESTCTRL2,
|
|
||||||
AB9540_REGUREQUESTCTRL3,
|
|
||||||
AB9540_REGUREQUESTCTRL4,
|
|
||||||
AB9540_REGUSYSCLKREQ1HPVALID1,
|
|
||||||
AB9540_REGUSYSCLKREQ1HPVALID2,
|
|
||||||
AB9540_REGUHWHPREQ1VALID1,
|
|
||||||
AB9540_REGUHWHPREQ1VALID2,
|
|
||||||
AB9540_REGUHWHPREQ2VALID1,
|
|
||||||
AB9540_REGUHWHPREQ2VALID2,
|
|
||||||
AB9540_REGUSWHPREQVALID1,
|
|
||||||
AB9540_REGUSWHPREQVALID2,
|
|
||||||
AB9540_REGUSYSCLKREQVALID1,
|
|
||||||
AB9540_REGUSYSCLKREQVALID2,
|
|
||||||
AB9540_REGUVAUX4REQVALID,
|
|
||||||
AB9540_REGUMISC1,
|
|
||||||
AB9540_VAUDIOSUPPLY,
|
|
||||||
AB9540_REGUCTRL1VAMIC,
|
|
||||||
AB9540_VSMPS1REGU,
|
|
||||||
AB9540_VSMPS2REGU,
|
|
||||||
AB9540_VSMPS3REGU, /* NOTE! PRCMU register */
|
|
||||||
AB9540_VPLLVANAREGU,
|
|
||||||
AB9540_EXTSUPPLYREGU,
|
|
||||||
AB9540_VAUX12REGU,
|
|
||||||
AB9540_VRF1VAUX3REGU,
|
|
||||||
AB9540_VSMPS1SEL1,
|
|
||||||
AB9540_VSMPS1SEL2,
|
|
||||||
AB9540_VSMPS1SEL3,
|
|
||||||
AB9540_VSMPS2SEL1,
|
|
||||||
AB9540_VSMPS2SEL2,
|
|
||||||
AB9540_VSMPS2SEL3,
|
|
||||||
AB9540_VSMPS3SEL1, /* NOTE! PRCMU register */
|
|
||||||
AB9540_VSMPS3SEL2, /* NOTE! PRCMU register */
|
|
||||||
AB9540_VAUX1SEL,
|
|
||||||
AB9540_VAUX2SEL,
|
|
||||||
AB9540_VRF1VAUX3SEL,
|
|
||||||
AB9540_REGUCTRL2SPARE,
|
|
||||||
AB9540_VAUX4REQCTRL,
|
|
||||||
AB9540_VAUX4REGU,
|
|
||||||
AB9540_VAUX4SEL,
|
|
||||||
AB9540_REGUCTRLDISCH,
|
|
||||||
AB9540_REGUCTRLDISCH2,
|
|
||||||
AB9540_REGUCTRLDISCH3,
|
|
||||||
AB9540_NUM_REGULATOR_REGISTERS,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* AB8540 registers */
|
|
||||||
enum ab8540_regulator_reg {
|
|
||||||
AB8540_REGUREQUESTCTRL1,
|
|
||||||
AB8540_REGUREQUESTCTRL2,
|
|
||||||
AB8540_REGUREQUESTCTRL3,
|
|
||||||
AB8540_REGUREQUESTCTRL4,
|
|
||||||
AB8540_REGUSYSCLKREQ1HPVALID1,
|
|
||||||
AB8540_REGUSYSCLKREQ1HPVALID2,
|
|
||||||
AB8540_REGUHWHPREQ1VALID1,
|
|
||||||
AB8540_REGUHWHPREQ1VALID2,
|
|
||||||
AB8540_REGUHWHPREQ2VALID1,
|
|
||||||
AB8540_REGUHWHPREQ2VALID2,
|
|
||||||
AB8540_REGUSWHPREQVALID1,
|
|
||||||
AB8540_REGUSWHPREQVALID2,
|
|
||||||
AB8540_REGUSYSCLKREQVALID1,
|
|
||||||
AB8540_REGUSYSCLKREQVALID2,
|
|
||||||
AB8540_REGUVAUX4REQVALID,
|
|
||||||
AB8540_REGUVAUX5REQVALID,
|
|
||||||
AB8540_REGUVAUX6REQVALID,
|
|
||||||
AB8540_REGUVCLKBREQVALID,
|
|
||||||
AB8540_REGUVRF1REQVALID,
|
|
||||||
AB8540_REGUMISC1,
|
|
||||||
AB8540_VAUDIOSUPPLY,
|
|
||||||
AB8540_REGUCTRL1VAMIC,
|
|
||||||
AB8540_VHSIC,
|
|
||||||
AB8540_VSDIO,
|
|
||||||
AB8540_VSMPS1REGU,
|
|
||||||
AB8540_VSMPS2REGU,
|
|
||||||
AB8540_VSMPS3REGU,
|
|
||||||
AB8540_VPLLVANAREGU,
|
|
||||||
AB8540_EXTSUPPLYREGU,
|
|
||||||
AB8540_VAUX12REGU,
|
|
||||||
AB8540_VRF1VAUX3REGU,
|
|
||||||
AB8540_VSMPS1SEL1,
|
|
||||||
AB8540_VSMPS1SEL2,
|
|
||||||
AB8540_VSMPS1SEL3,
|
|
||||||
AB8540_VSMPS2SEL1,
|
|
||||||
AB8540_VSMPS2SEL2,
|
|
||||||
AB8540_VSMPS2SEL3,
|
|
||||||
AB8540_VSMPS3SEL1,
|
|
||||||
AB8540_VSMPS3SEL2,
|
|
||||||
AB8540_VAUX1SEL,
|
|
||||||
AB8540_VAUX2SEL,
|
|
||||||
AB8540_VRF1VAUX3SEL,
|
|
||||||
AB8540_REGUCTRL2SPARE,
|
|
||||||
AB8540_VAUX4REQCTRL,
|
|
||||||
AB8540_VAUX4REGU,
|
|
||||||
AB8540_VAUX4SEL,
|
|
||||||
AB8540_VAUX5REQCTRL,
|
|
||||||
AB8540_VAUX5REGU,
|
|
||||||
AB8540_VAUX5SEL,
|
|
||||||
AB8540_VAUX6REQCTRL,
|
|
||||||
AB8540_VAUX6REGU,
|
|
||||||
AB8540_VAUX6SEL,
|
|
||||||
AB8540_VCLKBREQCTRL,
|
|
||||||
AB8540_VCLKBREGU,
|
|
||||||
AB8540_VCLKBSEL,
|
|
||||||
AB8540_VRF1REQCTRL,
|
|
||||||
AB8540_REGUCTRLDISCH,
|
|
||||||
AB8540_REGUCTRLDISCH2,
|
|
||||||
AB8540_REGUCTRLDISCH3,
|
|
||||||
AB8540_REGUCTRLDISCH4,
|
|
||||||
AB8540_VSIMSYSCLKCTRL,
|
|
||||||
AB8540_VANAVPLLSEL,
|
|
||||||
AB8540_NUM_REGULATOR_REGISTERS,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* AB8500 external regulators */
|
/* AB8500 external regulators */
|
||||||
struct ab8500_ext_regulator_cfg {
|
struct ab8500_ext_regulator_cfg {
|
||||||
bool hwreq; /* requires hw mode or high power mode */
|
bool hwreq; /* requires hw mode or high power mode */
|
||||||
|
Loading…
Reference in New Issue
Block a user