<xdarklight>
and I believe even your "precision" calculation is correct
<narmstrong>
Indeed now you have the same results !
<xdarklight>
I only think that "divider" isn't a divider but more of a "measurement length in us" - thus bigger values are giving higher precision (but that can lead to overflows in the measurer) while smaller values are given lower precision
<narmstrong>
xdarklight: thanks for debugging !
<narmstrong>
Yeah I also think so
<xdarklight>
I'll reply to the list - many thanks for your work on this :)
<narmstrong>
If it can help !! And it should help I think, you will be able to monitor the video clocks with this, which is cool
<xdarklight>
the video clocks are giving me 0
<xdarklight>
let me check
<xdarklight>
u-boot doesn't show values for the video clocks either
<xdarklight>
ah, that was on EC-100. Odroid-C1 shows video clocks :)
<xdarklight>
oh sweet: my work-in-progress video clock tree for Meson8b shows the same values as clkmsr
<xdarklight>
(at least for ENCP and HDMI_TX_PIXEL - VDAC is 0 according to clkmsr)
<chewitt>
xdarklight: did you have any further ideas about missing temp readings on GXBB ?
<xdarklight>
chewitt: not really. do you get a valid reading in u-boot and/or the stock kernel?
<chewitt>
it works fine in the 3.14 kernel
<chewitt>
no idea how to poke u-boot .. I still suck at u-boot
<xdarklight>
there was a weird get_temp or get_cpu_temp command IIRC
<xdarklight>
non-standard obviously ;)
<xdarklight>
chewitt: and can you throw in a printk("%s: val = %llx\n", __func__, le64_to_cpu(value)); right before the return 0 in scpi_sensor_get_value and give me the value?
<chewitt>
will do
<chewitt>
rebuilding..
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
ldevulder_ has quit [Ping timeout: 268 seconds]
<chewitt>
xdarklight: [ 31.695953] scpi_sensor_get_value: val = 5f6c6d61ffffffff
<xdarklight>
weird
<chewitt>
weird.. but means something
<chewitt>
or just weird :)
<chewitt>
?
<xdarklight>
what reading do you get from the 3.14 kernel?
<xdarklight>
~50 celsius?
<chewitt>
I have another GXBB device (WeTek Play 2) sat underneath the mainline box (WeTek Hub) and that's running 3.14 .. shows 50ºC