diff options
author | Yong Wu <[email protected]> | 2021-04-10 17:11:16 +0800 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2021-04-13 16:56:31 +0200 |
commit | 6ce2c05b21189eb17b3aa26720cc5841acf9dce8 (patch) | |
tree | 581adc30938292b6151ca470e37792aa36df0bce /tools/testing/selftests/bpf | |
parent | 132c17c3ff878c7beaba51bdd275d5cc654c0e33 (diff) |
memory: mtk-smi: Add device-link between smi-larb and smi-common
Normally, If the smi-larb HW need work, we should enable the smi-common
HW power and clock firstly.
This patch adds device-link between the smi-larb dev and the smi-common
dev. then If pm_runtime_get_sync(smi-larb-dev), the pm_runtime_get_sync
(smi-common-dev) will be called automatically.
Also, Add DL_FLAG_STATELESS to avoid the smi-common clocks be gated when
probe.
CC: Matthias Brugger <[email protected]>
Suggested-by: Tomasz Figa <[email protected]>
Signed-off-by: Yong Wu <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions