lkml.org 
[lkml]   [2023]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFT v2 3/3] drivers/thermal/rcar_gen3_thermal: add reading fuses for Gen4

> > + priv->ptat[0] = rcar_gen3_thermal_read(priv->tscs[0], REG_GEN4_THSFMON01) &
> > + GEN4_FUSE_MASK;
>
> s/REG_GEN4_THSFMON01/REG_GEN4_THSFMON16/
>
> According to the table in 13.3.3.4 of R-Car {S4,V4H} Hardware manuals:
>
> PTAT1 PTAT_PF_U_SR1 bits (of THSFMON16 register)
> PTAT2 PTAT_PF_R_SR1 bits (of THSFMON17 register)
> PTAT3 PTAT_PF_L_SR1 bits (of THSFMON15 register)
> THCODE1 THCODE_U_SR1 bits (of THSFMON01 register)
> THCODE2 THCODE_R_SR1 bits (of THSFMON02 register)
> THCODE3 THCODE_L_SR1 bits (of THSFMON00 register)

Oops, you are right, I mixed the two blocks :/ I'll send a fixed version
right away!

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-05-11 21:16    [W:0.054 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site