From: Andre Przywara <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/9] mmc: sunxi: Add A80 support
Date: Sat, 19 Jan 2019 01:30:52 +0000 [thread overview]
Message-ID: <20190119013055.28023-7-andre.przywara@arm.com> (raw)
In-Reply-To: <20190119013055.28023-1-andre.przywara@arm.com>
Add the Allwinner A80 mod clock address and bind it to its compatible
string. The special config clock is handled via the clock driver.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
drivers/mmc/sunxi_mmc.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index 62b658c435..87424c23dc 100644
--- a/drivers/mmc/sunxi_mmc.c
+++ b/drivers/mmc/sunxi_mmc.c
@@ -692,6 +692,10 @@ static const struct sunxi_mmc_variant sun50i_h6_variant = {
.mclk_offset = 0x830,
};
+static const struct sunxi_mmc_variant sun9i_a80_variant = {
+ .mclk_offset = 0x410,
+};
+
static const struct udevice_id sunxi_mmc_ids[] = {
{
.compatible = "allwinner,sun4i-a10-mmc",
@@ -709,6 +713,10 @@ static const struct udevice_id sunxi_mmc_ids[] = {
.compatible = "allwinner,sun8i-a83t-emmc",
.data = (ulong)&sun4i_a10_variant,
},
+ {
+ .compatible = "allwinner,sun9i-a80-mmc",
+ .data = (ulong)&sun9i_a80_variant,
+ },
{
.compatible = "allwinner,sun50i-a64-mmc",
.data = (ulong)&sun4i_a10_variant,
--
2.14.5
next prev parent reply other threads:[~2019-01-19 1:30 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-19 1:30 [U-Boot] [PATCH 0/9] sunxi: enable DM_MMC Andre Przywara
2019-01-19 1:30 ` [U-Boot] [PATCH 1/9] sunxi: clk: add MMC gates/resets Andre Przywara
2019-01-19 1:30 ` [U-Boot] [PATCH 2/9] sunxi: clk: A80: add MMC clock support Andre Przywara
2019-01-21 9:31 ` [U-Boot] [linux-sunxi] " Jagan Teki
2019-01-21 9:34 ` Chen-Yu Tsai
2019-01-21 9:38 ` Andre Przywara
2019-01-21 10:02 ` Chen-Yu Tsai
2019-01-21 10:12 ` Andre Przywara
2019-01-21 10:29 ` Chen-Yu Tsai
2019-01-19 1:30 ` [U-Boot] [PATCH 3/9] mmc: sunxi: Add DM clk and reset support Andre Przywara
2019-01-19 1:30 ` [U-Boot] [PATCH 4/9] mmc: sunxi: Add H6 support Andre Przywara
2019-01-19 1:30 ` [U-Boot] [PATCH 5/9] mmc: sunxi: Add missing compatible strings Andre Przywara
2019-01-19 1:30 ` Andre Przywara [this message]
2019-01-19 1:30 ` [U-Boot] [PATCH 7/9] mmc: sunxi: Honour non-removable property in DT Andre Przywara
2019-01-25 7:16 ` [U-Boot] [linux-sunxi] " Jagan Teki
2019-01-25 9:28 ` Andre Przywara
2019-01-29 18:20 ` Jagan Teki
2019-01-19 1:30 ` [U-Boot] [PATCH 8/9] arm: sunxi: Enable DM_MMC Andre Przywara
2019-01-31 10:04 ` Simon Glass
2019-01-19 1:30 ` [U-Boot] [PATCH 9/9] mmc: sunxi: Mark end of DM_MMC #ifdefs Andre Przywara
2019-01-31 10:04 ` Simon Glass
2019-01-31 14:55 ` Andre Przywara
2019-01-19 18:32 ` [U-Boot] [PATCH 0/9] sunxi: enable DM_MMC Vasily Khoruzhick
2019-01-19 20:33 ` André Przywara
2019-01-19 23:42 ` Vasily Khoruzhick
2019-01-20 19:51 ` [U-Boot] [linux-sunxi] " Priit Laes
2019-01-21 0:54 ` André Przywara
2019-01-21 8:22 ` Priit Laes
2019-01-21 8:51 ` Andre Przywara
2019-01-21 9:10 ` Priit Laes
2019-01-22 9:49 ` Lukasz Majewski
2019-01-21 9:22 ` Jagan Teki
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=20190119013055.28023-7-andre.przywara@arm.com \
--to=andre.przywara@arm.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