Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 844cf92f authored by Anomalchik's avatar Anomalchik
Browse files

MARKW: arch: arm: dtsi: Add overlayed dtsi

parent 94f1eac9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -255,6 +255,7 @@ dtb-$(CONFIG_ARCH_MSM8940) += msm8940-pmi8937-cdp.dtb \

ifeq ($(CONFIG_MACH_XIAOMI_MSM8953),y)
dtb-$(CONFIG_MACH_XIAOMI_MIDO) += msm8953-qrd-sku3-mido.dtb
dtb-$(CONFIG_MACH_XIAOMI_MARKW) += msm8953-qrd-markw.dtb
else
dtb-$(CONFIG_ARCH_MSM8953) += msm8953-sim.dtb \
	msm8953-rumi.dtb \
+48 −0
Original line number Diff line number Diff line
qcom,2369665_markw_4000mah_averaged_masterslave_apr1st2016 {
	qcom,max-voltage-uv = <4400000>;
	qcom,nom-batt-capacity-mah = <4000>;
	qcom,batt-id-kohm = <100>;
	qcom,battery-beta = <3435>;
	qcom,thermal-coefficients = [c2 86 bb 50 cf 37];
	qcom,battery-type = "Coslight_4000mah";
	qcom,chg-rslow-comp-c1 = <3798459>;
	qcom,chg-rslow-comp-c2 = <5738213>;
	qcom,chg-rs-to-rslow = <1029153>;
	qcom,chg-rslow-comp-thr = <0xAB>;
	qcom,checksum = <0x3522>;
	qcom,gui-version = "PMI8950GUI - 2.0.0.15";
	qcom,fg-profile-data = [
		 CB 83 75 77
		 D3 7B 55 74
		 5E 83 4E 6D
		 65 88 7C 8F
		 45 82 95 98
		 69 B6 08 C2
		 52 14 9B 83
		 DA 6F C3 79
		 E9 6D 38 83
		 22 79 E5 85
		 6A 81 A1 82
		 2D 98 C0 B7
		 CE C8 70 13
		 40 10 D0 59
		 14 70 F8 FF
		 13 35 A6 45
		 CF 40 00 00
		 86 47 F1 31
		 27 40 00 00
		 00 00 00 00
		 00 00 00 00
		 62 70 F4 69
		 23 5B FD 88
		 6A 7C 15 72
		 1E 63 9E 80
		 90 75 1D 6B
		 65 6F CC A8
		 23 0D 60 56
		 5D A0 71 0C
		 28 00 FF 36
		 F0 11 30 03
		 00 00 00 0C
	];
};
+48 −0
Original line number Diff line number Diff line
qcom,2369665_markw_4000mah_default {
	qcom,max-voltage-uv = <4400000>;
	qcom,nom-batt-capacity-mah = <4000>;
	qcom,batt-id-kohm = <1>;
	qcom,battery-beta = <3435>;
	qcom,thermal-coefficients = [c2 86 bb 50 cf 37];
	qcom,battery-type = "Default_Coslight_4000mah";
	qcom,chg-rslow-comp-c1 = <3798459>;
	qcom,chg-rslow-comp-c2 = <5738213>;
	qcom,chg-rs-to-rslow = <1029153>;
	qcom,chg-rslow-comp-thr = <0xAB>;
	qcom,checksum = <0x3522>;
	qcom,gui-version = "PMI8950GUI - 2.0.0.15";
	qcom,fg-profile-data = [
		 CB 83 75 77
		 D3 7B 55 74
		 5E 83 4E 6D
		 65 88 7C 8F
		 45 82 95 98
		 69 B6 08 C2
		 52 14 9B 83
		 DA 6F C3 79
		 E9 6D 38 83
		 22 79 E5 85
		 6A 81 A1 82
		 2D 98 C0 B7
		 CE C8 70 13
		 40 10 D0 59
		 14 70 F8 FF
		 13 35 A6 45
		 CF 40 00 00
		 86 47 F1 31
		 27 40 00 00
		 00 00 00 00
		 00 00 00 00
		 62 70 F4 69
		 23 5B FD 88
		 6A 7C 15 72
		 1E 63 9E 80
		 90 75 1D 6B
		 65 6F CC A8
		 23 0D 60 56
		 5D A0 71 0C
		 28 00 FF 36
		 F0 11 30 03
		 00 00 00 0C
	];
};
+48 −0
Original line number Diff line number Diff line
qcom,2389679_markw_scud_4000mah_averaged_masterslave_apr11th2016 {
	qcom,max-voltage-uv = <4400000>;
	qcom,nom-batt-capacity-mah = <4000>;
	qcom,batt-id-kohm = <50>;
	qcom,battery-beta = <3435>;
	qcom,thermal-coefficients = [c2 86 bb 50 cf 37];
	qcom,battery-type = "Feimaotui_4000mah";
	qcom,chg-rslow-comp-c1 = <2571878>;
	qcom,chg-rslow-comp-c2 = <2754170>;
	qcom,chg-rs-to-rslow = <1877718>;
	qcom,chg-rslow-comp-thr = <0x99>;
	qcom,checksum = <0x8AA7>;
	qcom,gui-version = "PMI8950GUI - 2.0.0.15";
	qcom,fg-profile-data = [
		 B7 83 D7 75
		 60 7A 67 6D
		 6C 83 3C 77
		 E3 8B F5 96
		 F5 81 95 9A
		 23 BD 5E C9
		 4C 12 68 83
		 FD 54 C0 71
		 6C 32 3E 83
		 99 78 D8 84
		 DE 7B 51 82
		 25 99 0E BC
		 41 C8 71 0C
		 6B 10 D2 52
		 14 70 EE FC
		 F0 35 24 47
		 CA 41 00 00
		 AE 47 E5 39
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 EA 73 70 72
		 00 6C FA 80
		 3B 75 D8 62
		 01 50 AC 72
		 C5 6E 65 4B
		 7C 77 F0 AB
		 21 B9 6A 95
		 6C A0 71 0C
		 28 00 FF 36
		 F0 11 30 03
		 00 00 00 0C
	];
};
+41 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&soc {
    audio_amplifier {
		compatible = "aw,aw8736";
		ext-spk-amp-gpio = <&tlmm 96 0>;
    };
};

&int_codec {
    status = "okay";
    qcom,model = "msm8953-snd-card-mtp";
    qcom,msm-mbhc-hphl-swh = <1>;
    qcom,msm-hs-micbias-type = "internal";
    qcom,audio-routing =
					"RX_BIAS", "MCLK",
					"SPK_RX_BIAS", "MCLK",
					"INT_LDO_H", "MCLK",
					"MIC BIAS External", "Handset Mic",
					"MIC BIAS Internal2", "Headset Mic",
					"MIC BIAS External", "Secondary Mic",
					"AMIC1", "MIC BIAS External",
					"AMIC2", "MIC BIAS Internal2",
					"AMIC3", "MIC BIAS External",
					"WSA_SPK OUT", "VDD_WSA_SWITCH",
					"SpkrMono WSA_IN", "WSA_SPK OUT";

    /delete-property/ asoc-wsa-codec-names;
    /delete-property/ asoc-wsa-codec-prefixes;
};
Loading