* [RESEND 0/3] Migrate MT8188 VPPSYS 0/1 to mtk-mmsys driver
@ 2023-11-09 11:11 yu-chang.lee
2023-11-09 11:11 ` [RESEND 1/3] soc: mediatek: mmsys: Add support for MT8188 VPPSYS yu-chang.lee
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: yu-chang.lee @ 2023-11-09 11:11 UTC (permalink / raw)
To: Rob Herring, Conor Dooley, Michael Turquette, Stephen Boyd,
Matthias Brugger, AngeloGioacchino Del Regno
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek, yu-chang.lee
Hi,
This series is to reflect VPPSYS' dependency on mtk-mmsys driver for
mediatek MT8188 platform. The MT8188 VPPSYS 0/1 should be probed
from the "mtk-mmsys" driver, which then starts its own clock driver
as the platform driver.
Refer to the suggestion in the following patch
https://patchwork.kernel.org/project/linux-mediatek/list/?series=796808
https://patchwork.kernel.org/project/linux-mediatek/list/?series=798392
yu-chang.lee (3):
soc: mediatek: mmsys: Add support for MT8188 VPPSYS
dt-bindings: clock: mediatek: Remove compatible for MT8188 VPPSYS
dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188
.../bindings/arm/mediatek/mediatek,mmsys.yaml | 2 ++
.../bindings/clock/mediatek,mt8188-clock.yaml | 2 --
drivers/soc/mediatek/mtk-mmsys.c | 12 ++++++++++++
3 files changed, 14 insertions(+), 2 deletions(-)
--
2.18.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [RESEND 1/3] soc: mediatek: mmsys: Add support for MT8188 VPPSYS
2023-11-09 11:11 [RESEND 0/3] Migrate MT8188 VPPSYS 0/1 to mtk-mmsys driver yu-chang.lee
@ 2023-11-09 11:11 ` yu-chang.lee
2023-11-09 11:11 ` [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible " yu-chang.lee
2023-11-09 11:11 ` [RESEND 3/3] dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188 yu-chang.lee
2 siblings, 0 replies; 9+ messages in thread
From: yu-chang.lee @ 2023-11-09 11:11 UTC (permalink / raw)
To: Rob Herring, Conor Dooley, Michael Turquette, Stephen Boyd,
Matthias Brugger, AngeloGioacchino Del Regno
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek, yu-chang.lee
Add MT8188 VPPSYS0 and VPPSYS1 driver data.
Signed-off-by: yu-chang.lee <yu-chang.lee@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno angelogioacchino.delregno@collabora.com>
---
drivers/soc/mediatek/mtk-mmsys.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/soc/mediatek/mtk-mmsys.c b/drivers/soc/mediatek/mtk-mmsys.c
index 88209102ff3b..1e5239cc5445 100644
--- a/drivers/soc/mediatek/mtk-mmsys.c
+++ b/drivers/soc/mediatek/mtk-mmsys.c
@@ -89,6 +89,16 @@ static const struct mtk_mmsys_driver_data mt8188_vdosys0_driver_data = {
.num_routes = ARRAY_SIZE(mmsys_mt8188_routing_table),
};
+static const struct mtk_mmsys_driver_data mt8188_vppsys0_driver_data = {
+ .clk_driver = "clk-mt8188-vpp0",
+ .is_vppsys = true,
+};
+
+static const struct mtk_mmsys_driver_data mt8188_vppsys1_driver_data = {
+ .clk_driver = "clk-mt8188-vpp1",
+ .is_vppsys = true,
+};
+
static const struct mtk_mmsys_driver_data mt8192_mmsys_driver_data = {
.clk_driver = "clk-mt8192-mm",
.routes = mmsys_mt8192_routing_table,
@@ -429,6 +439,8 @@ static const struct of_device_id of_match_mtk_mmsys[] = {
{ .compatible = "mediatek,mt8183-mmsys", .data = &mt8183_mmsys_driver_data },
{ .compatible = "mediatek,mt8186-mmsys", .data = &mt8186_mmsys_driver_data },
{ .compatible = "mediatek,mt8188-vdosys0", .data = &mt8188_vdosys0_driver_data },
+ { .compatible = "mediatek,mt8188-vppsys0", .data = &mt8188_vppsys0_driver_data },
+ { .compatible = "mediatek,mt8188-vppsys1", .data = &mt8188_vppsys1_driver_data },
{ .compatible = "mediatek,mt8192-mmsys", .data = &mt8192_mmsys_driver_data },
/* "mediatek,mt8195-mmsys" compatible is deprecated */
{ .compatible = "mediatek,mt8195-mmsys", .data = &mt8195_vdosys0_driver_data },
--
2.18.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible for MT8188 VPPSYS
2023-11-09 11:11 [RESEND 0/3] Migrate MT8188 VPPSYS 0/1 to mtk-mmsys driver yu-chang.lee
2023-11-09 11:11 ` [RESEND 1/3] soc: mediatek: mmsys: Add support for MT8188 VPPSYS yu-chang.lee
@ 2023-11-09 11:11 ` yu-chang.lee
2023-11-09 11:42 ` AngeloGioacchino Del Regno
` (2 more replies)
2023-11-09 11:11 ` [RESEND 3/3] dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188 yu-chang.lee
2 siblings, 3 replies; 9+ messages in thread
From: yu-chang.lee @ 2023-11-09 11:11 UTC (permalink / raw)
To: Rob Herring, Conor Dooley, Michael Turquette, Stephen Boyd,
Matthias Brugger, AngeloGioacchino Del Regno
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek, yu-chang.lee
Remove VPPSYS0, VPPSYS1 compatible on Mediatek MT8188.
Signed-off-by: yu-chang.lee <yu-chang.lee@mediatek.com>
---
.../devicetree/bindings/clock/mediatek,mt8188-clock.yaml | 2 --
1 file changed, 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml
index d7214d97b2ba..860570320545 100644
--- a/Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/mediatek,mt8188-clock.yaml
@@ -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
--
2.18.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [RESEND 3/3] dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188
2023-11-09 11:11 [RESEND 0/3] Migrate MT8188 VPPSYS 0/1 to mtk-mmsys driver yu-chang.lee
2023-11-09 11:11 ` [RESEND 1/3] soc: mediatek: mmsys: Add support for MT8188 VPPSYS yu-chang.lee
2023-11-09 11:11 ` [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible " yu-chang.lee
@ 2023-11-09 11:11 ` yu-chang.lee
2023-11-09 11:42 ` AngeloGioacchino Del Regno
2023-11-09 11:43 ` AngeloGioacchino Del Regno
2 siblings, 2 replies; 9+ messages in thread
From: yu-chang.lee @ 2023-11-09 11:11 UTC (permalink / raw)
To: Rob Herring, Conor Dooley, Michael Turquette, Stephen Boyd,
Matthias Brugger, AngeloGioacchino Del Regno
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek, yu-chang.lee
Add VPPSYS0, VPPSYS1 compatible on Mediatek MT8188.
Signed-off-by: yu-chang.lee <yu-chang.lee@mediatek.com>
---
.../devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
index 536f5a5ebd24..50324248b965 100644
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
@@ -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
--
2.18.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [RESEND 3/3] dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188
2023-11-09 11:11 ` [RESEND 3/3] dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188 yu-chang.lee
@ 2023-11-09 11:42 ` AngeloGioacchino Del Regno
2023-11-09 11:43 ` AngeloGioacchino Del Regno
1 sibling, 0 replies; 9+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-11-09 11:42 UTC (permalink / raw)
To: yu-chang.lee, Rob Herring, Conor Dooley, Michael Turquette,
Stephen Boyd, Matthias Brugger
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek
Il 09/11/23 12:11, yu-chang.lee ha scritto:
> Add VPPSYS0, VPPSYS1 compatible on Mediatek MT8188.
>
> Signed-off-by: yu-chang.lee <yu-chang.lee@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible for MT8188 VPPSYS
2023-11-09 11:11 ` [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible " yu-chang.lee
@ 2023-11-09 11:42 ` AngeloGioacchino Del Regno
2023-11-09 16:31 ` Krzysztof Kozlowski
2023-11-09 16:31 ` Krzysztof Kozlowski
2 siblings, 0 replies; 9+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-11-09 11:42 UTC (permalink / raw)
To: yu-chang.lee, Rob Herring, Conor Dooley, Michael Turquette,
Stephen Boyd, Matthias Brugger
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek
Il 09/11/23 12:11, yu-chang.lee ha scritto:
> Remove VPPSYS0, VPPSYS1 compatible on Mediatek MT8188.
>
> Signed-off-by: yu-chang.lee <yu-chang.lee@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RESEND 3/3] dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188
2023-11-09 11:11 ` [RESEND 3/3] dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188 yu-chang.lee
2023-11-09 11:42 ` AngeloGioacchino Del Regno
@ 2023-11-09 11:43 ` AngeloGioacchino Del Regno
1 sibling, 0 replies; 9+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-11-09 11:43 UTC (permalink / raw)
To: yu-chang.lee, Rob Herring, Conor Dooley, Michael Turquette,
Stephen Boyd, Matthias Brugger
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek
Il 09/11/23 12:11, yu-chang.lee ha scritto:
> Add VPPSYS0, VPPSYS1 compatible on Mediatek MT8188.
>
> Signed-off-by: yu-chang.lee <yu-chang.lee@mediatek.com>
P.S.: there's a missing space in the commit title that can be eventually be
fixed while applying.
dt-bindings: arm: mediatek: mmsys: Add VPPSYS compatible for MT8188
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible for MT8188 VPPSYS
2023-11-09 11:11 ` [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible " yu-chang.lee
2023-11-09 11:42 ` AngeloGioacchino Del Regno
@ 2023-11-09 16:31 ` Krzysztof Kozlowski
2023-11-09 16:31 ` Krzysztof Kozlowski
2 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-09 16:31 UTC (permalink / raw)
To: yu-chang.lee, Rob Herring, Conor Dooley, Michael Turquette,
Stephen Boyd, Matthias Brugger, AngeloGioacchino Del Regno
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek
On 09/11/2023 12:11, yu-chang.lee wrote:
> Remove VPPSYS0, VPPSYS1 compatible on Mediatek MT8188.
>
> Signed-off-by: yu-chang.lee <yu-chang.lee@mediatek.com>
> ---
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC (and consider --no-git-fallback argument). It might
happen, that command when run on an older kernel, gives you outdated
entries. Therefore please be sure you base your patches on recent Linux
kernel.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible for MT8188 VPPSYS
2023-11-09 11:11 ` [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible " yu-chang.lee
2023-11-09 11:42 ` AngeloGioacchino Del Regno
2023-11-09 16:31 ` Krzysztof Kozlowski
@ 2023-11-09 16:31 ` Krzysztof Kozlowski
2 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-09 16:31 UTC (permalink / raw)
To: yu-chang.lee, Rob Herring, Conor Dooley, Michael Turquette,
Stephen Boyd, Matthias Brugger, AngeloGioacchino Del Regno
Cc: Nancy . Lin, Nathan Lu, Moudy Ho, Jason-JH . Lin, Garmin Chang,
devicetree, linux-kernel, linux-clk, linux-arm-kernel,
linux-mediatek
On 09/11/2023 12:11, yu-chang.lee wrote:
> Remove VPPSYS0, VPPSYS1 compatible on Mediatek MT8188.
Why? Your commit must answer this, not describe obvious stuff.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-11-09 16:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09 11:11 [RESEND 0/3] Migrate MT8188 VPPSYS 0/1 to mtk-mmsys driver yu-chang.lee
2023-11-09 11:11 ` [RESEND 1/3] soc: mediatek: mmsys: Add support for MT8188 VPPSYS yu-chang.lee
2023-11-09 11:11 ` [RESEND 2/3] dt-bindings: clock: mediatek: Remove compatible " yu-chang.lee
2023-11-09 11:42 ` AngeloGioacchino Del Regno
2023-11-09 16:31 ` Krzysztof Kozlowski
2023-11-09 16:31 ` Krzysztof Kozlowski
2023-11-09 11:11 ` [RESEND 3/3] dt-bindings: arm:mediatek: mmsys: Add VPPSYS compatible for MT8188 yu-chang.lee
2023-11-09 11:42 ` AngeloGioacchino Del Regno
2023-11-09 11:43 ` AngeloGioacchino Del Regno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox