[PATCH v3 0/7] MT8186 SMI SUPPORT

From: Yong Wu
Date: Thu Jan 13 2022 - 06:11:09 EST


This patchset adds mt8186 smi support.
mainly adds a sleep control function.

Change note:
v3: a) Add a new binding patch for renaming "clock" to "clocks".
b) Reword the title for the binding patches, more detailed.
c) Add the sleep control error path: if err, return directly.
also change the log from dev_warn to dev_err.

v2: https://lore.kernel.org/linux-devicetree/20220111063904.7583-1-yong.wu@xxxxxxxxxxxx/
a) Add two patches for the "make dtbs_check" warning.
b) Seperate the "sleep control" into two functions.
And add a "TODO" comment while sleep control fails.

v1: https://lore.kernel.org/linux-mediatek/20211203064027.14993-1-yong.wu@xxxxxxxxxxxx/
Base on v5.16-rc1.

Yong Wu (7):
dt-bindings: memory: mtk-smi: Rename clock to clocks
dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt8167
dt-bindings: memory: mtk-smi: Correct minItems to 2 for the gals
clocks
dt-bindings: memory: mediatek: Add mt8186 support
memory: mtk-smi: Fix the return value for clk_bulk_prepare_enable
memory: mtk-smi: Add sleep ctrl function
memory: mtk-smi: mt8186: Add smi support

.../mediatek,smi-common.yaml | 32 ++++++------
.../memory-controllers/mediatek,smi-larb.yaml | 19 +++----
drivers/memory/mtk-smi.c | 51 ++++++++++++++++++-
3 files changed, 75 insertions(+), 27 deletions(-)

--
2.18.0