[PATCH 0/2] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC MFD integration

AngeloGioacchino Del Regno posted 2 patches 1 month ago
.../devicetree/bindings/mfd/mt6397.txt        |   2 +
drivers/mfd/mt6397-core.c                     |  47 ++
drivers/mfd/mt6397-irq.c                      |   9 +-
include/linux/mfd/mt6331/core.h               |  53 ++
include/linux/mfd/mt6331/registers.h          | 584 ++++++++++++++++
include/linux/mfd/mt6332/core.h               |  53 ++
include/linux/mfd/mt6332/registers.h          | 642 ++++++++++++++++++
include/linux/mfd/mt6397/core.h               |   2 +
8 files changed, 1391 insertions(+), 1 deletion(-)
create mode 100644 include/linux/mfd/mt6331/core.h
create mode 100644 include/linux/mfd/mt6331/registers.h
create mode 100644 include/linux/mfd/mt6332/core.h
create mode 100644 include/linux/mfd/mt6332/registers.h
[PATCH 0/2] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC MFD integration
Posted by AngeloGioacchino Del Regno 1 month ago
In an effort to give some love to the apparently forgotten MT6795 SoC,
I am upstreaming more components that are necessary to support platforms
powered by this one apart from a simple boot to serial console.

This series adds the necessary headers and support for the MT6331 with
MT6332 companion PMIC in the mt6397 MFD driver, along with some basic
devices.

Adding support to each driver in each subsystem will be done in different
patch series as to avoid spamming uninteresting patches to maintainers.

This series depends on another series [1] named
"MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper"

Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone.


[1]: https://lore.kernel.org/lkml/20220520124039.228314-1-angelogioacchino.delregno@collabora.com/T/#t

AngeloGioacchino Del Regno (2):
  dt-bindings: mfd: mt6397: Add compatibles for MT6331 RTC and keys
  mfd: mt6397: Add basic support for MT6331+MT6332 PMIC

 .../devicetree/bindings/mfd/mt6397.txt        |   2 +
 drivers/mfd/mt6397-core.c                     |  47 ++
 drivers/mfd/mt6397-irq.c                      |   9 +-
 include/linux/mfd/mt6331/core.h               |  53 ++
 include/linux/mfd/mt6331/registers.h          | 584 ++++++++++++++++
 include/linux/mfd/mt6332/core.h               |  53 ++
 include/linux/mfd/mt6332/registers.h          | 642 ++++++++++++++++++
 include/linux/mfd/mt6397/core.h               |   2 +
 8 files changed, 1391 insertions(+), 1 deletion(-)
 create mode 100644 include/linux/mfd/mt6331/core.h
 create mode 100644 include/linux/mfd/mt6331/registers.h
 create mode 100644 include/linux/mfd/mt6332/core.h
 create mode 100644 include/linux/mfd/mt6332/registers.h

-- 
2.35.1
Re: [PATCH 0/2] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC MFD integration
Posted by AngeloGioacchino Del Regno 3 weeks, 4 days ago
Il 20/05/22 14:46, AngeloGioacchino Del Regno ha scritto:
> In an effort to give some love to the apparently forgotten MT6795 SoC,
> I am upstreaming more components that are necessary to support platforms
> powered by this one apart from a simple boot to serial console.
> 
> This series adds the necessary headers and support for the MT6331 with
> MT6332 companion PMIC in the mt6397 MFD driver, along with some basic
> devices.
> 
> Adding support to each driver in each subsystem will be done in different
> patch series as to avoid spamming uninteresting patches to maintainers.
> 
> This series depends on another series [1] named
> "MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper"
> 
> Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone.
> 
> 

Gentle ping to not let this big effort (with drivers depending on this one) get
forgotten and wasted.

P.S.: Mark wanted to merge the regulator drivers for MT6331/6332 from another
       series that depends on this one (but compile errors due to said dependency)

P.P.S.: Lee: Reporting what Mark said (Full context in [2]):
"I'll need a pull request for the MFD bits I guess, please make sure Lee knows 
that's going to be needed."

[2]: 
https://patchwork.kernel.org/project/linux-mediatek/patch/20220523154709.118663-5-angelogioacchino.delregno@collabora.com/#24876722

Thank you,
Angelo

