Messages in this thread | | | From | Nicolas Boichat <> | Date | Fri, 20 Dec 2019 12:09:08 +0800 | Subject | Re: [PATCH v11 04/10] soc: mediatek: Add multiple step bus protection control |
| |
On Fri, Dec 20, 2019 at 11:46 AM Weiyi Lu <weiyi.lu@mediatek.com> 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@mediatek.com>
I think this looks much better, thanks!
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
> --- > 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
| |