Commit Graph

1153734 Commits

Author SHA1 Message Date
Shubham Diwane
8f04588972 interconnect: qcom: Add monaco_auto interconnect provider driver
Introduce QTI monaco_auto specific provider driver using the
interconnect framework.

Change-Id: Ibb1b490ac6a0496c2ced9becda08b1a9301c872f
Signed-off-by: Veera Vegivada <quic_vvegivad@quicinc.com>
Signed-off-by: Shubham Diwane <quic_sanantad@quicinc.com>
2023-06-09 10:09:59 +05:30
shubham diwane
59caa90996 defconfig: gen4auto: Enable clock controllers for Monaco_auto
Enable gcc, camcc, dispcc, gpucc and videocc so that clients can
vote on these clocks and also enable debugcc for clk_measure
support.

Change-Id: Ic342757a6276ac11d53439e6635ba5030d8626f6
Signed-off-by: shubham diwane <quic_sanantad@quicinc.com>
2023-06-08 21:36:42 -07:00
Satya Priya Kakitapalli
49099f5224 clk: qcom: monaco_auto: Add support for clock controller drivers
Add support for CAMCC, DEBUGCC, DISPCC, GCC, GPUCC and VIDEOCC
drivers on Monaco_auto platform.

Change-Id: Ibbff6cc209e3e19be62dec2e130e25b610af4de7
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
2023-06-08 21:36:07 -07:00
Shubham Diwane
daa55ce53e clk: qcom: lemans: Add support for clock controller drivers
Add support for CAMCC, DEBUGCC, DISPCC, GCC, GPUCC and VIDEOCC
drivers on lemans.

Change-Id: I65e5a2a1fb2d4e535bf2f75bf33a47a46cb1d1b6
Signed-off-by: Veera Vegivada <quic_vvegivad@quicinc.com>
Signed-off-by: Shubham Diwane <quic_sanantad@quicinc.com>
2023-06-09 10:03:31 +05:30
qctecmdr
8acdbd1706 Merge "defconfig: enable dcvs function for blair" 2023-06-08 20:04:31 -07:00
Vivek Aknurwar
8126522113 clk: qcom: gcc-pineapple: update gcc_qupv3_wrap2_s6 clock freq table
Add finer frequencies 51, 102, 112, 117.96Mhz to gcc_qupv3_wrap2_s6 clock's
freq table so client can vote on it as required to be in lowsvs, svs corner
with certain baud rates.

Change-Id: I0f9bd3bae69fae1a7c713533bf78bd534fa8f11d
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-06-08 13:22:45 -07:00
Stephen Dickey
ef152a1111 sched/walt: limit frequency on thermal halted cpus
Tasks affined to a single cpu will be allowed to run on that
cpu regardless of the halt state of the cpu. This creates
an issue for thermally mitigated cpus that are also halted
by cooling devices.

Limit cpus to fmin that are halted by a thermal client only.
Since tasks can run on a halted cpu under some circumstances,
for example, if they've been affined to only one cpu, the
performance of a task affined to a single cpu should not
be reduced simply because the cpu is currently halted.
Therefore, only thermally induced halt shall cause the
frequency limit.

When a cpu is halted by a thermal client, changing the cpu's
frequency at the next update is critical to actually mitigate the
cpu's temperature. When the cpu is unhalted for thermal
reasons, the frequency requested by the cpu should be
restored just as quickly.

Thermal cooling devices can mitigate groups of cpus or
individual cpus, per the logic of the thermal drivers.
Since this cpu's frequency is tied to that of the other
cpus in the system, the frequency shall be limited for
every cpu in the cluster.

Change-Id: Idf19c6e41f05dd62f45262989fcf137b756f915a
Signed-off-by: Abhijeet Dharmapurikar <quic_adharmap@quicinc.com>
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
2023-06-08 11:58:19 -07:00
qctecmdr
72ed3c469b Merge "modules.list.msm.blair: add ufs modules" 2023-06-08 11:29:41 -07:00
qctecmdr
2971c919d9 Merge "gunyah: Fix potential nullptr in gh_boost_rmfreq()" 2023-06-08 11:29:40 -07:00
qctecmdr
64f82a7746 Merge "autogvm.bzl: Specify boot partition size for AVB signing" 2023-06-08 11:29:40 -07:00
qctecmdr
9dc9862046 Merge "ANDROID: build: Pass variant-specific kernel cmdline params to vendor" 2023-06-08 11:29:39 -07:00
Stephen Dickey
b60a99258c sched/walt: core control: cleanup cluster_paused_cpus
The implementation of cluster_paused_cpus is unoptimal
and dependent upon the fact that cpus_paused_by_us and
cpus_part_paused_by_us will not intersect.