> [1]: https://lore.kernel.org/lkml/20220520124039.228314-1-angelogioacchino.delregno@collabora.com/T/#t
> 
> AngeloGioacchino Del Regno (2):
>    dt-bindings: mfd: mt6397: Add compatibles for MT6331 RTC and keys
>    mfd: mt6397: Add basic support for MT6331+MT6332 PMIC
> 
>   .../devicetree/bindings/mfd/mt6397.txt        |   2 +
>   drivers/mfd/mt6397-core.c                     |  47 ++
>   drivers/mfd/mt6397-irq.c                      |   9 +-
>   include/linux/mfd/mt6331/core.h               |  53 ++
>   include/linux/mfd/mt6331/registers.h          | 584 ++++++++++++++++
>   include/linux/mfd/mt6332/core.h               |  53 ++
>   include/linux/mfd/mt6332/registers.h          | 642 ++++++++++++++++++
>   include/linux/mfd/mt6397/core.h               |   2 +
>   8 files changed, 1391 insertions(+), 1 deletion(-)
>   create mode 100644 include/linux/mfd/mt6331/core.h
>   create mode 100644 include/linux/mfd/mt6331/registers.h
>   create mode 100644 include/linux/mfd/mt6332/core.h
>   create mode 100644 include/linux/mfd/mt6332/registers.h
>
Re: [PATCH 0/2] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC MFD integration
Posted by Krzysztof Kozlowski 3 weeks, 4 days ago
On 01/06/2022 13:03, AngeloGioacchino Del Regno wrote:
> Il 20/05/22 14:46, AngeloGioacchino Del Regno ha scritto:
>> In an effort to give some love to the apparently forgotten MT6795 SoC,
>> I am upstreaming more components that are necessary to support platforms
>> powered by this one apart from a simple boot to serial console.
>>
>> This series adds the necessary headers and support for the MT6331 with
>> MT6332 companion PMIC in the mt6397 MFD driver, along with some basic
>> devices.
>>
>> Adding support to each driver in each subsystem will be done in different
>> patch series as to avoid spamming uninteresting patches to maintainers.
>>
>> This series depends on another series [1] named
>> "MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper"
>>
>> Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone.
>>
>>
> 
> Gentle ping to not let this big effort (with drivers depending on this one) get
> forgotten and wasted.

Yeah, but it was not even 2 weeks since posting and we are in merge
window. Please resend after the merge window.

> 
> P.S.: Mark wanted to merge the regulator drivers for MT6331/6332 from another
>        series that depends on this one (but compile errors due to said dependency)
> 
> P.P.S.: Lee: Reporting what Mark said (Full context in [2]):
> "I'll need a pull request for the MFD bits I guess, please make sure Lee knows 
> that's going to be needed."
> 

Best regards,
Krzysztof
Re: [PATCH 0/2] MediaTek Helio X10 MT6795 - MT6331/6332 PMIC MFD integration
Posted by AngeloGioacchino Del Regno 3 weeks, 4 days ago
Il 01/06/22 13:07, Krzysztof Kozlowski ha scritto:
> On 01/06/2022 13:03, AngeloGioacchino Del Regno wrote:
>> Il 20/05/22 14:46, AngeloGioacchino Del Regno ha scritto:
>>> In an effort to give some love to the apparently forgotten MT6795 SoC,
>>> I am upstreaming more components that are necessary to support platforms
>>> powered by this one apart from a simple boot to serial console.
>>>
>>> This series adds the necessary headers and support for the MT6331 with
>>> MT6332 companion PMIC in the mt6397 MFD driver, along with some basic
>>> devices.
>>>
>>> Adding support to each driver in each subsystem will be done in different
>>> patch series as to avoid spamming uninteresting patches to maintainers.
>>>
>>> This series depends on another series [1] named
>>> "MediaTek Helio X10 MT6795 - MT6331/6332 PMIC Wrapper"
>>>
>>> Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone.
>>>
>>>
>>
>> Gentle ping to not let this big effort (with drivers depending on this one) get
>> forgotten and wasted.
> 
> Yeah, but it was not even 2 weeks since posting and we are in merge
> window. Please resend after the merge window.
> 

Understood!

Cheers,
Angelo

>>
>> P.S.: Mark wanted to merge the regulator drivers for MT6331/6332 from another
>>         series that depends on this one (but compile errors due to said dependency)
>>
>> P.P.S.: Lee: Reporting what Mark said (Full context in [2]):
>> "I'll need a pull request for the MFD bits I guess, please make sure Lee knows
>> that's going to be needed."
>>
> 
> Best regards,
> Krzysztof


-- 
AngeloGioacchino Del Regno
Software Engineer

Collabora Ltd.
Platinum Building, St John's Innovation Park, Cambridge CB4 0DS, UK
Registered in England & Wales, no. 5513718