Skip to contentSkip to conversation

dt-bindings: arm: mediatek: mmsys: Add VPPSYS compatible for MT8188

PATCH In review yu-chang.lee 3 participants 4 messages Nov 20, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 dt-bindings: arm: mediatek: mmsys: Add VPPSYS compatible for MT8188

For MT8188, VPPSYS0 and VPPSYS1 are 2 display pipes with hardware differences in power domains, clocks and subsystem counts, which should be probed from mtk-mmsys driver to populate device by platform_device_register_data then start its own clock driver.

---
Change in v4:
- Squashed binding patches
- This patch is based on [1]
[1] soc: mediatek: mmsys: Add support for MT8188 VPPSYS
- https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

Changes in v3:
- Separate binding patch from driver patch

Changes in v2:
- Refine commit message
- Refine commit title

 .../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml        | 2 ++
 .../devicetree/bindings/clock/mediatek,mt8188-clock.yaml        | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml +2 -0
index 536f5a5ebd24..50324248b965 100644
@@ -32,6 +32,8 @@ properties:
               - mediatek,mt8183-mmsys
               - mediatek,mt8186-mmsys
               - mediatek,mt8188-vdosys0
+              - mediatek,mt8188-vppsys0
+              - mediatek,mt8188-vppsys1
               - mediatek,mt8192-mmsys
               - mediatek,mt8195-vdosys1
               - mediatek,mt8195-vppsys0
Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml +0 -2
index d7214d97b2ba..860570320545 100644
@@ -43,8 +43,6 @@ properties:
       - mediatek,mt8188-vdecsys
       - mediatek,mt8188-vdecsys-soc
       - mediatek,mt8188-vencsys
-      - mediatek,mt8188-vppsys0
-      - mediatek,mt8188-vppsys1
       - mediatek,mt8188-wpesys
       - mediatek,mt8188-wpesys-vpp0
 
Signature · 1 line
2.18.0
Acked-by on v4 1/1
#1 lore raw
Quoted 5 lines · yu-chang.lee

For MT8188, VPPSYS0 and VPPSYS1 are 2 display pipes with hardware differences in power domains, clocks and subsystem counts, which should be probed from mtk-mmsys driver to populate device by platform_device_register_data then start its own clock driver.

Quoted 8 lines

---
Change in v4:
- Squashed binding patches
- This patch is based on [1]
[1] soc: mediatek: mmsys: Add support for MT8188 VPPSYS
- https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

This probably should stay part of previous patchset. Why splitting it?

Best regards,
Krzysztof

#2 lore raw
Quoted 19 lines · Krzysztof Kozlowski

External email : Please do not click links or open attachments until you have verified the sender or the content.

Quoted 5 lines · yu-chang.lee

For MT8188, VPPSYS0 and VPPSYS1 are 2 display pipes with hardware differences in power domains, clocks and subsystem counts, which should be probed from mtk-mmsys driver to populate device by platform_device_register_data then start its own clock driver.

Quoted 7 lines

---
Change in v4:
- Squashed binding patches
- This patch is based on [1]
[1] soc: mediatek: mmsys: Add support for MT8188 VPPSYS -

https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

Quoted 1 line
Quoted 9 lines

This probably should stay part of previous patchset. Why splitting it?

Best regards,
Krzysztof

Thank you for your time and effort. I misunderstood that you want me to send the binding patches as a independent serie in previous discussion. Only until now I squashed them, but the driver patch has already been submitted... Should I resend all of these pathes as a serie again?

Thanks,

Best Regards,
yuchang

maintainer Reviewed-by
#3 lore raw

Il 20/11/23 11:26, Yu-chang Lee (李禹璋) ha scritto:

Quoted 24 lines · Krzysztof Kozlowski
Quoted 23 lines

External email : Please do not click links or open attachments until you have verified the sender or the content.

Quoted 5 lines · yu-chang.lee

For MT8188, VPPSYS0 and VPPSYS1 are 2 display pipes with hardware differences in power domains, clocks and subsystem counts, which should be probed from mtk-mmsys driver to populate device by platform_device_register_data then start its own clock driver.

Quoted 7 lines

---
Change in v4:
- Squashed binding patches
- This patch is based on [1]
[1] soc: mediatek: mmsys: Add support for MT8188 VPPSYS -

https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

Quoted 1 line

This probably should stay part of previous patchset. Why splitting it?

Quoted 5 lines
Quoted 5 lines

Best regards,
Krzysztof

Quoted 5 lines

Thank you for your time and effort. I misunderstood that you want me to send the binding patches as a independent serie in previous discussion. Only until now I squashed them, but the driver patch has already been submitted... Should I resend all of these pathes as a serie again?

For this time it's okay, I can pick those separately... but for the next time, please, yes, the two are related so they should go in one series.

Thanks,
Angelo

Quoted 4 lines

Thanks,

Best Regards,
yuchang