Re: [PATCH v11 04/10] soc: mediatek: Add multiple step bus protection control
From: Nicolas Boichat <hidden>
Date: 2019-12-20 04:09:21
Also in:
linux-mediatek, lkml
From: Nicolas Boichat <hidden>
Date: 2019-12-20 04:09:21
Also in:
linux-mediatek, lkml
On Fri, Dec 20, 2019 at 11:46 AM Weiyi Lu [off-list ref] 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 <redacted>
I think this looks much better, thanks! Reviewed-by: Nicolas Boichat <redacted>
--- 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
_______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel