mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
erg__ has joined #linux-rockchip
erg_ has quit [Ping timeout: 246 seconds]
<naoki> does anyone have nanopc-t6-rk3588? does adc_channel_single_shot() in SPL work?
erg__ has quit [Remote host closed the connection]
stikonas has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<naoki> ah
<naoki> &saradc {
<naoki> bootph-pre-ram;
<naoki> };
hexdump0815 has quit [Ping timeout: 248 seconds]
hexdump0815 has joined #linux-rockchip
<naoki> commit 9d23e48654620fdccfcc74cc2cef04eaf7353d07
<naoki> phy: rockchip: samsung-hdptx: Set drvdata before enabling runtime PM
<naoki> mmind00: I could not reproduce this problem after at that time, but it seems fix is in linux-next now :)
<Kwiboo-> naoki: yeah you probably need bootph-pre-ram and vdd-microvolts props and CONFIG_SPL_ADC=y, see https://github.com/u-boot/u-boot/commit/7cec3e701940064b2cfc0cf8b80ff24c391c55ec for a working example
<naoki> Kwiboo-: thank. it's working now :)
Kwiboo- has quit [Quit: .]
Kwiboo has joined #linux-rockchip
<naoki> Kwiboo: ROCK 5A and 5C can use same u-boot bin
<naoki> Kwiboo: ROCK 5B+ and 5T can use same u-boot bin too. about 5B... it seems BOARD ID pin(saradc_vin5) is not connected anywhere ;)
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
gnuiyl__ has quit [Quit: Leaving]
gnuiyl has joined #linux-rockchip
warpme has joined #linux-rockchip
ldevulder has joined #linux-rockchip
<naoki> usb_host2_xhci: usb@fcd00000 is unusable on u-boot
<naoki> scanning bus usb@fcd00000 for devices... cannot reset port 2!?
<naoki> I thought linux commit fbcbffbac994 ("phy: rockchip: naneng-combphy: fix phy reset") fixes this problem, but it doesn't fix this problem :(
<naoki> (btw I guess fbcbffbac994 should be applied on u-boot too)
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
franoosh has joined #linux-rockchip
<Kwiboo> naoki: usb is known to be semi-working in u-boot, for rk3588 I think I have only had it working first attempt, after a "usb stop" and "usb start" or "usb reset" cycle it may or may not be working and a full reset of soc could be needed
raster has joined #linux-rockchip
<Kwiboo> so I only ever test one time, then do a "reset" and test another port when I have done boot testing
<Kwiboo> some boards/socs do handle it better than others
<naoki> Kwiboo: usb_host0_xhci port, yes, I got reset error at 2nd reset, but it works well if it resets only once(just start)
<naoki> but usb_host2_xhci doesn't work at first start
<qschulz> naoki: are you sure it doesn't work? If I remember correctly I often get those messages but it still works soimehow
<naoki> qschulz: at least USB3 storage doesn't work (u-boot cannot find storage device)
<naoki> if I inserted UBS2 hub between on-board port and USB3 storage, it works
<qschulz> naoki: I can check in an hour or so, we also have this USB controller enabled on RK3588 Tiger + Haikou so I can check on it
<qschulz> naoki: just ping me in an hour :)
robmur01 has quit [Ping timeout: 246 seconds]
<qschulz> naoki: seems like it's working fine on master on RK3588 Tiger with Haikou
<qschulz> => usb reset
<qschulz> resetting USB...
<qschulz> Bus usb@fc800000: USB EHCI 1.00
<qschulz> Bus usb@fc840000: USB OHCI 1.0
<qschulz> Bus usb@fc880000: USB EHCI 1.00
<qschulz> Bus usb@fc8c0000: USB OHCI 1.0
<qschulz> Bus usb@fcd00000: Register 2000140 NbrPorts 2
<qschulz> Starting the controller
<qschulz> USB XHCI 1.10
<qschulz> Bus usb@fc400000: Register 2000140 NbrPorts 2
<qschulz> Starting the controller
<qschulz> USB XHCI 1.10
<qschulz> scanning bus usb@fc800000 for devices... 2 USB Device(s) found
<qschulz> scanning bus usb@fc840000 for devices... 1 USB Device(s) found
<qschulz> scanning bus usb@fc880000 for devices... 1 USB Device(s) found
<qschulz> scanning bus usb@fc8c0000 for devices... 1 USB Device(s) found
<qschulz> scanning bus usb@fcd00000 for devices... 1 USB Device(s) found
<qschulz> scanning bus usb@fc400000 for devices... 1 USB Device(s) found
<qschulz> scanning usb for storage devices... 1 Storage Device(s) found
<qschulz> => usb dev
<qschulz> IDE device 0: Vendor: USB Rev: 1.00 Prod: SanDisk 3.2Gen1
<qschulz> Type: Removable Hard Disk
<qschulz> Capacity: 29358.0 MB = 28.6 GB (60125184 x 512)
<naoki> qschulz: usb@fc800000 is EHCI. I want to see "usb tree"
<naoki> and what happen if you run "usb reset". I guess usb@fc400000 will be failed
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #linux-rockchip
<naoki> "Request For Good Cover Letter and Commit Messages"...
<qschulz> naoki: you're right, 480Mbps only
<naoki> (... btw I think I might be doing something unproductive... very minor corrections...)
<naoki> (submitting patches...)
<qschulz> naoki: submitting patches it not unproductive :D
<naoki> I hope so...
<naoki> submitted...
<naoki> I have patches for ROCK 5B/5B+/5T, but still waiting hardware and schematic :(
<naoki> there are some remaining things for ROCK 3 series...
naoki has quit [Quit: naoki]
eballetbo has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
psydroid has joined #linux-rockchip
psydroid2 has joined #linux-rockchip
psydroid2 has quit [Client Quit]
psydroid2 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery has joined #linux-rockchip
robmur01 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery1 is now known as kevery
<wens> I'm seeing "deferred probe timeout, ignoring dependency" on all PCIe devices on RK3588 (Orange Pi 5 Plus) on v6.13 next-20241203
<wens> anyone else see that? it's causing a delay in when my NVMe and ethernet ports appear, and causing fsck to fail
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qschulz> oh boy
<qschulz> gpiochip numbering isn't necessarily deterministic
<qschulz> root@jaguar-debos:~# gpiodetect
<qschulz> gpiochip0 [gpio0] (32 lines)
<qschulz> gpiochip1 [gpio1] (32 lines)
<qschulz> gpiochip2 [gpio2] (32 lines)
<qschulz> gpiochip3 [gpio4] (32 lines)
<qschulz> gpiochip4 [gpio3] (32 lines)
<qschulz> gpiochip5 [rk805-gpio] (3 lines)
<jakllsch> fun
<qschulz> (I added a pinctrl- nodes to gpio3)
robmur01 has quit [Remote host closed the connection]
robmur01 has joined #linux-rockchip
psydroid has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
raster has quit [Quit: Gettin' stinky!]
<wens> make it take aliases?
urja has quit [Read error: Connection reset by peer]
urja has joined #linux-rockchip
sL1pKn07 has quit [Remote host closed the connection]
sL1pKn07 has joined #linux-rockchip
psydroid2 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
psydroid has joined #linux-rockchip
stikonas has joined #linux-rockchip
warpme_ has joined #linux-rockchip
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
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-rockchip
vagrantc has joined #linux-rockchip
naoki has joined #linux-rockchip
<naoki> Capitalization VII
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
MyNetAz has quit [Read error: Connection reset by peer]
warpme_ has joined #linux-rockchip
MyNetAz has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
MyNetAz has quit [Remote host closed the connection]
MyNetAz has joined #linux-rockchip
MyNetAz has quit [Remote host closed the connection]
MyNetAz has joined #linux-rockchip
<naoki> I don't know well about how TF-A should work, but I'm using TF-A v2.12.0 for rk3588 with mainline U-Boot/Linux without problem
<naoki> "HDMIRX driver now only works with the opensource TF-A" I thought why but probably it's something difficult ;)