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

Commit 98f5e3f4 authored by Kishan Kumar's avatar Kishan Kumar
Browse files

ARM: dts: msm: Add support for msm8929



Add device tree support for msm8929.

Change-Id: I6c20086db077aebeeefbf7b2fd4fc4473c061471
Signed-off-by: default avatarKishan Kumar <kishank@codeaurora.org>
parent 47a22c22
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -80,7 +80,8 @@ SoCs:
- FSM9910
- FSM9910
  compatible = "qcom,fsm9900"
  compatible = "qcom,fsm9900"



- MSM8929
  compatible = "qcom,msm8929"


Generic board variants:
Generic board variants:


@@ -203,3 +204,5 @@ compatible = "qcom,fsm9010-mtp"
compatible = "qcom,fsm9900-cdp"
compatible = "qcom,fsm9900-cdp"
compatible = "qcom,fsm9900-mtp"
compatible = "qcom,fsm9900-mtp"
compatible = "qcom,msmvpipa-sim"
compatible = "qcom,msmvpipa-sim"
compatible = "qcom,msm8929-cdp"
compatible = "qcom,msm8929-mtp"
+4 −1
Original line number Original line Diff line number Diff line
@@ -104,7 +104,10 @@ dtb-$(CONFIG_ARCH_MSM8916) += msm8916-sim.dtb \
	msmtellurium-sim.dtb \
	msmtellurium-sim.dtb \
	msmtellurium-rumi.dtb \
	msmtellurium-rumi.dtb \
	msmterbium-sim.dtb \
	msmterbium-sim.dtb \
	msmterbium-rumi.dtb
	msmterbium-rumi.dtb \
	msm8929-cdp.dtb \
	msm8929-mtp.dtb \
	msm8929-smb1360-mtp.dtb
dtb-$(CONFIG_ARCH_MSM8226) += msm8226-sim.dtb \
dtb-$(CONFIG_ARCH_MSM8226) += msm8226-sim.dtb \
	msm8226-fluid.dtb \
	msm8226-fluid.dtb \
	msm8226-v1-cdp.dtb \
	msm8226-v1-cdp.dtb \
+23 −0
Original line number Original line 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-cdp.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8929 CDP";
	compatible = "qcom,msm8929-cdp", "qcom,msm8929", "qcom,cdp";
	qcom,board-id = <1 0>;
};
+30 −0
Original line number Original line 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-mtp.dtsi"
#include "msm8939-audio-internal_codec.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8929 MTP";
	compatible = "qcom,msm8929-mtp", "qcom,msm8929", "qcom,mtp";
	qcom,board-id = <8 1>;
};

&cci {
	qcom,camera@0 {
		qcom,led-flash-src = <&led_flash0>;
	};
};
+68 −0
Original line number Original line 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-mtp.dtsi"
#include "msm8939-audio-internal_codec.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8929 SMB1360 MTP";
	compatible = "qcom,msm8929-mtp", "qcom,msm8929", "qcom,mtp";
	qcom,board-id = <8 0>;
};

&i2c_4 {
	smb1360_otg_supply: smb1360-chg-fg@14 {
		compatible = "qcom,smb1360-chg-fg";
		reg = <0x14>;
		interrupt-parent = <&msm_gpio>;
		interrupts = <62 8>;
		pinctrl-names = "default";
		pinctrl-0 = <&smb_int_default>;
		qcom,charging-disabled;
		qcom,empty-soc-disabled;
		qcom,chg-inhibit-disabled;
		qcom,float-voltage-mv = <4200>;
		qcom,iterm-ma = <200>;
		qcom,recharge-thresh-mv = <100>;
		qcom,fg-auto-recharge-soc = <99>;
		qcom,thermal-mitigation = <1500 700 600 0>;
		regulator-name = "smb1360_otg_vreg";
	};
};

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

&pm8916_bms {
	status = "ok";
	qcom,disable-bms;
};

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

&cci {
	qcom,camera@0 {
		qcom,led-flash-src = <&led_flash0>;
	};
};
Loading