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

Commit 8c99e75b authored by Vijay Navnath Kamble's avatar Vijay Navnath Kamble
Browse files

ARM: dts: msm: Add DT support for apq8053-lite FEP v2



Add DT support for apq8053-lite FEP v2 with Mini CCB.
Supports 8" Innolux panel by default.

Change-Id: Iab7ba5a04e61778520c877d4b6cb40530056180c
Signed-off-by: default avatarVijay Navnath Kamble <vkambl@codeaurora.org>
parent 5ef91a4b
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
Himax Touch Controller

Required properties:

 - compatible		: Should be "himax,hxcommon"
 - reg			: I2C slave address of the device.
 - interrupt-parent	: Parent of interrupt.
 - interrupts		: Configuration of touch panel controller interrupt
			GPIO.
 - interrupt-gpios	: Interrupt gpio which is to provide interrupts to
			host, same as "interrupts" node.
 - reset-gpios		: Reset gpio to control the reset of chip.
 - himax,display-coords	: Display coordinates in pixels. It is a four
			tuple consisting of min x, min y, max x and
			max y values.

Optional properties:

 - avdd-supply		: Power supply needed to power up the device, this is
			for fixed voltage external regulator.
 - vdd-supply		: Power supply needed to power up the device, when use
			external regulator, do not add this property.
 - himax,panel-coords	: Panel coordinates for the chip in pixels.
			It is a four tuple consisting of min x,
			min y, max x and max y values.

Example:
&i2c_3 {
	status = "okay";
	himax_ts@48 {
		compatible = "himax,hxcommon";
		reg = <0x48>;
		interrupt-parent = <&tlmm>;
		interrupts = <65 0x2>;
		vdd-supply = <&pm8953_l10>;
		avdd-supply = <&pm8953_l5>;
		pinctrl-names = "pmx_ts_active","pmx_ts_suspend","pmx_ts_release";
		pinctrl-0 = <&ts_int_active &ts_reset_active>;
		pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
		pinctrl-2 = <&ts_release>;
		himax,panel-coords = <0 800 0 1280>;
		himax,display-coords = <0 800 0 1280>;
		himax,irq-gpio = <&tlmm 65 0x2008>;
		//himax,rst-gpio = <&tlmm 64 0x0>;
		report_type = <1>;
	};
};
+2 −0
Original line number Diff line number Diff line
@@ -200,3 +200,5 @@ zyxel ZyXEL Communications Corp.
zarlink	Zarlink Semiconductor
bosch-sensortec»    Bosch Sensortec GmbH
lontium Lontium Semiconductor
himax	Himax Technologies, Inc.
hxcommon	Himax Technologies, Inc.
+1 −0
Original line number Diff line number Diff line
@@ -261,6 +261,7 @@ dtb-$(CONFIG_ARCH_MSM8953) += msm8953-sim.dtb \
	apq8053-ext-audio-mtp.dtb \
	apq8053-ext-codec-rcm.dtb \
	apq8053-lite-dragon-v1.0.dtb \
	apq8053-lite-dragon-v2.0.dtb \
	msm8953-cdp-1200p.dtb \
	msm8953-iot-mtp.dtb \
	apq8053-iot-mtp.dtb \
+28 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, 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 "apq8053-lite.dtsi"
#include "apq8053-lite-dragon-v2.0.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. APQ8053 Lite DragonBoard V2.0";
	compatible = "qcom,apq8053-lite-dragonboard",
			"qcom,apq8053", "qcom,dragonboard";
	qcom,board-id = <0x0103000A 0>;
};

&blsp2_uart0 {
	status = "okay";
};
+70 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, 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.
 */

#include "apq8053-lite-dragon.dtsi"

&i2c_3 {
	status = "okay";
	himax_ts@48 {
		compatible = "himax,hxcommon";
		reg = <0x48>;
		interrupt-parent = <&tlmm>;
		interrupts = <65 0x2>;
		vdd-supply = <&pm8953_l10>;
		avdd-supply = <&pm8953_l5>;
		pinctrl-names = "pmx_ts_active","pmx_ts_suspend",
					"pmx_ts_release";
		pinctrl-0 = <&ts_int_active &ts_reset_active>;
		pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
		pinctrl-2 = <&ts_release>;
		himax,panel-coords = <0 800 0 1280>;
		himax,display-coords = <0 800 0 1280>;
		himax,irq-gpio = <&tlmm 65 0x2008>;
		//himax,rst-gpio = <&tlmm 64 0x0>;
		report_type = <1>;
	};
};

&mdss_dsi {
	hw-config = "single_dsi";
};

&mdss_dsi0 {
	qcom,dsi-pref-prim-pan = <&dsi_boyi_hx83100a_800p_video>;
	pinctrl-names = "mdss_default", "mdss_sleep";
	pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;
	pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>;

	vdd-supply = <&pm8953_l10>;
	vddio-supply = <&pm8953_l6>;
	lab-supply = <&lab_regulator>;
	ibb-supply = <&ibb_regulator>;

	qcom,platform-te-gpio = <&tlmm 24 0>;
	qcom,platform-reset-gpio = <&tlmm 61 0>;
	qcom,platform-bklight-en-gpio = <&tlmm 100 0>;
};

&mdss_dsi1 {
	status = "disabled";
};

&labibb {
	status = "ok";
	qpnp,qpnp-labibb-mode = "lcd";
};

&wled {
	qcom,cons-sync-write-delay-us = <1000>;
	qcom,led-strings-list = [00 01 02 03];
};
Loading