summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-16Revert "thermal-hal: Add thermal HAL 2.0 support for monaco"HEADuminekotachibana-mr1Jake Weinstein
Qualcomm picked "thermal-hal: Add support for hal specific configuration." 39ff74035adc9fe28715e7000e7fe48e8e2b5fe4 to LA.VENDOR.13.2.0, which duplicates these functions. Stick with the new upstream rather than old upstream. Monaco is a wearable chip, which we do not expect to support anyway. This reverts commit ffd812bff5dab55dad2cc4833f4c069fa67e005c. Change-Id: I9db8df14305819fbdaf755ace8ae7f2cf752e1ab
2023-05-07Merge tag 'LA.VENDOR.13.2.0.r1-15000-KAILUA.0' of ↵chrisl7
https://git.codelinaro.org/clo/la/platform/hardware/qcom/thermal into topaz LA.VENDOR.13.2.0.r1-15000-KAILUA.0 * tag 'LA.VENDOR.13.2.0.r1-15000-KAILUA.0' of https://git.codelinaro.org/clo/la/platform/hardware/qcom/thermal: thermal-hal: Add support for hal specific configuration. thermal_hal: Add support to handle CPUs with non-sequential core_ids thermal-hal: Add tsens,bcl configuration for kona thermal-hal: Add thermal HAL 2.0 support for KALAMA QCS, QCM thermal-hal: update cpu, vbat and socd sensor configurations for khaje thermal-hal: Add fan cdev type in thermal-hal support for Kalama HHG
2023-05-07thermal_hal: Add support to handle CPUs with non-sequential core_idsGopala Krishna Nuthaki
Some targets support to have only selected cpu cores enabled and in such cases, cpu ids will be in non-sequencial order. Update logic to maintain cpu list with cpu counter instead of cpu_id as list index. Change-Id: If249f1ee0d0e8f5f0a2240c22b4fcfb136be4026 Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com> Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-07thermal-hal: Enable thermal_hal support for yupik variantsGopala Krishna Nuthaki
Enabel thermal config support for yupik variants. Change-Id: I75a9b242cc77da3efc70974e427f76e65f3cf86c Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com> Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-18Merge 39ff74035adc9fe28715e7000e7fe48e8e2b5fe4 on remote branchLinux Build Service Account
Change-Id: Ie6132b14675be591fe288d74664440611d1024ac
2023-03-27thermal-hal: Add support for hal specific configuration.Nitesh Kumar
Add support for hal configuration to include CPU, GPU, and adc senosors. Change-Id: Id0f7cfa2b0eb9a3dec3aad30042fd8eb8d8baa65 Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2023-03-14thermal_hal: Add support to handle CPUs with non-sequential core_idsGopala Krishna Nuthaki
Some targets support to have only selected cpu cores enabled and in such cases, cpu ids will be in non-sequencial order. Update logic to maintain cpu list with cpu counter instead of cpu_id as list index. Change-Id: If249f1ee0d0e8f5f0a2240c22b4fcfb136be4026 Signed-off-by: Gopala Krishna Nuthaki <quic_gnuthaki@quicinc.com>
2023-03-09thermal-hal: Add support for parrot configurationNitesh Kumar
Add support for parrot configuration to include all SoC ids. Change-Id: I75f5ca3ee435874a8adaa0211646a4a7ae62c28c Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2023-03-09thermal-hal: Add support for ravelin configurationNitesh Kumar
Add support for ravelin configuration to include skin. Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2023-03-09thermal-hal: Add support for ravelin configurationPriyansh Jain
Add support for ravelin configuration to include all the CPU, GPU, skin, battery and BCL configurations. Change-Id: Ia954d932dd19cd207a214f472c87eb5c78ee1ec1 Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-03-09thermal-hal: Add support for anorak configuration.Nitesh Kumar
Add support for anorak configuration to include CPU, GPU, NPU, BCL and skin. Change-Id: Ie52be4e0daa027d31ca1b0ff07b0906307ce975e Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
2023-03-09thermal-hal: update skin temperature threshold for diwaliPriyansh Jain
update skin temperature threshold for diwali. Change-Id: I64cc99cb94d92d57070e3128926020c262f48d91 Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-03-09thermal-hal: Add fan cdev type thermal hal support for Anorakcongying
Add fan cooling device type thermal hal support for Anorak.
2023-03-09thermal-hal: add support for severity in HAL config for throttling thresholdPriyansh Jain
Add support to selectively configure thermal HAL severity for throttling threshold for any HAL config. Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-03-09thermal-hal: Add support for diwali variantsGopala Krishna Nuthaki
Add soc_id to enable hal 2.0 support for diwali variants. Change-Id: I942cdee6e3701a3ed27121c795aa52c00e37cb72
2023-03-09thermal-hal: Add support for parrot configurationPriyansh Jain
Add support for parrot configuration to include all the CPU, GPU, NSP, skin, battery and BCL configurations. Change-Id: I89b5eaa6293e0431f117d015fe20fae741a77911 Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-03-09thermal-hal: Add support for neo configurationPriyansh Jain
Add support for neo configuration to include all the CPU, GPU, NSP. Change-Id: Ie0e63def4e5456cd8c45593ba1d388f1af7ed051
2023-03-09thermal-hal: Update Ibat thresholds for diwailiMinghao Zhang
Change Ibat sensors into pm7250b-ibat-lvl0 and update its throt_thresh, shutdown_thresh and vr_thresh. Change-Id: Iafca728b305a3326eb60a11b1c43ba09ad43b528
2023-02-25thermal-hal: Update sensor name for skin config rule for MONACOGopala Krishna Nuthaki
Modify skin rule from quiet-therm sensor to pa-therm0 as respectibve ADC mapping is updated by pmic team. Add hal support for monaco variant. Change-Id: Ie3645fb7feef2e1f7904999069219eb6ccef29df Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-25thermal-hal: restart thermal hal serviceGopala Krishna Nuthaki
When thermal hal service first boots up, it can not parse some thermal zones' type from drivers' sysfs, like power supply, because these establish later than thermal hal service. So restart service post boot and ensure that it can initialize successfully. Change-Id: I838e584e5aad8f4d5d41a797b7bcdd497df9b294 Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-25thermal-hal: Add thermal HAL 2.0 support for talos and variantsMinghao Zhang
Add thermal HAL 2.0 support for talos and variants. Change-Id: Idd56b4dfd2441957914f7c6df301a19b50bbaed0 Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-25thermal-hal: Update thermal HAL 2.0 configs for SA8150PMinghao Zhang
1. Add a new map battery_bcl_cfg_disable_map to distinguish target socs need not battery and bcl config. 2. Update thermal HAL 2.0 configs for SA8150P. Change-Id: I086fcb5ee44c98e71e946f5d0bd164888f345a22 Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-25thermal-hal: Modify copyright markingsMinghao Zhang
Modify copyright markings for thermal file. Change-Id: Iae9cba2fcb2ef8b19ed22ceaec855e51c247e3de
2023-02-25thermal-hal: Add a fake temperature data for v2 APIsMinghao Zhang
In GKI builds, some thermal sensors may not be populated. With this case thermal hal2.0 will return error for v2 APIs. For compliance, return success with a dummy temperature data, in case sensors are not available. Change-Id: I5ab60aabc12b91ae30500eb9935c48f4f99dd75d
2023-02-25thermal-hal: Add thermal HAL 2.0 support for monacoManaf Meethalavalappu Pallikunhi
Add thermal HAL 2.0 support for monaco. Change-Id: I2e4c97718e851aa29cdb335c551d296248d065c4 Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-25thermal-hal: Add thermal HAL 2.0 support for blairManaf Meethalavalappu Pallikunhi
Add thermal HAL 2.0 support for blair target. It shares sensor configuration with holi. Change-Id: I1ae5e027b23f0391a7102ba3292366b456033a09 Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-25thermal-hal: Add thermal HAL 2.0 support for sdm845Gopala Krishna Nuthaki
Add thermal HAL 2.0 support for sdm845. Change-Id: If942a342ccca11c68c351b9b67326bf0198dbf6c Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-25thermal-hal: Add thermal HAL 2.0 support for sdm439 and variantsMinghao Zhang
Add thermal HAL 2.0 support for sdm439 and variants. Change-Id: Ia089986645ddfe4500a90a653c8ba2f6452e3c2a Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-25thermal-hal: cleanup libhidltransport from thermal halManaf Meethalavalappu Pallikunhi
The libhidltransport is deprecated. Remove libhidltransport reference from thermal hal. Change-Id: Ib03688abaecd445f81e115f13e130da7f6fd2be2 Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-02-14Merge "thermal-hal: update cpu, vbat and socd sensor configurations for khaje"qctecmdr
2023-02-14Merge "thermal-hal: Add thermal HAL 2.0 support for KALAMA QCS, QCM"qctecmdr
2023-01-13thermal-hal: Add tsens,bcl configuration for konaPriyansh Jain
Add support for kona target for tsens,bcl. Change-Id: I819b911d73e05cb4dbc88c912a4c7836c8dc0393 Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-01-10thermal-hal: Add thermal HAL 2.0 support for KALAMA QCS, QCMBhasker Reddy Komatireddy
Add thermal HAL 2.0 support for KALAMA QCS and QCM. Change-Id: I9386f963d8a4ba740ca8bf71bcde3c9ad85e71f9
2023-01-06thermal-hal: update cpu, vbat and socd sensor configurations for khajeManaf Meethalavalappu Pallikunhi
Update proper tsens mapping for silver cores for khaje. Also update BCL sensors like vbat and socd sensor configurations as well. Change-Id: I2855b3461922f3969fa30d34f71d81f0384163d6
2023-01-06Merge "thermal-hal: Add fan cdev type in thermal-hal support for Kalama HHG"qctecmdr
2023-01-03Merge 899d0cda00660be241bb3e7f790329f98e79a046 on remote branchLinux Build Service Account
Change-Id: I8329765d34ba9acf22e2dbe81cd074d12ca73368
2022-12-02thermal-hal: Enable support for different khaje variantsManaf Meethalavalappu Pallikunhi
Enable different khaje variants support for thermal-hal by adding soc id of those variants. Change-Id: I8c127896c10aa88bb157281ce4de8beeb3cb6a70
2022-12-02thermal-hal: Add fan cdev type in thermal-hal support for Kalama HHGcongying
Add fan cdev type in thermal-hal support for Kalama HHG. Change-Id: Ie65c43f79b7899b2b7b2e77cb074dbd67f6bd872 Signed-off-by: congying <quic_congying@quicinc.com>
2022-10-17Merge 75b5f1db952c1a883ddd4cccb55f546f30287674 on remote branchLinux Build Service Account
Change-Id: I8642be3c4e0a4d0a2b166cb31de0cf38ebc68c01
2022-09-20Merge 1d469b25dbe13958cd0bf1d96d34bad821389edb on remote branchLinux Build Service Account
Change-Id: I24bf3465fa904e66ab4598703df205969e8cb8b3
2022-09-13thermal-hal: Update copyright markingsPriyansh Jain
Update copyright markings as per latest marking recommendation. Change-Id: I5ad5f467bff9f1aa9c34affdd0850cd33a9b1513 Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-09-08Merge 7888701519c755d88bbb1bb7b072e3e375c16493 on remote branchLinux Build Service Account
Change-Id: I5c462aecbb6d64e0623f12d152ef6634c4417249
2022-09-07Merge "thermal-hal: Add CPU, GPU, bcl sensors for khaje"qctecmdr
2022-09-05thermal-hal: Add thermal HAL 2.0 support for KALAMA_SG and KALAMAP_SGcongying
Add thermal HAL 2.0 support for KALAMA_SG and KALAMAP_SG.
2022-09-01thermal-hal: Add CPU, GPU, bcl sensors for khajePriyansh Jain
Add CPU, GPU, Skin and BCL sensors for khaje. Change-Id: If41cd0474b68f7ddbeb01dbdd0fe46d06099ea70 Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-08-24Merge "thermal-hal: Update Kalama configuration for skin"qctecmdr
2022-08-15thermal-hal: Update Kalama configuration for skinRashid Zafar
Update skin configuration for Kalama to use different sensor name and threshold settings. Change-Id: I94cb49c4a05092938802600f1e32002d75e0fa96
2022-07-11Merge 92b7bbf0fe782c8772f53e40495ee0632842e2df on remote branchLinux Build Service Account
Change-Id: I3886753c450d80b8ae2ec6444ead11103cda6ec5
2022-06-30thermal-hal: update NPU sensor thresholds for kalamaManaf Meethalavalappu Pallikunhi
Update NPU sensors thresholds for kalama based on latest recommendation. Change-Id: I7ebd8b1884ed855fe5e8561b0ac84f5f4e4eee82
2022-06-24Merge ab1e3c58366864a0795dd1fff31d74a20c61a70d on remote branchLinux Build Service Account
Change-Id: Ib8df6e35ae3d6be4c85ee5d83312f3a99e4c8dcc