110c705c64bb41e53741e6483c7920b53e9f6bd6
[openwrt/staging/blocktrron.git] /
1 From 37573248884ec252165a246df21642c52573f013 Mon Sep 17 00:00:00 2001
2 From: Jonathan Bell <jonathan@raspberrypi.com>
3 Date: Mon, 8 Apr 2024 16:16:53 +0100
4 Subject: [PATCH 1020/1085] drivers: mmc: sdhci-brcmstb: bcm2712 supports
5 HS400es and clock gating
6
7 Enhanced Strobe and clock gating are set in the SDHCI_VENDOR register,
8 so make the driver aware it needs to do this for this controller.
9
10 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
11 ---
12 drivers/mmc/host/sdhci-brcmstb.c | 2 ++
13 1 file changed, 2 insertions(+)
14
15 --- a/drivers/mmc/host/sdhci-brcmstb.c
16 +++ b/drivers/mmc/host/sdhci-brcmstb.c
17 @@ -400,6 +400,8 @@ static const struct brcmstb_match_priv m
18 };
19
20 static const struct brcmstb_match_priv match_priv_2712 = {
21 + .flags = BRCMSTB_MATCH_FLAGS_HAS_CLOCK_GATE,
22 + .hs400es = sdhci_brcmstb_hs400es,
23 .cfginit = sdhci_brcmstb_cfginit_2712,
24 .ops = &sdhci_brcmstb_ops_2712,
25 };