Improve the implementation to simplify the code and eliminate
this assumption.

Change-Id: Id4d1b4274d57f196ca279d3016236f4d64b4ebb6
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
2023-06-08 10:31:58 -07:00
Vivek Aknurwar
5fb8f545b7 clk: qcom: gdsc-regulator: Add gdsc timeout log for set mode API
Currently GDSCR registers are not logged on set mode API failure,
hence add log for set mode failure and also consolidate gdsc failure
status logging for common use.

Change-Id: Icc389783d33d0267d6c094dccc1e22cb699528f2
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-06-08 09:35:27 -07:00
qctecmdr
c5bd3d246d Merge "thermal: qcom-spmi-adc-tm5: Add support to register ADC channels without trips" 2023-06-08 08:31:46 -07:00
qctecmdr
04ebd8c576 Merge "soc: qcom: Fixes Clock level array Buffer overflow" 2023-06-08 08:31:46 -07:00
qctecmdr
c597169b40 Merge "regulator: add a regulator driver for the PM8008 PMIC" 2023-06-08 08:31:45 -07:00
qctecmdr
7352ae752e Merge "soc: qcom: qcom_cpuss_sleep_stats: Add support for v3 compatible" 2023-06-08 08:31:45 -07:00
qctecmdr
f2fe0108f4 Merge "ANDROID: build: Remove check for dtbo in build vendor_boot flag" 2023-06-08 08:31:45 -07:00
qctecmdr
3ad44c09f3 Merge "Add hwspinlock to first stage modules list" 2023-06-08 08:31:44 -07:00
qctecmdr
395513e44a Merge "usb: dwc3-msm: Add interconnect bus voting through dt-node" 2023-06-08 08:31:44 -07:00
qctecmdr
8cd458d54e Merge "input: misc: qpnp-power-on: Add support for PMIC PON driver" 2023-06-08 08:31:44 -07:00
qctecmdr
9ec2823aab Merge "interconnect: qcom: Add SM6150 interconnect provider driver" 2023-06-08 08:31:44 -07:00
qctecmdr
8fbff94a53 Merge "driver: regulator: Fix the compilation warnings for pointer" 2023-06-08 08:31:43 -07:00
qctecmdr
ae1429b10f Merge "Enable msm-geni-serial on BLAIR" 2023-06-08 08:31:43 -07:00
qctecmdr
ba5ec47f91 Merge "spi: spi-msm-geni: Add new DT property for xfer timeout" 2023-06-08 08:31:43 -07:00
qctecmdr
2495041ccb Merge "arm64: defconfig: Enable tsens, thermal drivers for gen4" 2023-06-08 08:31:42 -07:00
qctecmdr
36dfa8c8f1 Merge "icc: dt-bindings: add endpoint IDs for interconnects for monaco_auto" 2023-06-08 08:31:41 -07:00
qctecmdr
c6370a5ceb Merge "interconnect: qcom: pineapple: update QOS for UBWC_P/GIC" 2023-06-08 02:36:23 -07:00
qctecmdr
869d238f21 Merge "cma: Register hooks for ZONE_MOVABLE allocs" 2023-06-08 02:36:23 -07:00
qctecmdr
d9b3b817d6 Merge "backlight: qcom-spmi-wled: Add support for QCOM SPMI WLED driver" 2023-06-08 02:36:22 -07:00
qctecmdr
e89bf8a02b Merge "i3c: i3c-master-msm-geni: Select xfer mode based on xfer length" 2023-06-08 02:36:22 -07:00
qctecmdr
3b659f3204 Merge "sps: remove bam timer support" 2023-06-08 02:36:21 -07:00
qctecmdr
72530f5795 Merge "gunyah: Return probe defer if RM driver not initialized" 2023-06-08 02:36:21 -07:00
qctecmdr
e79cf82612 Merge "soc: qcom: sys_pm_vx: Add support for AOSS DRVs" 2023-06-08 02:36:21 -07:00
qctecmdr
d2c5566b60 Merge "rpmsg: glink: Tie rpdev lifetime to remote open/close" 2023-06-08 02:36:19 -07:00
qctecmdr
cbeb72377f Merge "sched/walt: core control: update meaning of paused-by-us masks" 2023-06-08 02:36:18 -07:00
qctecmdr
9b1ca7e67a Merge "soc: qcom: memshare: Fix permissions argument" 2023-06-08 02:36:18 -07:00
qctecmdr
3af7f2f355 Merge "drivers: thermal: qcom: Add single bcl TMD to qmi cdev list" 2023-06-08 02:36:18 -07:00
qctecmdr
af9e07eb69 Merge "soc: qcom: socinfo: Add NULL check for part_info" 2023-06-08 02:36:17 -07:00
qctecmdr
38f5725bc7 Merge "dt-bindings: iio: Add IIO channel numbers for QPNP-QNOVO5 charger" 2023-06-08 02:36:17 -07:00
qctecmdr
4e40cadf22 Merge "soc: qcom: minidump: Add null check for hdr_name before strcmp()" 2023-06-08 02:36:17 -07:00
Linyu Yuan
36f21fb23e usb: dwc3: msm: make qos operation simple
Move cpu_latency_qos_add_request() and cpu_latency_qos_remove_request()
into msm_dwc3_perf_vote_enable(), it will make qos function clean in
dwc3_otg_start_host() and dwc3_otg_start_peripheral().

