Add ioctl support to handle and generate pps siganal &
interrupt.Add device nodes for pps interrupts to interact
with user space.
Change-Id: I401326443e69bfd0fb37986004bdc47f41dc57b7
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
Add function group for qup11_f* instance for holi target,
used by spare i2c usecases.
Change-Id: I69fea8a8ac846a5bc5e92e5f8d8eb5ccd9e57450
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
Enable QCOM_SCM, QSEECOM in quin VM defconfigs and also enable
QCOM_SCM_QCPE to support SCM backend via QCPE.
Disable CONFIG_QCOM_RTIC as it is invoking SCM call before HAB
channel creation.
Change-Id: Id91f6e924cc66d51c7af2ad4c3298ea85bdca933
Signed-off-by: katamoni sai abhilash <katamoni@codeaurora.org>
This change adds support for direwolf PDC irqchip.
Change-Id: Id4c651fd57d72eca59fb978ffe10ce383d74e920
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Some GDSCs have side effects when enabled without first
performing a special reset sequence. It is only feasible for
this sequence to be performed by the always-on processor (AOP)
when it is resuming from system sleep. Add support for a device
tree flag which can be specified in order to skip physically
disabling a GDSC when regulator_disable() is called. The AOP
will then ensure that the GDSC is disabled upon entering system
sleep and appropriately reset upon resuming from system sleep.
Also change the is_enabled() callback so that it returns the
GDSC logical enable state instead of the physical enable state
whenever the disable skipping flag is specified. This ensures
that all dependent regulator and bus requests are made in the
case of disabling and re-enabling a GDSC without entering system
sleep (i.e. when the GDSC shows up as still physically enabled.)
If the disable skipping feature is allowed in device tree, then
use regulator_set_mode() to control the feature's usage at
runtime. This is needed for SM8150 gpu_cx_gdsc in order to
facilitate GMU hang recovery.
REGULATOR_MODE_NORMAL (default) --> physical GDSC disable skipped
REGULATOR_MODE_IDLE --> physical GDSC disable occurs.
Change-Id: I3966fd1ac59acef215c4c051efb293a49e5ebdbd
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Make change in sequence to assert XO GPIO before BT_EN
GPIO is asserted for valid latch in HW.
Change-Id: Ibe3bd668adb284c861619d3b195006b7e9b106eb
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
Add support to configure slew ramp time for brightness change for
PM7325B by adding a DT property named "qcom,slew-ramp-time".
Also set slew rate to lowest value when enabling or disabling WLED
to ensure fast turning on/off of display and restore it to the
specified value when display is turned on.
Change-Id: I63ae34702b934f45ffab39d521a6ecc0a6c8ccd5
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Currently we are returning ENODEV if the device is not
boot device. In few targets, we have extra UFS device
for storage purposes. Allow secondary UFS probing.
Change-Id: I67f1f84227292ba18157142171acc4757432c318
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
These virtio clocks are necessary for 2nd UFS pass-through on
sa8195p virtual machine.
Change-Id: Ic117eab58eaaf1ef9e91311a17e6e59eebf0200b
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
hab only supports multiple page size memory export, so the exported buffer
size must be N * PAGE_SIZE w/ N > 0.
Change-Id: I0b59639b3ca8842ccd49deb6b32f29f68da0b7a4
Signed-off-by: Yao Jiang <yaojia@codeaurora.org>
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Configure QoS settings during probe for all nodes instead of for each
node individually upon first client request.
Change-Id: I80a1b95080b22392948428f341d1f5bab82acfd9
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
Update driver to support legacy drivers which do not have
separate offset address to read stats. The legacy targets
provided with start and end address.
Change-Id: I241c1b28d23491001d193737ac1bca90a87e9169
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>