mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery has joined #linux-rockchip
kevery1 has quit [Ping timeout: 244 seconds]
stikonas has quit [Ping timeout: 240 seconds]
alpernebbi has quit []
alpernebbi has joined #linux-rockchip
<naoki> Kwiboo: how do you think this...
<naoki> I guess no one want it...
<naoki> Kwiboo: I'm trying to add E key to SATA board on ROCK 5A. I got "can't get the phy from DT" after "scsi scan"
<naoki> ah, for u-boot
<naoki> in rk3568.dtsi, phy-names = "sata-phy"; is in sata0: sata@fc000000 {}
<naoki> in rk3588s.dtsi, it's in sata0: sata@fe210000 { sata-port@0 {}; };
<naoki> adding phys/phy-names properties into sata0 {}...
<naoki> now E key to SATA is working with dirty hack...
<naoki> on ROCK 5A
<naoki> E key to SATA is working on ROCK 5B now...
<naoki> here is my brain-dead patches... https://github.com/RadxaNaoki/u-boot/commits/rock-stable
<Kwiboo> naoki: great, guess similar issue with SATA as with SPI, you can only have one of SATA or PCIe enabled on the M.2 slot
<naoki> yes, SATA or PCIE...
<naoki> for linux kernel, fdt overlay can be used. but, for u-boot...
<Kwiboo> btw, I was able to test pcie on 5A and nvme on 5B using device tree from top of sre rk3588 branch, see https://github.com/Kwiboo/u-boot-rockchip/commits/rk35xx-pcie-bifurcation-v1
<Kwiboo> having trouble sending out patches to u-boot mailing list for the pcie bifurcation support part, will have to re-send it again later
<Kwiboo> yeah, some kind of dt overlay for u-boot proper would be nice
crabbedhaloablut has joined #linux-rockchip
alpernebbi has quit [Ping timeout: 250 seconds]
alpernebbi has joined #linux-rockchip
_hramrach has quit [Ping timeout: 246 seconds]
Stat_headcrabed has joined #linux-rockchip
naoki has quit [Quit: naoki]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Danct12 has quit [Quit: A-lined: User has been AVIVA lined]
Danct12 has joined #linux-rockchip
vagrantc has joined #linux-rockchip
<sre> I guess ideally U-Boot could try to probe SATA and then either keep SATA or switch to PCIe based on device detection.
stikonas has joined #linux-rockchip
<Kwiboo> sre: yeah, that would be ideal, some auto detect feature
<Kwiboo> sre: In your "RK3588 PCIe3 support" series you mentioned that pcie phy driver is missing bifurcation feature, yet there is some bifurcation configuration going on based on the data-lanes property
kevery has quit [Ping timeout: 245 seconds]
kevery has joined #linux-rockchip
<Kwiboo> I have a U-Boot series that adds rk3588 pcie3 phy support based on the linux driver, do you think that the data-lanes handling is something that will need to change?
<Kwiboo> can only test the aggregated x4 mode on my rock 5b, guess code can always be updated/fixed once there is devices that use bifurcation :-)
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 246 seconds]
kevery1 is now known as kevery
crabbedhaloablut has quit []
naoki has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery1 is now known as kevery
<sre> Kwiboo: I guess I should have looked a bit more detailed. I only quickly skipped over it and noticed pcie30_phymode is unused. Looks like it is indeed supported and pcie30_phymode is just a leftover.
<Kwiboo> great, then I was not missing something, u-boot patches was sent earlier to bring pcie3 phy driver in sync with linux :-)
hanetzer has quit [Ping timeout: 260 seconds]
hanetzer has joined #linux-rockchip
hanetzer has quit [Ping timeout: 246 seconds]
hanetzer has joined #linux-rockchip