Re: [PATCH RFC v2 3/5] thermal: qcom: Add support for MBG thermal monitoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/30/2024 7:36 PM, Konrad Dybcio wrote:
On 30.12.2024 10:45 AM, Satya Priya Kakitapalli wrote:
On 12/13/2024 9:18 PM, Konrad Dybcio wrote:
On 12.12.2024 5:11 PM, Satya Priya Kakitapalli wrote:
Add driver for the MBG thermal monitoring device. It monitors
the die temperature, and when there is a level 1 upper threshold
violation, it receives an interrupt over spmi. The driver reads
the fault status register and notifies thermal accordingly.

Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@xxxxxxxxxxx>
---
[...]

+static const struct mbg_map_table map_table[] = {
Is this peripheral/pmic-specific?

Yes, peripheral specific.
Okay, I asked a question that I don't recall what I meant by.

To be clear, is this table specific to all instances of MBG on
different kinds of PMIC7, or does it only apply to PM8775
specifically?


No it is not specific to PM8775 pmic, it is specific to MBG peripheral.


+    /* minT    vtemp0    tc */
+    { -60000, 4337, 1967 },
+    { -40000, 4731, 1964 },
+    { -20000, 5124, 1957  },
+    { 0,      5515, 1949 },
+    { 20000,  5905, 1940 },
+    { 40000,  6293, 1930 },
+    { 60000,  6679, 1921 },
+    { 80000,  7064, 1910 },
+    { 100000, 7446, 1896 },
+    { 120000, 7825, 1878 },
+    { 140000, 8201, 1859 },
+};
Konrad




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux