ebd3763a58f77847ee268e4ad918448751fa599e
[openwrt/staging/jow.git] / target / linux / ipq807x / patches-6.1 / 0014-v6.2-arm64-dts-qcom-ipq8074-hk01-add-VQMMC-supply.patch
1 From 2c394cfc1779886048feca7dc7f4075da5f6328c Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Fri, 19 Aug 2022 00:18:15 +0200
4 Subject: [PATCH] arm64: dts: qcom: ipq8074-hk01: add VQMMC supply
5
6 Since now we have control over the PMP8074 PMIC providing various system
7 voltages including L11 which provides the SDIO/eMMC I/O voltage set it as
8 the SDHCI VQMMC supply.
9
10 This allows SDHCI controller to switch to 1.8V I/O mode and support high
11 speed modes like HS200 and HS400.
12
13 Signed-off-by: Robert Marko <robimarko@gmail.com>
14 Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 Link: https://lore.kernel.org/r/20220818221815.346233-5-robimarko@gmail.com
16 ---
17 arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 2 ++
18 1 file changed, 2 insertions(+)
19
20 --- a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
21 +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
22 @@ -3,6 +3,7 @@
23 /* Copyright (c) 2017, The Linux Foundation. All rights reserved.
24 */
25 #include "ipq8074.dtsi"
26 +#include "pmp8074.dtsi"
27
28 / {
29 model = "Qualcomm Technologies, Inc. IPQ8074-HK01";
30 @@ -84,6 +85,7 @@
31
32 &sdhc_1 {
33 status = "okay";
34 + vqmmc-supply = <&l11>;
35 };
36
37 &qusb_phy_0 {