mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
naoki has quit [Quit: naoki]
stikonas has quit [Quit: Konversation terminated!]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
hanetzer has quit [Ping timeout: 256 seconds]
Hypfer0 has joined #linux-rockchip
Hypfer has quit [Ping timeout: 264 seconds]
Hypfer0 is now known as Hypfer
Hypfer0 has joined #linux-rockchip
Hypfer has quit [Ping timeout: 264 seconds]
Hypfer0 is now known as Hypfer
Hypfer5 has joined #linux-rockchip
Hypfer has quit [Ping timeout: 268 seconds]
Hypfer5 is now known as Hypfer
warpme has joined #linux-rockchip
franoosh has joined #linux-rockchip
franoosh has quit [Changing host]
franoosh has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erg_ has joined #linux-rockchip
franoosh has quit [Ping timeout: 252 seconds]
erg__ has joined #linux-rockchip
erg_ has quit [Ping timeout: 252 seconds]
shoragan_ is now known as shoragan
warpme has joined #linux-rockchip
erg__ has quit [Ping timeout: 264 seconds]
naoki has joined #linux-rockchip
ldevulder has joined #linux-rockchip
erg__ has joined #linux-rockchip
<naoki> is microSD card detection working on linux-next? it's not working on rock-5b
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<naoki> I can understand
<naoki> The sdmmc node already have a "&sdmmc_det" for pinctrl which switch the GPIO0A4 to sdmmc detect function, no need to define a separate "cd-gpios".
<naoki> this should be true
<naoki> but from my experience, it doesn't work as intended on many boards I have
lorenzb has quit [*.net *.split]
Whistler has quit [*.net *.split]
shoragan has quit [*.net *.split]
crabbedhaloablut has quit [*.net *.split]
arnd has quit [*.net *.split]
mmind00 has quit [*.net *.split]
mmind00 has joined #linux-rockchip
arnd has joined #linux-rockchip
shoragan has joined #linux-rockchip
Whistler has joined #linux-rockchip
crabbedhaloablut has joined #linux-rockchip
lorenzb has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<qschulz> naoki: this was a controversial patch series, and no I don't think Kever tested it
<qschulz> we had a long argument to patch things in U-Boot so that CD-less connectors could work
<naoki> broken-cd is for CD-less connector
<naoki> as you know, if both properties are not available, it works only when SD card is inserted before booting
raster has joined #linux-rockchip
stikonas has joined #linux-rockchip
<mmind00> naoki: just checked on my rock5b ... looks like you're correct ... sd-card removal and insert don't work on the 5b right now ... reverting the patch, resolves that
<naoki> I don't know why "&sdmmc_det" is not working. bug in driver?
stikonas has quit [Quit: Konversation terminated!]
<robmur01> sounds like the same thing I had with RK3399 5 years ago - I've forgotten the details now, but based on what I wrote in the patch I think it was more than just the usual runtime PM hilarity
warpme has joined #linux-rockchip
<mmind00> robmur01: do you have a link to said patch? ... I have this fleeting memory of having seen this issue as well, but everything is way foggy
<naoki> as far as I can remember, it's not only for RK3588
<qschulz> naoki: I know about broken-cd, but the SoC doesn't, so it switches to JTAG mode if the sdmmc_detect pin is in a specific state, some other pins are muxed in some SDMMC function AND the jtag_enable bitfield is set to 1
<mmind00> robmur01: "arm64: dts: rockchip: 'Fix' nanopi4 uSD card detect" found it
<mmind00> naoki: would you mind sending a revert for the commit switching to sd_detect?
<mmind00> (on the rk3588 boards)
erg__ has quit [Ping timeout: 260 seconds]
<robmur01> mmind00: yeah, that was the one
<robmur01> The RPM fun definitely breaks insertion detection, but on its own IIRC shouldn't affect the initial removal of a present-at-boot card
<naoki> well
<naoki> mmind00: I'll check it on rock-5a too, then make a patch for revert
Rathann has joined #linux-rockchip
Rathann has quit [Read error: Connection reset by peer]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rathann has joined #linux-rockchip
psydroid2 has joined #linux-rockchip
erg__ has joined #linux-rockchip
erg_ has joined #linux-rockchip
<naoki> hmm, xhci(lower USB3 port) doesn't work on mainline u-boot on rock-5a...
erg__ has quit [Ping timeout: 256 seconds]
dsimic has quit [Ping timeout: 268 seconds]
dsimic has joined #linux-rockchip
<naoki> poweroff doesn't work (does reboot) on rock-5a...
<naoki> why my todo list is growing...
Stat_headcrabed has joined #linux-rockchip
Rathann has quit [Read error: Connection reset by peer]
<qschulz> naoki: aren't the eMMC and SPI chips detected anyway? Why can't we have just one DTS for both with both enabled?
<naoki> qschulz: pinctrl doesn't work well (override previous configuration) e.g. when SPL is on SPI, it's booted from SPI. then, SPL try to load TF-A/U-Boot from SPI, but if eMMC is enabled, pinctrl is configured for eMMC, loading TF-A/U-Boot from SPI will be failed
<naoki> I'm not sure there is a way to probe SPI/eMMC to detect which module is mounted
warpme has joined #linux-rockchip
<naoki> I guess it's technically possible, but it needs a lot of things to do...
<qschulz> naoki: oh, it's the same pins for SPI and eMMC but in different mux?
<naoki> about RK3588"S", yes
<qschulz> naoki: ah dang. You could detect which medium was used to boot TPL and pass this info to later stages
<qschulz> naoki: then apply a DTBO in TPL for SPL or SPL for U-Boot proper, but yeah, it is technically possible, no clue if someone has done it already
<naoki> yeah...
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<Kwiboo> naoki: if I remember correctly after https://github.com/Kwiboo/u-boot-rockchip/commit/a0c1347fc0a5ebb1a5a106f6f1c8d683c3796718 all usb ports was working on my rock 5a in u-boot, possible otg regulator is missing in upstream DT
<naoki> Kwiboo: I could enable OTG port (USB3 upper port) as host port with some modification (w/o otg regulator...) to rk3588s-rock-5a-u-boot.dtsi
<naoki> lower USB3 port is not working :(
<Kwiboo> naoki: ahh, will re-test some time later, was sure all ports was working last time I tested it, but that may have been some time ago now or I misremember ;-)
<naoki> Kwiboo: vcc5v0_host need to be off?
<naoki> hmm, at least always-on is wrong? it can be off
warpme has joined #linux-rockchip
<Kwiboo> could have been dropping use of always-on that "fixed" use of usb port, has been the case on some boards I have tested
<Net147> I noticed on Rock 4 SE the serial output often shows garbage (usually when the sound is enabled), but when using Rock 4 C+ there are no issues. has anyone else observed the same?
<naoki> hmm, I still cannot enable lower port...
erg_ has quit [Changing host]
erg_ has joined #linux-rockchip
<naoki> "cannot reset port 2!?" :(
<naoki> Kwiboo: I'll try your patch
<naoki> oh?
<naoki> Kwiboo: you cannot use PCIE20_2/SASTA30_2/USB30_2 same time
<naoki> ok, I'm confusing. I'm going to bed now!
naoki has quit [Quit: naoki]
Stat_headcrabed has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raster has quit [Quit: Gettin' stinky!]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Livio has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
rah has left #linux-rockchip [#linux-rockchip]
wens has quit [*.net *.split]
wens has joined #linux-rockchip
stikonas has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Ping timeout: 260 seconds]
erg_ has quit [Ping timeout: 264 seconds]
System_Error has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
System_Error has quit [Remote host closed the connection]
warpme has joined #linux-rockchip
warpme has quit [Client Quit]
System_Error has joined #linux-rockchip
warpme has joined #linux-rockchip
chewitt has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
naoki has joined #linux-rockchip
Livio has quit [Ping timeout: 264 seconds]
ldevulder has quit [Quit: Leaving]
Livio has joined #linux-rockchip
Livio has quit [Ping timeout: 256 seconds]
System_Error has quit [Remote host closed the connection]
Rayyan has quit [Quit: bye!]
Rayyan has joined #linux-rockchip
System_Error has joined #linux-rockchip
abws has joined #linux-rockchip
manawyrm has quit [Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light)]
manawyrm has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery1 is now known as kevery
Rayyan has quit [Quit: bye!]
Rayyan has joined #linux-rockchip
Rayyan has quit [Quit: bye!]
Rayyan has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]