Re: [PATCH 6/7] ASoC: mediatek: mt8188: add bus protection
From: Trevor Wu (吳文良)
Date: Thu Apr 20 2023 - 02:44:59 EST
On Thu, 2023-04-13 at 15:19 +0200, AngeloGioacchino Del Regno wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>
>
> Il 13/04/23 12:47, Trevor Wu ha scritto:
> > Add bus protection for reset controller.
> >
> > Signed-off-by: Trevor Wu <trevor.wu@xxxxxxxxxxxx>
>
> Is MT8188 the only SoC that will ever use bus protection for reset,
> now and
> in the future?
>
> ...otherwise, I think that the best solution here would be to
> implement that
> into the reset controller itself.
>
> Regards,
> Angelo
Hi Angelo,
MT8188 is not the only SoC that will use bus protection for reset.
I checked with the owner of reset controller.
There are some reasons that they prefer to control bus protection by
each module which needs reset function individually. First, reset
function is only used by few modules. Second, bus protection register
for the same module is possibly different in each of SoCs. Finally, bus
protect bits are diverse, so it's not easy to implement in reset
controller driver.
Thanks,
Trevor