Enable the SM6150 interconnect driver so that consumers are
able to obtain their path handles properly.
Change-Id: Ie6b99d37f73b69dc375426d64e9148b9a64180f5
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Add snapshot of virtio i2c driver from msm-4.14.
This snapshot is taken as of msm-4.14 commit 972d72613cd1
("i2c: virtio: Fix return value issue of transfer function").
Change-Id: Idb4f6b5918f7d7237146d02839638b8a97a05c02
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
When extracting the mask for an SMR that was programmed by the
bootloader, the SMR.valid field is also extracted and is treated
as part of the mask. This causes issues when removing an SMMU
master, as removing the master involves constructing an SMR
entry with the mask and SID without the valid bit set and writing
that value to the SMR. However, since the valid bit was part of
the mask, the SMR will still be valid.
Instead, remove the valid bit from the raw SMR value that is used
for extracting the SMR mask.
Change-Id: Iccada2c474b196200ae1b56eb9faa9cb026f5ef1
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Use default settings for CLKREQ# from pinctrl DTSI.
Configuring the GPIO in the HLOS driver is causing the
PCIe controller to go down and any DBI access is causing
a NOC error. Since this GPIO is not configured during
resume or sleep the driver can rely on the pinctrl settings
that is programmed as part of the TLMM driver initialization
of the GPIO as default.
Change-Id: Ib6a62e6aa471c39858302fdc0e575fc7ab5abff4
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Remove GPUCC PLL0 configuration from HLOS as this PLL would be
configured from Graphics FW.
Change-Id: I97e94d71c941c67dad9e0fe3f2a08d4b36f95103
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
Implement enable_signaling for timeline fence. Dma fence driver's
APIs such as dma_fence_add_callback() use enable_signaling for
fence status and correct return value. Implementing this fix
scenarios such as dma_fence_add_callback() returning invalid
return value when timeline has been moved ahead.
Change-Id: Iaad8bf2801802216050e70c1b8ee1e0b2ec87a5f
Signed-off-by: Pranav Patel <pranavp@codeaurora.org>
Add support for reading tcsr configuration from device tree and
configuring tcsr register dynamically.
This change for supporting sa8195p PCIe1. The default PCIe linkage
status of PCIe1 and 2 on sa8195p is:
PCIe1: not enabled
PCIe2: x4 lane
When config the register TCSR_PCIEPHY_LINK_CONFIG to 0(default 1),
the linkage status becomes:
PCIe1: x2 lane
PCIe2: x2 lane
This change add the ability to read tcsr value from device tree.
Change-Id: Iac53f61a147a839772c8411993f3be233b142b56
Signed-off-by: Xiang Li <lixiang@codeaurora.org>
Signed-off-by: Nitesh Gupta <nitegupt@codeaurora.org>
Add the config entry to set the MaxPower to 900mA to accommodate
Super Speed and above.
Change-Id: I7e002b4942d1f5548c6d3281ac89e74f633b5723
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Currently 500mA is used as max allowable current to draw over
USB VBUS. However in SuperSpeed a gadget may draw up to 900mA
Update the CONFIG_USB_GADGET_VBUS_DRAW's allowable range to
be up to 900.
Change-Id: I781308065b30b260437f7b3180e276f6a657f504
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Adding support for cp camera buffer mapping and
new hfi for chroma buffer.
Change-Id: Iadce59b596447c0bbdf4985bdb8c9209df517bae
Signed-off-by: Pulkit Singh Tak <ptak@codeaurora.org>
Qcom SDHC uses base clock in calculating the data-timeout
value. So SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK quirk is set.
Moreover discard size calculation uses max_busy_timeout in deriving the
value. So, we can ensure a larger discard size by setting this
timeout as zero. If this timeout is zero then it takes max erase
timeout vlaue (which is 60sec) in the discard size calculation.
But when this quirk is set max_busy_timeout variable gets updated
to non zero value leading to smaller discard size.
Define get_max_timeout_count ops in sdhci_msm_ops which always sets
max_busy_timeout to zero.
Change-Id: Iec6013dde6082b2a8fdb449cacf503c290252d0b
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Enable communication with secure world on gen3auto
targets.
Change-Id: I72a6227d5b2ca4825cb7614055163bffb4245eea
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Add master and slave ID constants for all Qualcomm Technologies, Inc.
SM6150 interconnect providers which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.
Change-Id: I883cee60db070c45191b1a7ecec07f90a2c49190
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
The ufs_reset pin is expected to be wired to the reset pin of the
primary UFS memory but is pretty much just a general purpose output pin.
Reorder the pins and expose it as gpio 204, so that the UFS driver can
toggle it.
Change-Id: Ia891c0d817b1176df840ea3774776e57497a837f
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Add GPIO to PDC wakeirq map and update the direct connect
list.
Change-Id: I12f368d840d22fc2e45a70a3abfc45a00cb3848b
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
When uploading a constant effect after stopping FIFO play, the effect
pointer in haptics_play_info structure will be set to NULL. If there
is any pending fifo-empty IRQ gets served after that, it will trigger
a NULL pointer dereference issue. To avoid this, check the playing
effect pointer before use it in the IRQ handler.
Change-Id: Iacfea5e48d0a9519fa2c930ec821e395c43b6281
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>