From: Sam Shih <sam.shih@mediatek.com>
To: u-boot@lists.denx.de
Subject: [U-Boot,6/8] power: domain: add power domain support for MT7622
Date: Sat, 7 Dec 2019 00:02:23 +0800 [thread overview]
Message-ID: <1575648145-23733-7-git-send-email-sam.shih@mediatek.com> (raw)
In-Reply-To: <1575648145-23733-1-git-send-email-sam.shih@mediatek.com>
This patch add power domain support for Mediatek MT7622 SoCs
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Sam Shih <sam.shih@mediatek.com>
---
drivers/power/domain/mtk-power-domain.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/power/domain/mtk-power-domain.c b/drivers/power/domain/mtk-power-domain.c
index c67e8804b1..0bf8a16447 100644
--- a/drivers/power/domain/mtk-power-domain.c
+++ b/drivers/power/domain/mtk-power-domain.c
@@ -60,6 +60,7 @@
#define DCM_TOP_EN BIT(0)
enum scp_domain_type {
+ SCPSYS_MT7622,
SCPSYS_MT7623,
SCPSYS_MT7629,
};
@@ -328,6 +329,7 @@ static int mtk_power_domain_hook(struct udevice *dev)
case SCPSYS_MT7623:
scpd->data = scp_domain_mt7623;
break;
+ case SCPSYS_MT7622:
case SCPSYS_MT7629:
scpd->data = scp_domain_mt7629;
break;
@@ -378,6 +380,10 @@ static int mtk_power_domain_probe(struct udevice *dev)
}
static const struct udevice_id mtk_power_domain_ids[] = {
+ {
+ .compatible = "mediatek,mt7622-scpsys",
+ .data = SCPSYS_MT7622,
+ },
{
.compatible = "mediatek,mt7623-scpsys",
.data = SCPSYS_MT7623,
--
2.17.1
next prev parent reply other threads:[~2019-12-06 16:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-06 16:02 [U-Boot,0/8] Add support for MediaTek MT7622 SoC Sam Shih
2019-12-06 16:02 ` [U-Boot,1/8] ARM: MediaTek: " Sam Shih
2019-12-06 19:08 ` Tom Rini
2019-12-06 16:02 ` [U-Boot,2/8] pinctrl: mediatek: add driver for MT7622 Sam Shih
2019-12-06 16:02 ` [U-Boot,3/8] pinctrl: mediatek: add support for different pinctrl Sam Shih
2019-12-06 16:02 ` [U-Boot,4/8] clk: mediatek: add driver for MT7622 Sam Shih
2019-12-06 16:02 ` [U-Boot,5/8] clk: mediatek: fix clock-rate overflow problem Sam Shih
2019-12-06 16:02 ` Sam Shih [this message]
2019-12-06 16:02 ` [U-Boot,7/8] mmc: add mmc and sd support for MT7622 Sam Shih
2019-12-06 16:02 ` [U-Boot,8/8] Add support for MT7622 reference board Sam Shih
2019-12-06 19:11 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1575648145-23733-7-git-send-email-sam.shih@mediatek.com \
--to=sam.shih@mediatek.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox