diff mbox

dt-bindings: soc: update MT6797 power domain

Message ID 1526890186-16219-1-git-send-email-kaichieh.chuang@mediatek.com (mailing list archive)
State New, archived
Headers show

Commit Message

KaiChieh Chuang May 21, 2018, 8:09 a.m. UTC
remove unused power domain in mt6797 and re-index

Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
Reviewed-by: Mars Cheng <mars.cheng@mediatek.com>
---
 include/dt-bindings/power/mt6797-power.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Comments

Rob Herring (Arm) May 23, 2018, 6:27 p.m. UTC | #1
On Mon, May 21, 2018 at 04:09:46PM +0800, KaiChieh Chuang wrote:
> remove unused power domain in mt6797 and re-index
> 
> Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
> Reviewed-by: Mars Cheng <mars.cheng@mediatek.com>
> ---
>  include/dt-bindings/power/mt6797-power.h | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/include/dt-bindings/power/mt6797-power.h b/include/dt-bindings/power/mt6797-power.h
> index a60c1d8..f96c4e2 100644
> --- a/include/dt-bindings/power/mt6797-power.h
> +++ b/include/dt-bindings/power/mt6797-power.h
> @@ -20,11 +20,6 @@
>  #define MT6797_POWER_DOMAIN_MM			3
>  #define MT6797_POWER_DOMAIN_AUDIO		4
>  #define MT6797_POWER_DOMAIN_MFG_ASYNC		5
> -#define MT6797_POWER_DOMAIN_MFG		6
> -#define MT6797_POWER_DOMAIN_MFG_CORE0		7
> -#define MT6797_POWER_DOMAIN_MFG_CORE1		8
> -#define MT6797_POWER_DOMAIN_MFG_CORE2		9
> -#define MT6797_POWER_DOMAIN_MFG_CORE3		10
> -#define MT6797_POWER_DOMAIN_MJC		11
> +#define MT6797_POWER_DOMAIN_MJC		6

This is an ABI. You can't just change the numbering. You'll cause a 
mismatch between existing dtb and new kernel.

Rob
diff mbox

Patch

diff --git a/include/dt-bindings/power/mt6797-power.h b/include/dt-bindings/power/mt6797-power.h
index a60c1d8..f96c4e2 100644
--- a/include/dt-bindings/power/mt6797-power.h
+++ b/include/dt-bindings/power/mt6797-power.h
@@ -20,11 +20,6 @@ 
 #define MT6797_POWER_DOMAIN_MM			3
 #define MT6797_POWER_DOMAIN_AUDIO		4
 #define MT6797_POWER_DOMAIN_MFG_ASYNC		5
-#define MT6797_POWER_DOMAIN_MFG		6
-#define MT6797_POWER_DOMAIN_MFG_CORE0		7
-#define MT6797_POWER_DOMAIN_MFG_CORE1		8
-#define MT6797_POWER_DOMAIN_MFG_CORE2		9
-#define MT6797_POWER_DOMAIN_MFG_CORE3		10
-#define MT6797_POWER_DOMAIN_MJC		11
+#define MT6797_POWER_DOMAIN_MJC		6
 
 #endif /* _DT_BINDINGS_POWER_MT6797_POWER_H */