devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/8] Refactor MTK MDP driver into core/components
@ 2021-07-07  7:34 Eizan Miyamoto
  2021-07-07  7:34 ` [PATCH v4 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-07-07  7:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: houlong.wei, enric.balletbo, wenst, 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.13.

Changes in v4:
- rebase and test on 5.13
- don't depend on https://patchwork.kernel.org/project/linux-mediatek/list/?series=464873

Changes in v3:
- get mdp master from aliases instead of strcmp against of_node->name

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: use mdp-rdma0 alias to point to MDP master
  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 | 258 ++++++++++++++--
 drivers/media/platform/mtk-mdp/mtk_mdp_comp.h |  34 +--
 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, 466 insertions(+), 135 deletions(-)

-- 
2.32.0.93.g670b81a890-goog


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

* [PATCH v4 8/8] dts: mtk-mdp: remove mediatek,vpu property from primary MDP device
  2021-07-07  7:34 [PATCH v4 0/8] Refactor MTK MDP driver into core/components Eizan Miyamoto
@ 2021-07-07  7:34 ` Eizan Miyamoto
  0 siblings, 0 replies; 2+ messages in thread
From: Eizan Miyamoto @ 2021-07-07  7:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: houlong.wei, enric.balletbo, wenst, 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 3efcefd99720..2e468e24fdb6 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -1056,7 +1056,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.93.g670b81a890-goog


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

end of thread, other threads:[~2021-07-07  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07  7:34 [PATCH v4 0/8] Refactor MTK MDP driver into core/components Eizan Miyamoto
2021-07-07  7:34 ` [PATCH v4 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 NNTP newsgroup(s).