dt-bindings: power: Add binding for MediaTek MT6735 power controller

Add DT binding for MediaTek MT6735 SCPSYS power controller.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogiaocchino.delregno@collabora.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241017085136.68053-2-y.oudjana@protonmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Yassine Oudjana 2024-10-17 11:51:34 +03:00 committed by Ulf Hansson
parent f9eb07ea69
commit c16a7d3ef0
3 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,7 @@ properties:
compatible:
enum:
- mediatek,mt6735-power-controller
- mediatek,mt6795-power-controller
- mediatek,mt8167-power-controller
- mediatek,mt8173-power-controller

View File

@ -20,6 +20,7 @@ Required properties:
- compatible: Should be one of:
- "mediatek,mt2701-scpsys"
- "mediatek,mt2712-scpsys"
- "mediatek,mt6735-scpsys"
- "mediatek,mt6765-scpsys"
- "mediatek,mt6797-scpsys"
- "mediatek,mt7622-scpsys"

View File

@ -0,0 +1,14 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
#ifndef _DT_BINDINGS_POWER_MT6735_POWER_CONTROLLER_H
#define _DT_BINDINGS_POWER_MT6735_POWER_CONTROLLER_H
#define MT6735_POWER_DOMAIN_MD1 0
#define MT6735_POWER_DOMAIN_CONN 1
#define MT6735_POWER_DOMAIN_DIS 2
#define MT6735_POWER_DOMAIN_MFG 3
#define MT6735_POWER_DOMAIN_ISP 4
#define MT6735_POWER_DOMAIN_VDE 5
#define MT6735_POWER_DOMAIN_VEN 6
#endif