Re: [PATCH v6 6/8] soc: mediatek: Add support for WAY_EN operations

From: Alexandre Mergnat
Date: Mon Jul 10 2023 - 11:55:00 EST


Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>
Tested-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>


On 27/06/2023 15:10, Markus Schneider-Pargmann wrote:
This updates the power domain to support WAY_EN operations. WAY_EN
operations on mt8365 are using a different component to check for the
acknowledgment, namely the infracfg-nao component. Also to enable a way
it the bit needs to be cleared while disabling a way needs a bit to be
set. To support these two operations two flags are added,
BUS_PROT_INVERTED and BUS_PROT_STA_COMPONENT_INFRA_NAO. Additionally
another regmap is created if the INFRA_NAO capability is set.

This operation is required by the mt8365 for the MM power domain.

--
Regards,
Alexandre