On 01/02/2016 12:25, Matthias Brugger wrote:
> On 27/01/16 12:29, John Crispin wrote:
>
> [...]
>
>>
>> +static int pwrap_mt2701_init_reg_clock(struct pmic_wrapper *wrp)
>> +{
>> +switch (wrp->slave->type) {
>> +case PMIC_MT6397:
>> +pwrap_writel(wrp, 0xc, PWRAP_RDDMY);
>> +
On 27/01/16 12:29, John Crispin wrote:
[...]
+static int pwrap_mt2701_init_reg_clock(struct pmic_wrapper *wrp)
+{
+ switch (wrp->slave->type) {
+ case PMIC_MT6397:
+ pwrap_writel(wrp, 0xc, PWRAP_RDDMY);
+ pwrap_writel(wrp, 0x4, PWRAP_CSHEXT_WRITE);
+
On 27/01/16 12:29, John Crispin wrote:
Add the registers, callbacks and data structures required to make the
wrapper work on MT2701 and MT7623.
Signed-off-by: John Crispin
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 160 ++
1 file changed, 160 insertions(+)
On 27/01/16 12:29, John Crispin wrote:
[...]
+static int pwrap_mt2701_init_reg_clock(struct pmic_wrapper *wrp)
+{
+ switch (wrp->slave->type) {
+ case PMIC_MT6397:
+ pwrap_writel(wrp, 0xc, PWRAP_RDDMY);
+ pwrap_writel(wrp, 0x4, PWRAP_CSHEXT_WRITE);
+
On 27/01/16 12:29, John Crispin wrote:
Add the registers, callbacks and data structures required to make the
wrapper work on MT2701 and MT7623.
Signed-off-by: John Crispin
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 160 ++
1 file
On 01/02/2016 12:25, Matthias Brugger wrote:
> On 27/01/16 12:29, John Crispin wrote:
>
> [...]
>
>>
>> +static int pwrap_mt2701_init_reg_clock(struct pmic_wrapper *wrp)
>> +{
>> +switch (wrp->slave->type) {
>> +case PMIC_MT6397:
>> +pwrap_writel(wrp, 0xc, PWRAP_RDDMY);
>> +
Add the registers, callbacks and data structures required to make the
wrapper work on MT2701 and MT7623.
Signed-off-by: John Crispin
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 160 ++
1 file changed, 160 insertions(+)
diff --git
Add the registers, callbacks and data structures required to make the
wrapper work on MT2701 and MT7623.
Signed-off-by: John Crispin
---
drivers/soc/mediatek/mtk-pmic-wrap.c | 160 ++
1 file changed, 160 insertions(+)
diff --git
8 matches
Mail list logo