Re: [PATCH v3 3/4] soc: mediatek: add support of MTK_SCPD_STRICT_BUSP cap

From: AngeloGioacchino Del Regno
Date: Tue Aug 30 2022 - 06:29:08 EST


Il 22/08/22 16:43, Markus Schneider-Pargmann ha scritto:
From: Alexandre Bailon <abailon@xxxxxxxxxxxx>

This adds support for MTK_SCPD_STRICT_BUSP capability. It is a strict
bus protection policy that requires the bus protection to be disabled
before accessing the bus.
This is required by the mt8365, for the MM power domain.

Signed-off-by: Alexandre Bailon <abailon@xxxxxxxxxxxx>
Signed-off-by: Fabien Parent <fparent@xxxxxxxxxxxx>
Signed-off-by: Markus Schneider-Pargmann <msp@xxxxxxxxxxxx>

You've renamed the cap, but you kept the old name in both the commit description
and title. Please fix that.


---

Notes:
Changes in v3:
- Rename MTK_SCPD_STRICT_BUSP to MTK_SCPD_STRICT_BUS_PROTECTION
- Remove extra bool variable reflecting the capability
Changes in v2:
- Fixup error handling path.