Thread (6 messages) 6 messages, 2 authors, 2021-06-15

Re: [PATCH 3/3] soc: mediatek: pm-domains: Add support for mt8195

From: Chun-Jie Chen <hidden>
Date: 2021-06-15 16:16:43
Also in: linux-arm-kernel

On Thu, 2021-06-10 at 10:50 +0200, Matthias Brugger wrote:
Hi Chun-Jie,

Thanks for the patch, comments below.

On 10/06/2021 04:36, Chun-Jie Chen wrote:
quoted
From: "chun-jie.chen" <
chun-jie.chen@mediatek.corp-partner.google.com>

Add the needed board data to support mt8195 SoC.
Please try to come up with a better commit message. Especially
mention that we
have to increase the SPM_MAX_BUS_PROT_DATA.
quoted
Signed-off-by: chun-jie.chen <redacted>
I suppose your name would be "Chun-Jie Chen"

Please also fix your git settings to that From and Signed-off-by
matches.

[...]
quoted
 
diff --git a/drivers/soc/mediatek/mtk-pm-domains.h
b/drivers/soc/mediatek/mtk-pm-domains.h
index 8b86ed22ca56..1b8967b9829e 100644
--- a/drivers/soc/mediatek/mtk-pm-domains.h
+++ b/drivers/soc/mediatek/mtk-pm-domains.h
@@ -37,7 +37,7 @@
 #define PWR_STATUS_AUDIO		BIT(24)
 #define PWR_STATUS_USB			BIT(25)
 
-#define SPM_MAX_BUS_PROT_DATA		5
+#define SPM_MAX_BUS_PROT_DATA		6
 
 #define _BUS_PROT(_mask, _set, _clr, _sta, _update, _ignore) {	
\
 		.bus_prot_mask = (_mask),			\
@@ -72,8 +72,6 @@ struct scpsys_bus_prot_data {
 	bool ignore_clr_ack;
 };
 
-#define MAX_SUBSYS_CLKS 10
-
Good catch, not needed define. Can you put that in a new patch
please?

Regards,
Matthias
Thanks for your comments, I will send v2 to fix it.

Best Regards,
Chun-Jie
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help