mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
54 lines
2.1 KiB
Diff
54 lines
2.1 KiB
Diff
From 84d0ae645dc1c3d8726bf8cd482be052f915f00b Mon Sep 17 00:00:00 2001
|
|
From: Vasudevan Murugesan <vmuruges@codeaurora.org>
|
|
Date: Thu, 8 Jun 2017 19:13:48 +0530
|
|
Subject: [PATCH 5/6] ipq807x: sdhc: Fixed SDR104 mode card detection
|
|
|
|
Change-Id: I353356284d28d09d79bf7d318c4ebcdbc15e5b02
|
|
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
|
|
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
|
|
(cherry picked from commit 080d3f390aa409ef2b5adf59a175b6bb2aa863fd)
|
|
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
|
|
|
|
Change-Id: Ie5edb7b3d972e06f3eb2525e10597b49e9bae14d
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 1 -
|
|
drivers/regulator/qcom_spmi-regulator.c | 3 +++
|
|
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
@@ -425,7 +425,6 @@
|
|
|
|
status = "disabled";
|
|
};
|
|
-
|
|
blsp_dma: dma@7884000 {
|
|
compatible = "qcom,bam-v1.7.0";
|
|
reg = <0x07884000 0x2b000>;
|
|
--- a/drivers/regulator/qcom_spmi-regulator.c
|
|
+++ b/drivers/regulator/qcom_spmi-regulator.c
|
|
@@ -164,6 +164,7 @@ enum spmi_regulator_subtype {
|
|
SPMI_REGULATOR_SUBTYPE_ULT_HF_CTL4 = 0x10,
|
|
SPMI_REGULATOR_SUBTYPE_HFS430 = 0x0a,
|
|
SPMI_REGULATOR_SUBTYPE_VMPWM_CTL = 0x0a,
|
|
+ SPMI_REGULATOR_SUBTYPE_HT_P150 = 0x35,
|
|
};
|
|
|
|
enum spmi_common_regulator_registers {
|
|
@@ -492,6 +493,7 @@ static struct spmi_voltage_range smps_ra
|
|
|
|
static struct spmi_voltage_range smps_vmpwm_ranges[] = {
|
|
SPMI_VOLTAGE_RANGE(0, 664000, 664000, 1104000, 1104000, 8000),
|
|
+ SPMI_VOLTAGE_RANGE(1, 1104000, 1104000, 3300000, 3300000, 8000),
|
|
};
|
|
|
|
static struct spmi_voltage_range ftsmps_ranges[] = {
|
|
@@ -1535,6 +1537,7 @@ static const struct regulator_ops spmi_h
|
|
|
|
static const struct spmi_regulator_mapping supported_regulators[] = {
|
|
/* type subtype dig_min dig_max ltype ops setpoints hpm_min */
|
|
+ SPMI_VREG(LDO, HT_P150, 0, INF, LDO, smps_vmpwm, smps_vmpwm, 0),
|
|
SPMI_VREG(BUCK, VMPWM_CTL, 0, INF, SMPS, smps_vmpwm, smps_vmpwm, 0),
|
|
SPMI_VREG(BUCK, GP_CTL, 0, INF, SMPS, smps, smps, 100000),
|
|
SPMI_VREG(BUCK, HFS430, 0, INF, HFS430, hfs430, hfs430, 10000),
|