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

Commit 8c9c94dd authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: qcom: Add initial device tree support for sdm429w"

parents 5cf6b8c7 d5930428
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -94,6 +94,18 @@ SoCs:
- SDA660
  compatible = "qcom,sda660"

- SDM429
  compatible = "qcom,sdm429"

- SDA429
  compatible = "qcom,sda429"

- SDM429W
  compatible = "qcom,sdm429w"

- SDA429W
  compatible = "qcom,sda429w"

Generic board variants:

- CDP device:
@@ -266,3 +278,23 @@ compatible = "qcom,sda660-mtp"
compatible = "qcom,sda660-cdp"
compatible = "qcom,sda660-qrd"
compatible = "qcom,mdm9607-cdp"
compatible = "qcom,sdm429-cdp"
compatible = "qcom,sdm429w-cdp"
compatible = "qcom,sdm429-mtp"
compatible = "qcom,sdm429w-mtp"
compatible = "qcom,sdm429-qrd"
compatible = "qcom,sdm429w-qrd"
compatible = "qcom,sda429-cdp"
compatible = "qcom,sda429w-cdp"
compatible = "qcom,sda429-mtp"
compatible = "qcom,sda429w-mtp"
compatible = "qcom,sda429w-qrd"
compatible = "qcom,sda429-qrd"
compatible = "qcom,sdm429w-wtp"
compatible = "qcom,sdm429-wtp"
compatible = "qcom,sda429w-wtp"
compatible = "qcom,sda429-wtp"
compatible = "qcom,sda429w-wdp"
compatible = "qcom,sda429-wdp"
compatible = "qcom,sdm429w-wdp"
compatible = "qcom,sdm429-wdp"
+18 −0
Original line number Diff line number Diff line
@@ -468,6 +468,24 @@ dtb-$(CONFIG_ARCH_SDM660) += sdm660-sim.dtb \
	sdm660-usbc-audio-rcm.dtb
endif

ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
        dtbo-$(CONFIG_ARCH_SDM429W) += sdm429-wtp-overlay.dtbo\
		sdm429-wdp-overlay.dtbo\
		sda429-wdp-overlay.dtbo\
		sda429-wtp-overlay.dtbo

sdm429-wtp-overlay.dtbo-base := sdm429.dtb
sdm429-wdp-overlay.dtbo-base := sdm429.dtb
sda429-wtp-overlay.dtbo-base := sda429.dtb
sda429-wdp-overlay.dtbo-base := sda429.dtb
else
dtb-$(CONFIG_ARCH_SDM429W) += sdm429-wtp.dtb\
	sdm429-wdp.dtb\
	sda429-wtp.dtb\
	sda429-wdp.dtb
endif


endif
ifeq ($(CONFIG_ARM64),y)
always		:= $(dtb-y)
+84 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019-2020, 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.
 */

qcom,3388014_i13z5p_680mah_averaged_masterslave_mar26th2018 {
	qcom,fastchg-current-ma = <480>;
	/* #3388014_I13Z5P_680mAh_averaged_MasterSlave_Mar26th2018*/
	qcom,max-voltage-uv = <4400000>;
	qcom,fg-cc-cv-threshold-mv = <4390>;
	qcom,nom-batt-capacity-mah = <680>;
	qcom,batt-id-kohm = <200>;
	qcom,battery-beta = <3435>;
	qcom,battery-type =
		"3388014_i13z5p_680mah_averaged_masterslave_mar26th2018";
	qcom,checksum = <0x8C0B>;
	qcom,gui-version = "PM660GUI - 0.0.0.45";
	qcom,fg-profile-data = [
		 5E 24 56 0C
		 E9 12 B0 0D
		 05 1D 59 01
		 F8 05 8C 02
		 24 1B CF 13
		 D6 35 86 3B
		 A2 00 00 00
		 1A 00 00 00
		 00 00 1F CD
		 57 AD 6C CA
		 47 00 08 00
		 FD DA E6 ED
		 09 EC 03 E2
		 58 07 89 01
		 21 14 BA 5A
		 0A 06 09 20
		 27 00 14 00
		 55 20 C3 04
		 3A 0B 7C 05
		 01 1D 39 02
		 41 0D 1A 0B
		 89 18 A6 2B
		 2E 54 B7 72
		 75 00 00 00
		 07 00 00 00
		 00 00 9C CC
		 DE C3 51 A4
		 48 00 00 00
		 77 EB E6 ED
		 6F EC D3 D2
		 FF 07 DF F3
		 91 E3 56 1A
		 99 33 CC FF
		 07 10 00 00
		 BB 02 66 46
		 48 00 40 00
		 D8 02 0A FA
		 FF 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
		 00 00 00 00
	 ];
};
+7 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
			reg = <0x900 0x100>;
		};

		qcom,power-on@800 {
		pm660_pon: qcom,power-on@800 {
			compatible = "qcom,qpnp-power-on";
			reg = <0x800 0x100>;
			interrupts = <0x0 0x8 0x0 IRQ_TYPE_NONE>,
@@ -111,6 +111,12 @@
			};
		};

		pm660_pbs: qcom,pbs@7400 {
			compatible = "qcom,qpnp-pbs";
			reg = <0x7400 0x100>;
			status = "disabled";
		};

		pm660_vadc: vadc@3100 {
			compatible = "qcom,spmi-adc-rev2";
			reg = <0x3100 0x100>;
+26 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2020 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.
 */

/dts-v1/;
/plugin/;

#include "sda429-wdp.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDA429 QRD BG WDP Overlay";
	compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd";
	qcom,msm-id = <437 0x0>;
	qcom,board-id = <0x01000b 9>;
	qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>;
};
Loading