Commit Graph

12 Commits

Author SHA1 Message Date
72394b6690 thermal: Update copyright info for ADC_TM driver
Update copyright info for qpnp-adc-tm driver files.

Change-Id: I07a0846c0fdc6970e092b1d2d3fb741aef73b952
Signed-off-by: Archana Sriram <quic_c_apsrir@quicinc.com>
2021-11-16 15:07:32 +05:30
c57142fede thermal: Modify qpnp_adc_tm driver for IIO framework
Make changes to use IIO framework APIs for reading
ADC channel information instead of VADC APIs.

Change-Id: I70ab09905d0f4a23fb5d0617ba6d031ecc7fb8bc
Signed-off-by: Manjunatha Madana <mamanj@codeaurora.org>
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
2021-10-09 07:41:39 +05:30
14595b56e3 thermal: qpnp-adc: Add snapshot of qpnp-adc-tm driver
This is snapshot of qpnp-adc-tm  driver as of
msm-4.9 'commit 7e65e03259909 (Merge "msm: kgsl:
Deregister gpu address on memdesc_sg_virt failure")'.

Removed support for adc_tm_hc and hkadc_ldo as they
are not used for SPF targets. Removed IADC, VADC APIS,
structs and enums not needed for ADC_TM. VADC functions
required for sake of compilation have been retained,
which will be subsequently replaced with IIO functions
to suit msm-4.19.

Change-Id: If8e4fb03471ec045293659b2404f8be95684f8be
Signed-off-by: Manjunatha Madana <mamanj@codeaurora.org>
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
2021-10-08 07:02:23 -07:00
9995b02041 platform: qpnp-revid: Add REVID support for PM8010
Add PMIC subtype for PM8010.

Change-Id: I6e185be5db95687b06fa3b15e43c5f223622647b
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
2021-09-15 15:43:58 +05:30
955b3c66ca drivers: Update the PMIC drivers for PM660
Bring in all the required PMIC drivers for SDM660 on 4.19 kernel
and make the required changes to successfully build these drivers.
Snapshot of the new drivers are added from the below commits
and required cleanup has been addressed :

From 4.14 kernel commit: 68b7015e5
qcom-rradc.c, qcom-tadc.c, qpnp-fg-gen3.c, qpnp-smb2.c,
qpnp-misc.c, smb1351-charger.c, qpnp-misc.h

From 4.9 kernel commit: ad779e060
smb-lib.c, smb-lib.h, smb-reg.h, smb138x-charger.c

qpnp-fg-gen3.c - additional changes from 4.9 pulled in.
smb-lib.c - additional changes from 4.14 pulled in.

Change-Id: I1c59dc0f41706fb10de82ff6bd6707758d351fd2
Signed-off-by: Shilpa Suresh <sbsure@codeaurora.org>
2020-07-02 00:28:30 -07:00
fe15e8a30c platform: qpnp-revid: Add REVID support for PM6350, PMK8350 and PMR735B
Add PMIC subtype and revid details for PM6350, PMK8350 and PMR735B.

Change-Id: I08432528d8d5ff57244410e447d15c2953af5df0
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-02-07 13:05:47 +05:30
16be97cc43 platform: qpnp-revid: Add REVID support for PM2250
Add PMIC subtype and revid details for PM2250.
Remove subtype of PMI8937 as it is same as subtype
of PM2250 and is not used in this kernel version.

Change-Id: I64ad30101ab0e957bab52ac4dc6a464c1ab59739
Signed-off-by: Umang Chheda <uchheda@codeaurora.org>
2020-02-03 17:45:24 +05:30
c10c60d95d platform: qpnp-revid: Add REVID support for PM8008, SMB1355 and SMB1390
Add PMIC subtypes for PM8008, SMB1355 and SMB1390.

Change-Id: I03929a86686aa5e3affde1c7a208f29e1639aadd
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2019-10-04 19:23:11 +05:30
db653e149f platform: qpnp-revid: Add REVID support for PM6125
Add PMIC subtype and revid details for PM6125.

Change-Id: Ibd185198ba74e31a0c89f640e7de4fdb94f4157d
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2019-08-26 13:14:46 +05:30
26cc77df5a platform: qpnp-revid: Add REVID support for PM7250B
Add PMIC subtype and revid details for PM7250B.

Change-Id: I1d5f28b9130f00ec30ee9935914d847652cc7435
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
2019-04-30 14:40:08 +05:30
eb15eb3c5b soc: qcom: Add snapshot of QTI PBS driver
QTI PBS (Programmable Boot Sequence) driver helps triggering
certain PBS on QTI PMICs when available for APPS.

This snapshot is taken as of msm-4.14
commit 9bb584ae3a9d ("msm/sde/rotator: Add rev checks for sdmmagpie").

Change-Id: I25b6f7cb2bf1cad1413c4389cd2e77e021016b3f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2018-11-07 10:56:47 -08:00
757be87dc5 platform: msm: Add snapshot of QPNP_REVID driver
QPNP_REVID driver provides the PMIC revision, type and subtype
of every PMIC device to the peripheral drivers on request. This
is used by peripheral drivers to configure the hardware properly.

This is taken as a snapshot from msm-4.14 kernel
'commit 9bb584ae3a9d ("msm/sde/rotator: Add rev checks for sdmmagpie")'

Change-Id: Ieee794353be062104230e3e01c3b2c3b7a3d2c16
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2018-11-06 18:17:38 -08:00