Re: [PATCH v11 04/10] soc: mediatek: Add multiple step bus protection control
From: Nicolas Boichat
Date: Thu Dec 19 2019 - 23:09:21 EST
On Fri, Dec 20, 2019 at 11:46 AM Weiyi Lu <weiyi.lu@xxxxxxxxxxxx> wrote:
>
> Both MT8183 & MT6765 have more control steps of bus protection
> than previous project. And there add more bus protection registers
> reside at infracfg & smi-common. Also add new APIs for multiple
> step bus protection control with more customized arguments.
> And then use bp_table for bus protection of all compatibles,
> instead of mixing bus_prot_mask and bus_prot_reg_update.
>
> Signed-off-by: Weiyi Lu <weiyi.lu@xxxxxxxxxxxx>
I think this looks much better, thanks!
Reviewed-by: Nicolas Boichat <drinkcat@xxxxxxxxxxxx>
> ---
> drivers/soc/mediatek/Makefile | 2 +-
> drivers/soc/mediatek/mtk-scpsys-ext.c | 101 +++++++++++++++++++++++++++++
> drivers/soc/mediatek/mtk-scpsys.c | 117 +++++++++++++++++++++-------------
> drivers/soc/mediatek/scpsys-ext.h | 67 +++++++++++++++++++
> 4 files changed, 240 insertions(+), 47 deletions(-)
> create mode 100644 drivers/soc/mediatek/mtk-scpsys-ext.c
> create mode 100644 drivers/soc/mediatek/scpsys-ext.h