Update the frequencies of the clocks from Hz to KHz so that they
match the frequencies requested by the DisplayPort driver. This
ensures that the clock framework correctly scales parent clock
values for all DisplayPort clock requests.
Change-Id: I46be984340902f1facba59ad966e0f2ad1b1b006
Signed-off-by: Tatenda Chipeperekwa <[email protected]>
Crypto fix to match v5-v6 update which will allow
compilation outside SCSI_UFS_CRYPTO config.
Change-Id: Ic722f17c077c2369303c271a0177d665fe6dcae7
Signed-off-by: Gaurav Kashyap <[email protected]>
qsmmuv500_iova_to_phys_hard() takes in the IOMMU domain as an
input parameter, but only uses it to derive the SMMU domain.
In preparation for moving this function out to a file where
to_smmu_domain() will not be available, require that the input
argument be an SMMU domain, instead of the IOMMU domain. This
change has no functional impact.
Change-Id: I2ac7efbae70df2378dc382d697dcfe7a676b85f2
Signed-off-by: Isaac J. Manjarres <[email protected]>
DOMAIN_ATTR_DEBUG is queried by the qsmmuv500_iova_to_phys()
function, which will move outside of arm-smmu.c, requiring
arm_smmu_domain_get_attr() to be exposed, which doesn't make
sense for only one attribute.
Thus, remove this domain attribute and inform the SMMU driver
that it is operating on a debug domain by introducing a new
marker in the msm_iommu_domain for debug domains. This patch
has no functional impact.
Change-Id: I86dfbadab0a74f9018acc602eea28b2a3a2c38b5
Signed-off-by: Isaac J. Manjarres <[email protected]>
arm_smmu_init() has retained some workarounds for
back when it could be invoked multiple times as either
part of the initcall sequences, or through the IOMMU
OF table. This was necessary before the driver
core handled dependencies between an IOMMU master
and an IOMMU device. Since this is no longer the case,
we can remove this logic. Also, while we're here,
unregister the TBU driver if the SMMU driver cannot
be registered.
Change-Id: I5c2ed4a046c63babb3bd60390c468a4e5e27de6e
Signed-off-by: Isaac J. Manjarres <[email protected]>
The current TLB sync timeout handling doesn't make sense
in the context of non QSMMU-V500 SMMU V2 implementations, so
introduce the notion of architecture specific handling
for TLB sync timeouts.
Change-Id: Ibceb5422d6488f9e67cc4c4ed968348ad92aa834
Signed-off-by: Isaac J. Manjarres <[email protected]>
To make it easier for the upcoming change to move GMU to a component
device make a real function to test if the target is capable of
scaling the bus bandwidth on the GMU.
Change-Id: Ic0dedbad255622428de2ac01a5833a9e28c9c3ac
Signed-off-by: Jordan Crouse <[email protected]>
Correct the definition of SCM_DLOAD_BOTHDUMPS in the msm-poweroff
driver to be an OR of the minidump and the full dumps.
Change-Id: I22ca23df281d09f36fa112719ea6a6ddadd5562e
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
Add QCOM_DOWNLOAD_MINIDUMP as an entry into the download
mode options for the qcom_scm driver.
Change-Id: Ied3dcd5831a4a6068e891e36dd5ee34a2102f353
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
Move UFS PHY calibration, starting serdes and PCS ready status polling
from phy_power_on callback to phy_calibrate callback.
Change-Id: I772978735f00ac31539eb3bec471d4d7e5f16d73
Signed-off-by: Can Guo <[email protected]>
Add clock IDs for CAMCC/DISPCC/GCC/GPUCC/VIDEOCC for clients to be able to
request for clocks from these clock controllers.
Change-Id: Ic809b350cfb15d7dce4667907fe6176a7293bdcd
Signed-off-by: Taniya Das <[email protected]>
Because between HDMI and DP have different colorspaces, it adds
drm_mode_create_dp_colorspace_property() function for creating of DP
colorspace property.
v3: Addressed review comments from Ville
- Add new colorimetry options for DP 1.4a spec.
- Separate set of colorimetry enum values for DP.
v4: Add additional comments to struct drm_prop_enum_list.
Polishing an enum string of struct drm_prop_enum_list
v5: Change definitions of DRM_MODE_COLORIMETRYs to follow HDMI prefix and
DP abbreviations.
Add missed variables on dp_colorspaces.
Fix typo. [Uma]
v6: Addressed review comments from Ilia and Ville
- Split drm_mode_create_colorspace_property() to DP and HDMI connector.
v7: Fix typo [Jani Saarinen]
Fix white space.
v8: Addressed review comments from Ville
- Drop colorimetries which have another way to distinguish or which
would not be used.
v9: Addressed review comments from Ville
- Split hunk into renaming and adding of code.
Change-Id: I7fa6831aeca1ae2e8dca79bad4f1dec373b53199
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Git-commit: 45cf0e91df8c75c3a0c69e54d01cf42e24af365b
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Gwan-gyeong Mun <[email protected]>
Reviewed-by: Uma Shankar <[email protected]>
Signed-off-by: Tatenda Chipeperekwa <[email protected]>
As between HDMI and DP have different colorspaces, in order to distinguish
colorspace of DP and HDMI, it renames drm_mode_create_colorspace_property()
function to drm_mode_create_hdmi_colorspace_property() function for HDMI
connector.
In order to apply changed drm api, i915 driver has channged.
It addresses review comments from Ville.
- Split hunk into renaming and adding of code.
Change-Id: I4dc4b5e46ec52dd0e3f3970901c4149e5f295c69
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Git-commit: 8806cd3aa025ad9351678e7b8377080dec1315a9
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Gwan-gyeong Mun <[email protected]>
Signed-off-by: Tatenda Chipeperekwa <[email protected]>
Even if we use status = "disabled" in mem-offline node, still the
update_memory_limit() will go and update memory_limit variable and
thus the removed memory is never added to system as the
mem-offline driver is disabled. Correct this logic.
Change-Id: I80102830f0a5a82dcd4cddfaddb0de21bfdd0110
Signed-off-by: Charan Teja Reddy <[email protected]>
Signed-off-by: Isaac J. Manjarres <[email protected]>
Consider the memory limit enforced by boot parameter and
restrict adding beyond this boundary during a memory hotplug.
Change-Id: Ibd13e47ee13004381a1ddff649150fae13429c87
Signed-off-by: Vijayanand Jitta <[email protected]>
Signed-off-by: Isaac J. Manjarres <[email protected]>
Hardware programming guide requires reset AXI clock in
CVP power on sequence.
Change-Id: Idf153e8dac1237f677c267162727173eee724317
Signed-off-by: George Shen <[email protected]>
All the targets now do independent bus calculations.
Change-Id: Ie3303499cc4bb9a1f58c830e366a75f8f0058c42
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <[email protected]>
Print enabled clocks, regulators when cpu/cluster enters
a LPM level. This debug information is useful to know
which resources are enabled and preventing cpu/cluster
entry to a LPM level.
Change-Id: Ifc69165773a401b35fb4f4ceaccab952f19f88fd
Signed-off-by: Vivek Aknurwar <[email protected]>
When idle, cpu/cluster can enter various LPM levels
and can be blocked by certain clk/clks as clks
are voted on. Printed clk tree in path of cpu/cluster entering
one of LPM level, helps to know/debug on what is blocking
cpu/cluster entering LPM.
Change-Id: I194c09fb65783c76628aae5702be5a53fa7001b5
Signed-off-by: Vivek Aknurwar <[email protected]>
Enable gpu governors to dynamically scale gpu frequency and bus frequency
based on gpu load.
Change-Id: I76a067a76481fa34b364c7d5699bb40168bea9de
Signed-off-by: Mohammed Mirza Mandayappurath Manzoor <[email protected]>
Check for the current state of sub system restart notifier when
the LOCATOR_UP notification is given to slimbus driver and do the
slimbus initialization if the current state is already set to
SERVREG_NOTIF_SERVICE_STATE_UP_V01.
This change is needed in the cases where LOCATOR_UP notification
to slimbus driver got delayed and the state of the sub system restart
notifier is already set to SERVREG_NOTIF_SERVICE_STATE_UP_V01 as
slimbus will be expecting the SERVREG_NOTIF_SERVICE_STATE_UP_V01
notification which is not going to come as the notifier state is
already changed.
Change-Id: I4804bbb13e065ac78be7a442993286532402db9d
Signed-off-by: Prudhvi Yarlagadda <[email protected]>
Prevent system suspend from happening during slimbus initialization
process where the NGD Slimbus component gets enummerated with
ADSP slimbus component and then queries the logical addresses of
the clients connected.
This is to prevent the issue where the slimbus driver goes to
suspend due to system suspend after the enumeration phase is
done after an SSR/PDR. Driver again resumes for querying logical
addresses of clients connected assuming enumeration process is
already done whereas it has to be re-enumerated as driver got
suspened and resumed.
Change-Id: I42ab3f7a6061a1c464d436aa13e43d27eb312fd4
Signed-off-by: Prudhvi Yarlagadda <[email protected]>
Global clk header API must be in linux clk include diretory.
Move clk_debug_print_enabled prototype to linux header
from local clk.h header.
Change-Id: Ie40349620f60e16fb9aa89a7a97cc03d164b638e
Signed-off-by: Vivek Aknurwar <[email protected]>
Add support to calculate maximum current available for flash module.
Clients of flash LED makes use of this API qti_flash_led_prepare()
to query maximum available current for different flash LED channels.
Change-Id: I26988b1afb1e57a190aa25061189b71ca3f7ea95
Signed-off-by: Shyam Kumar Thella <[email protected]>