ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
stikonas has quit [Ping timeout: 268 seconds]
psydroid2 has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
Orac has quit [Quit: Was I really ever here?]
Danct12 has quit [Read error: Connection reset by peer]
Danct12 has joined #linux-rockchip
mort0 has joined #linux-rockchip
shoragan_ has joined #linux-rockchip
cp-- has joined #linux-rockchip
mriesch_ has joined #linux-rockchip
pnill_ has quit [*.net *.split]
shailangsa_ has quit [*.net *.split]
Net147_ has quit [*.net *.split]
anarsoul has quit [*.net *.split]
mriesch has quit [*.net *.split]
kilobyte_ch has quit [*.net *.split]
shoragan has quit [*.net *.split]
mort has quit [*.net *.split]
clarity has quit [*.net *.split]
cp- has quit [*.net *.split]
mort0 is now known as mort
clarity has joined #linux-rockchip
anarsoul has joined #linux-rockchip
pnill has joined #linux-rockchip
Net147 has joined #linux-rockchip
Net147 has quit [Changing host]
Net147 has joined #linux-rockchip
kilobyte_ch has joined #linux-rockchip
shailangsa has joined #linux-rockchip
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
lurchi__ has joined #linux-rockchip
lurchi_ has quit [Ping timeout: 268 seconds]
hl_ is now known as hl
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
repk_ has quit [Quit: WeeChat 3.5]
repk has joined #linux-rockchip
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
jelly-home is now known as jelly
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-rockchip
stikonas has joined #linux-rockchip
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
SallyAhaj has joined #linux-rockchip
SallyAhaj has left #linux-rockchip [#linux-rockchip]
hanetzer1 is now known as hanetzer
Rathann has joined #linux-rockchip
Rathann has quit [Quit: Leaving]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
<CounterPillow> macromorgan: in your rk817 charger, what are sleep enter current/sleep filter current, i.e. how would I set these if I wanted to test this out again on my Quartz64 A?
<macromorgan> honestly don't rememeber, let me check the datasheet again
<macromorgan> sorry, just woke up and need to finish my coffee
<macromorgan> the sleep filter current is used to determine when the battery is in relax mode.
<macromorgan> the sleep enter current is also used for that purpose, I suppose (they both are used to update relax mode registers)
<macromorgan> I *think* that is information that can be gathered from the datasheet of the battery?
<macromorgan> however if the battery chemistry is the same I think you can use the values that I am using for the OGA's battery
vagrantc has joined #linux-rockchip
<CounterPillow> alright
<macromorgan> the most important values to get right are the rockchip,resistor-sense-micro-ohms (which is design dependent on what resistor was built into your device), and then the charge current, charge voltage, and max voltage in the battery table
<macromorgan> if that resistor is missing I think the driver will not work right (at all) currently, but we might be able to salvage something once I get this driver approved
<macromorgan> which is to say we can at least to basic voltage checking for an extremely rough estimate of battery charge
<CounterPillow> thanks!
<macromorgan> also silly question, but do you have an unknown device on i2c1 of your rk3566?
<macromorgan> I have something on address 3c that I have no idea what it is (I didn't get schematics from Anbernic so I'm doing most of this blind)
<CounterPillow> how do I check?
<macromorgan> load the i2c-dev driver, then check with i2c-detect (part of i2c-tools)
<macromorgan> honestly i2c-tools was invaluable in writing both the battery and the audio driver for the rk817
<macromorgan> I think the code to check i2c1 would be "sudo i2c-detect -f 1"
<macromorgan> f means force and 1 for bus 1
<CounterPillow> I don't even have an i2c1 bus
<CounterPillow> so I guess that answers that
<CounterPillow> (yes I did modprobe the driver, i2c-0 and i2c-3 as well as i2c-6 are there)
psydroid2 has joined #linux-rockchip
psydroid2 has quit [Remote host closed the connection]
psydroid2 has joined #linux-rockchip
crabbedhaloablut has quit [Remote host closed the connection]
<macromorgan> you'll have to activate it in your devicetree
crabbedhaloablut has joined #linux-rockchip
<macromorgan> I'll probably just deactivate it in mine and put a note that "there's an unknown device at address 3c"
<macromorgan> also a bit more digging in the datasheet yesterday, it looks like the rk3566 does support 2 video outs, but only of the same framebuffer; is that similiar to what you have seen?
<macromorgan> the rk3568 can do 3 simultaneous video outs of up to 2 distinct framebuffers
crabbedhaloablut has quit [Write error: Connection reset by peer]
<macromorgan> aside from that I think the only other differences between the rk3568 and rk3566 is the combophy0 is not present, the ethernet0 is not present, none of the can busses are present, and the saradc only as 4 channels instead of 8
<macromorgan> ohh, and I think a lack of pcie 3.0 maybe (don't know, my device doesn't use it at all)
crabbedhaloablut has joined #linux-rockchip
<CounterPillow> yeah rk3566 only doing outputs of the same framebuffer is a known thing I think, it's one of the big differences of rk3566 vs. rk3568
shoragan_ is now known as shoragan
<CounterPillow> also yes the PCIe3 controller is not present on 66
<CounterPillow> there's also no CAN
<CounterPillow> ECC memory support is also not present, and the caches aren't ECC'd
<CounterPillow> oh you already mentioned CAN
lkcl- is now known as lkcl
<robmur01> macromorgan: judging by what's common in BSP DTs, possibly an is31fl3236 blindly copied from a reference design (or left over from some other design change)? The other 0x3c device that crops up there is a camera, so not that
<macromorgan> cool, so it's an LED driver then
<macromorgan> CounterPillow: That tells me we should probably put a restriction in the driver to really only allow 1 video port to be used for rk3566 and 2 video ports for rk3568 (even though there are 3 available)
psydroid2 has quit [Read error: Connection reset by peer]
psydroid3 has joined #linux-rockchip
<macromorgan> no, it's not that i2c led controller... not sure what it is
camus has quit [Ping timeout: 268 seconds]
<CounterPillow> ssd1306 i2c display? unlikely, but it does come up with a quick grep for reg = <0x3c>
<CounterPillow> another possibility is a maxim regulator
camus has joined #linux-rockchip
<CounterPillow> or an LTC3676
<macromorgan> nope, none of those either. I guess it'll remain a mystery...
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
Danct12 has quit [Read error: Connection reset by peer]
psydroid3 has quit [Remote host closed the connection]
loki_val has joined #linux-rockchip
crabbedhaloablut has quit [Ping timeout: 268 seconds]
stikonas has quit [Remote host closed the connection]