Remove msm_dwc3_perf_vote_enable() from dwc3_otg_start_host() and
dwc3_otg_start_peripheral(), add it in dwc3_msm_resume() and
dwc3_msm_suspend(), it will allow same qos setting after resume from
cable connect suspend.

Change-Id: Ic0b999a29f89e7ba513320b13047c5422dc76c55
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
2023-06-08 15:47:26 +08:00
Taniya Das
a7716b8027 clk: qcom: clk-alpha-pll: Add support to be able to slew PLL
Few alpha PLLs would require to be able to slew in the same VCO mode, which
means the PLL would be able to update the new frequency L value without
turning it off. But to be support this feature the PLL needs to calibrated
at the mid of the VCO range and then enabled.

Add support for dynamic update in which the frequency can be changed
without turning off the PLL. and also Update list_register operation
to read the pll offset defined in PLL register map to avoid mismatch
alpha PLL.

Change-Id: Idbb374be8710cdcd80ab3c4ed57f89f00ed15d23
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
2023-06-08 13:00:27 +05:30
Tengfei Fan
e8101a7d9f defconfig: enable dcvs function for blair
Enable dcvs function for blair.

Change-Id: I0504e2b427b04a8bf2bebe6f29a449305ef1a20e
Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
2023-06-07 22:52:55 -07:00
Shubham Diwane
1687a4dccf dt-bindings: clock: Add support for clock ids for monaco_auto
Add clock IDs for CAMCC, DISPCC and GCC for clients to
be able to request for clocks from these clock controllers.

Change-Id: Idbc1a1b058da6a49ddab9f302e98c012825c747f
Signed-off-by: Veera Vegivada <quic_vvegivad@quicinc.com>
Signed-off-by: Shubham Diwane <quic_sanantad@quicinc.com>
2023-06-07 22:39:20 -07:00
Shubham Diwane
644a2f956b dt-bindings: clock: Add support for clock ids for LEMANS
Add clock IDs for CAMCC, DISPCC, GPUCC, VIDEOCC for clients to
be able to request for clocks from these clock controllers.

Change-Id: I57cbb0924dde80d922bf36d8b85a4b78443f3caf
Signed-off-by: Veera Vegivada <quic_vvegivad@quicinc.com>
Signed-off-by: Shubham Diwane <quic_sanantad@quicinc.com>
2023-06-08 11:05:58 +05:30
qctecmdr
840dd31cac Merge "qcom-iommu-util: Enhance qcom-iommu-util initcall level" 2023-06-07 22:35:34 -07:00
qctecmdr
56deca0b35 Merge "pinctrl: qcom: pineapple: enable egpio support" 2023-06-07 22:35:34 -07:00
qctecmdr
0a06cb37b0 Merge "msm: pcie: Remove usage of pr_alert()" 2023-06-07 22:35:32 -07:00
Tushar Nimkar
550830d86a soc: qcom: snapshot of rpm_master_stat driver
rpm_master_stat driver snapshot from msm-5.15 branch
'commit f7edae50ac2d ("drivers: soc: qcom: Add rpm_master_stat driver
snapshot")'.

Change-Id: I72bd56fba9e667321c05ce89f9df7d3c16e9c009
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
2023-06-08 10:07:05 +05:30