Skip to contentSkip to conversation

Pwrap: Mediatek pwrap driver for mt6797

PATCH Superseded Argus Lin 1 participant 1 message Jun 8, 2018 1 message not in the archive

lore
Share & tools
lore

Argus Lin

author
#1 lore raw

v5 cover Pwrap: Mediatek pwrap driver for mt6797

In reply to a message not in the archive

Here's version 5 of the patch series, include 4 patches:
1. Fix bug at cipher init for
5ae48040aa47 ("soc: mediatek: PMIC wrap: add mt6323 slave support")
2. Add pwrap driver for mt6797 SoCs.
3. Add mt6351 support for mt6797 SoCs.
4. A big change from V4 to V5 is we remove INT1 interrupt declaration since it is only for debug purpose. The PWRAP_RDDMY, RESET and DCM can use legacy setting, it is backwards compatible. The new caps flag declaration is not needed, just remove it.

Changes from v3 to v4:
1)add caps flag for pwrap to explain pwrap's capability. 2)remove has_bridge flag, replace by caps flag.
3)add int1_en_all flag for new interrupt.
4)add pwrap drivers for mt6797 SoCs.
5)fix bug at cipher init for
5ae48040aa47 ("soc: mediatek: PMIC wrap: add mt6323 slave support") 6)add mt6351 support for mt6797 SoCs.

Changes from v2 to v3:
1)adjust upstream patch sequence.
2)fix build error for new filed at pmic_wrapper_type. 3)adjust pmic_type enum sequence.

Changes from v1 to v2:
1) add new capability field and MARCO for different pwrap series, the capability include BRIDGE, RESET, DCM, PRIORITY_SEL and INT1_EN.
2) add starvaction for mt6797 pwrap.
3) add INT1 interrupt to handle starvaction and request exception.

Argus Lin (4):
dt-bindings: pwrap: mediatek: add pwrap support for MT6797
soc: mediatek: pwrap: fix cipher init setting error
soc: mediatek: pwrap: add pwrap driver for mt6797 SoCs
soc: mediatek: pwrap: add mt6351 driver for mt6797 SoCs

 .../devicetree/bindings/soc/mediatek/pwrap.txt     |  1 +
 drivers/soc/mediatek/mtk-pmic-wrap.c               | 81 +++++++++++++++++++++-
 2 files changed, 80 insertions(+), 2 deletions(-)