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

Commit b977be02 authored by Maria Yu's avatar Maria Yu
Browse files

ARM: dts: msm: Add support for msm8929 QRD SKUL



Add msm8929 QRD SKUL device tree support.

Change-Id: I783e97db5c2842545461d2aada362c8eae3dd278
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent 89e32cb5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -206,3 +206,5 @@ compatible = "qcom,fsm9900-mtp"
compatible = "qcom,msmvpipa-sim"
compatible = "qcom,msm8929-cdp"
compatible = "qcom,msm8929-mtp"
compatible = "qcom,msm8929-qrd"
compatible = "qcom,msm8929-qrd-skul"
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ dtb-$(CONFIG_ARCH_MSM8916) += msm8916-sim.dtb \
	msm8929-mtp-smb1360.dtb \
	msm8929-mtp-jdi-smb1360.dtb \
	msm8929-mtp-wcd9306-smb1360.dtb \
	msm8929-qrd-skul.dtb \
	msm8929-cdp-jdi.dtb
dtb-$(CONFIG_ARCH_MSM8226) += msm8226-sim.dtb \
	msm8226-fluid.dtb \
+63 −0
Original line number Diff line number Diff line
/* Copyright (c) 2015, 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/;

#include "msm8929.dtsi"
#include "msm8939-qrd-skul.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8929 QRD SKUL";
	compatible = "qcom,msm8929-qrd-skul", "qcom,msm8929-qrd", "qcom,msm8929", "qcom,qrd";
	qcom,board-id = <0x11000b 5>;
};

&i2c_4 {
	smb1357_otg_vreg: smb1357-charger@57 {
		compatible = "qcom,smb1357-charger";
		reg = <0x57>;
		interrupt-parent = <&msm_gpio>;
		interrupts = <62 8>;
		pinctrl-names = "default";
		pinctrl-0 = <&smb_int_default>;

		qcom,bmd-algo-disabled;
		qcom,float-voltage-mv = <4400>;
		qcom,charging-timeout = <1536>;
		qcom,recharge-thresh-mv = <100>;
		regulator-name = "smb1357_otg_vreg";
		qcom,soft-vfloat-comp-disabled;
		qcom,thermal-mitigation = <1500 700 600 0>;

		qcom,bms-psy-name = "bms";
		qcom,iterm-disabled;
		qcom,inhibit-disabled;
		qcom,bms-controlled-charging;
	};
};

&pm8916_chg {
	status = "ok";
	qcom,use-external-charger;
};

&pm8916_bms {
	status = "ok";
};

&usb_otg {
	qcom,hsusb-otg-mode = <3>;
	qcom,usbid-gpio = <&msm_gpio 110 0>;
	pinctrl-names = "default";
	pinctrl-0 = <&usbid_default>;
	vbus_otg-supply = <&smb1357_otg_vreg>;
};