Linux-Devicetree Archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Refactor MTK MDP driver into core/components
@ 2021-06-11  4:01 Eizan Miyamoto
  2021-06-11  4:01 ` [PATCH v2 8/8] dts: mtk-mdp: remove mediatek,vpu property from primary MDP device Eizan Miyamoto
  0 siblings, 1 reply; 2+ messages in thread
From: Eizan Miyamoto @ 2021-06-11  4:01 UTC (permalink / raw
  To: linux-kernel
  Cc: houlong.wei, enric.balletbo, yong.wu, chunkuang.hu,
	Eizan Miyamoto, Andrew-CT Chen, Matthias Brugger,
	Mauro Carvalho Chehab, Minghsiu Tsai, Rob Herring, devicetree,
	linux-arm-kernel, linux-media, linux-mediatek


This is an update to
https://patchwork.kernel.org/project/linux-mediatek/list/?series=283075
To address some comments and fixes.

This series has been verified to work on 5.12.

It has been rebased on top of the series
https://patchwork.kernel.org/project/linux-mediatek/list/?series=464873


Changes in v2:
- rebased onto Linux 5.12
- 100 char line length allowance was utilized in a few places
- Removal of a redundant dev_err() print at the end of
  mtk_mdp_comp_init()
- Instead of printing errors and ignoring them, I've added a patch to
  correctly propagate them.
- Use of C style comments.
- Three additional patches were added to eliminate dependency on the
  mediatek,vpu property inside the mdp_rdma0 device node.

Eizan Miyamoto (8):
  mtk-mdp: add driver to probe mdp components
  mtk-mdp: use pm_runtime in MDP component driver
  media: mtk-mdp: don't pm_run_time_get/put for master comp in clock_on
  mtk-mdp: soc: mediatek: register mdp from mmsys
  media: mtk-mdp: search for vpu node instead of linking it to a
    property
  media: mtk-mdp: propagate errors better in pm_suspend/resume
  media: mtk-mdp: treat rdma@14001000 specially when probing
  dts: mtk-mdp: remove mediatek,vpu property from primary MDP device

 arch/arm64/boot/dts/mediatek/mt8173.dtsi      |   1 -
 drivers/media/platform/mtk-mdp/mtk_mdp_comp.c | 226 ++++++++++++--
 drivers/media/platform/mtk-mdp/mtk_mdp_comp.h |  35 +--
 drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 281 ++++++++++++------
 drivers/media/platform/mtk-mdp/mtk_mdp_core.h |   3 +
 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c  |   4 +-
 drivers/soc/mediatek/mtk-mmsys.c              |  20 +-
 7 files changed, 434 insertions(+), 136 deletions(-)

-- 
2.32.0.272.g935e593368-goog


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v2 8/8] dts: mtk-mdp: remove mediatek,vpu property from primary MDP device
  2021-06-11  4:01 [PATCH v2 0/8] Refactor MTK MDP driver into core/components Eizan Miyamoto
@ 2021-06-11  4:01 ` Eizan Miyamoto
  0 siblings, 0 replies; 2+ messages in thread
From: Eizan Miyamoto @ 2021-06-11  4:01 UTC (permalink / raw
  To: linux-kernel
  Cc: houlong.wei, enric.balletbo, yong.wu, chunkuang.hu,
	Eizan Miyamoto, Matthias Brugger, Rob Herring, devicetree,
	linux-arm-kernel, linux-mediatek

It is no longer used by the mediatek MDP driver.

Signed-off-by: Eizan Miyamoto <eizan@chromium.org>
---

(no changes since v1)

 arch/arm64/boot/dts/mediatek/mt8173.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 814f56d59e2f..4020748ae446 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -1055,7 +1055,6 @@ mdp_rdma0: rdma@14001000 {
 				 <&mmsys CLK_MM_MUTEX_32K>;
 			power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
 			iommus = <&iommu M4U_PORT_MDP_RDMA0>;
-			mediatek,vpu = <&vpu>;
 		};
 
 		mdp_rdma1: rdma@14002000 {
-- 
2.32.0.272.g935e593368-goog


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-11  4:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-11  4:01 [PATCH v2 0/8] Refactor MTK MDP driver into core/components Eizan Miyamoto
2021-06-11  4:01 ` [PATCH v2 8/8] dts: mtk-mdp: remove mediatek,vpu property from primary MDP device Eizan Miyamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).