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

Commit da7cbf60 authored by Manu Gautam's avatar Manu Gautam
Browse files

ARM: dts: msm: Enable TLMM STROBE wakeup in XO for 9x07 HSIC



TLMM strobe line is connected to MPM pin that can be used
to wakeup HSIC from XO on any events on STROBE line e.g.
host resume in device mode or remote_wakeup in host mode.
Add MPM pin mapping to HSIC irq and update TLMM register
programming to enable TLMM MPM wakeup interrupt for HSIC
strobe line.

Change-Id: I0106afb20c0f1ad4893bb063b84695c41bc4aeb4
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 5a021a4b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2016, 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
@@ -127,6 +127,7 @@
		qcom,gic-parent = <&intc>;
		qcom,gic-map = <2 216>, /* tsens_upper_lower_int */
			<49 172>, /* usb1_hs_async_wakeup_irq */
			<50 173>, /* hsic_core_irq */
			<51 174>, /* usb2_hs_async_wakeup_irq */
			<53 104>, /* mdss_irq */
			<58 166>, /* usb_hs_irq */
@@ -155,7 +156,6 @@
			<0xff 164>, /* qpic_bam_irq[0] */
			<0xff 168>,
			<0xff 170>, /* sdc1_pwr_cmd_irq */
			<0xff 173>, /* hsic_core_irq */
			<0xff 192>, /* audio_out0_irq */
			<0xff 198>, /* qdss_etrbytecnt_irq */
			<0xff 200>, /* rpm_ipc(4) */
+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2016, 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
@@ -599,13 +599,13 @@
	hsic: hsic@7c00000 {
		compatible = "qcom,hsic-peripheral";
		reg = <0x7c00000 0x352>,
		      <0x1112000 0xc>;
		      <0x1100000 0x1200c>;
		interrupts = <0 141 0>, <0 142 0>;
		qcom,hsic-usb-core-id = <1>;
		vdd-supply = <&mdm9607_l9>;
		qcom,vdd-voltage-level = <0 1225000 1225000>;
		qcom,hsic-tlmm-init-seq =
			<0x8 0x5 0x4 0x5 0x0 0x1>;
			<0x12008 0x5 0x12004 0x5 0x12000 0x1 0x8 0x400000>;
		qcom,hsic-disable-on-boot;

		clocks = <&clock_gcc clk_gcc_usb_hsic_ahb_clk>,