EHCI core intiates HNP by calling otg_start_hnp() API when OTG port
is put into suspend to notify OTG driver which will take care of
HNP by suspending host and kicking gadget.
Change-Id: I2982b9f49140c2dcf2a32691e74f177e8d5d08cb
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Add support for processing OTG feature requests like b_hnp_enable,
a_hnp_support, test mode features like otg_srp_reqd, otg_hnp_reqd and
HNP polling.
Change-Id: Icb2a8c32c3b566638e48d89bac1aeef453d0e8fa
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
There are codec registers which have different addresses depending on
hardware version. Update registers' address correctly.
CRs-fixed: 340283
Change-Id: If848f71a40d244ee900dc86608058749c334ff4b
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
HCI_INQUIRY flags wasn't cleared thereby causing successive inquiry scans
triggered via IOCTLs to fail as connection timeout. As a consequence
successive device scans triggered by Bluez tool (hcitool) failed.
Now HCI_INQUIRY flags are cleared irrespective of device type being BR/EDR
or LE.
Change-Id: Ic5e4804b52f18a46940f38d1e14e8c6825fa97bb
Signed-off-by: Royston Rodrigues <roystonr@codeaurora.org>
LDO16 is not required for Quiclogic client on 7x30 devices.
Hence, it has to be disabled for this client.
CRs-fixed: 334751
Change-Id: I88f163a0a326a864556d1f3d1c9be7ebb9148220
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Handle improper configuration of GPIO 85 during sleep
to avoid the VDD_PX2 leakage current of about 0.1 mA.
CRs-fixed: 338533
Change-Id: Ia5092a8157d89b75c3256d13066fcc93603be286
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
During the SDCC DMA transfer, if DMA transfer time is
long enough to do IDLE power collapse then system may
go into IDLE power collapse and once SDCC DMA transfer
is completed, system wakes up from Idle Power Collapse
due to SDCC DMA interrupt. But delay for waking up
from Idle Power collapse could be as large as 5 ms which
really degrades the overall read & write throughputs
for SD/eMMC/SDIO cards.
For example, following are the performance numbers with
eMMC card on MSM8960 platform with and without Idle Power
Collapse.
Idle Power collapse enabled:
LMDD Read throughput = ~14 MB/s
LMDD Write throughput = ~6 MB/s
Idle Power Collapse disabled:
LMDD Read throughput = ~25 MB/s
LMDD Write throughput = ~8 MB/s
So this change votes against the Idle power collapse by registering
with PM QOS about it's acceptable DMA latency when SDCC transfer is
active. This latency value is one more than the latency of SWFI
which means system can go into SWFI but not in any of the other
low power modes (including Idle power collapse).
Change-Id: I8740dd5bb86fe8cfbf6a294850d378a3c6692f40
Signed-off-by: Oluwafemi Adeyemi <aadeyemi@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
During adsp fake event generation, event length is not getting
initialized. This sometimes results in incorrect event data being read
during fake event processing by adsp driver clients.
Fix this by initializing event length properly before generating the
fake event.
Change-Id: Ifcab5adf542b04eef3dc03913b8e10c68f686e8c
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
Configure necessary PMIC regulators, GPIO, clocks
and parameters related to external display to enable
HDMI on APQ8064 target.
Change-Id: Ia2741fc13c6a640ebc610461ad4242929383b611
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
This is a text file and should not have execute permission.
Execute permissions are removed.
Change-Id: Ia10102e621a6fc4107cd58fd0480dc542fee5acf
Signed-off-by: Joel King <joelking@codeaurora.org>
This patch adds address mapping for the HDMI transmitter
for APQ8064.
Change-Id: I87ebeb4f018f53158964b5ddfbface0549cbde12
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
RC_CORE is not required to enabled and also disable Low level debugging by
default.
Change-Id: Ie6760cb9caf0b75e2357cac9fa43431f4ad4692d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
This is a s/w workaround to fix lvds phy h/w bug. On the rising edge
of lvds phy clk the phy transimits d0d1..d6 sequence, however, lvds
panel from the manufacture expects d6d5d0...d4. So s/w adjusts
the sequence on the phy side to meet panel spec.
CRs-fixed: 338715
Change-Id: If852ba29954b363911d04cd08d3784ce7d385c2f
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Increase PMEM heap size to 64 MBytes for SurfaceFlinger.
This is to account for the higher screen resolution on this device.
CRs-Fixed: 338717
Change-Id: If05d584ae4ebbb4bcde7eb5e9f97508850432238
Signed-off-by: Chetan Kalyan <ckalyan@codeaurora.org>
This function is no longer necessary because clk_get_rate() looks
in the clk structure to return the last set rate if there is no
get_rate op. Remove it to save some code space.
Change-Id: I4d7a76bc03fc6c11d4b26b77b53ebbcd3588d9a3
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This change adds the drivers for NT35516 DSI Client and Truly qHD panel.
Change-Id: Ifb7e02300a8e42d7097845638b77e311e92f69d6
Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>
If BAM registration fails or BAM pipe connection for slimbus-RX pipe
fails, driver falls back on using RX through CSRs and interrupts.
Change-Id: Icb621468a227cb826db43695fa74b30452fbf9c1
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>